Skip to content
Back to formatted view

Raw Message

Message-ID: <20050809075825.51170.qmail@web26607.mail.ukl.yahoo.com>
Date: 2005-08-09T07:58:25Z
From: alessandro carletti
Subject: more on vector vs array
In-Reply-To: <1123523872.30584.72.camel@ipc143004.lif.icnet.uk>

Ok, thanks,
I'll try with a simplier example:

I have a vector with 4 levels

dataframe 1
station   temp
aaa        12
aaa        13
bbb        12
bbb        20
aaa        23
bbb        21
ccc        30
ccc        18
ddd        15
aaa        11
ddd        15
ddd        10


and a thresholds vector

station    thr  
aaa         20
bbb         18
ccc         25
ddd         10


I vant to select from dataframe 1 each value (level by
level) > its own threshold value.
How to do it automatically? (vector temp and vector
thr have different length)

Thanks