[R] data frame handling

Lily_stats sundusc at gmail.com
Mon Aug 16 11:53:11 CEST 2010


Dear all, 

I have an xts object , t.xts with 4 columns: "v1" "DD1" "v2" "DD2" and
created a data frame :

t <- as.data.frame(t.xts)

I would like to extract data and create a new data frame for when the values
in column DD1 falls between 0 and 30 and extract the corresponding v1 value.

How can I do this?

Thanks.



-- 
View this message in context: http://r.789695.n4.nabble.com/data-frame-handling-tp2326617p2326617.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list