r - extracting from dataset based on value -
i bit of newbie in r. if have dataset , extract based on value in dataset:
data<- read.csv(...) data name date id 1 2 3 4
if filter data based on value in date date = "05/31/2000". how do this?
data[data$date == as.date("05/31/2000"),] ,
assuming data$date
date
.
Comments
Post a Comment