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

Popular posts from this blog

image - ClassNotFoundException when add a prebuilt apk into system.img in android -

I need to import mysql 5.1 to 5.5? -

Java, Hibernate, MySQL - store UTC date-time -