Tung86 <wyutung <at> gmail.com> writes: > > Can anyone tell me what is skip=2, skip =7 and %in% mean here? > > fromcsv=read.csv > ('2_2005_top200_postdoc.csv',header=FALSE,skip=7,stringsAsFactors=FALSE)
Did you check the docs? skip integer: the number of lines of the data file to skip before beginning to read data. > fromreadxls = fromreadxls[fromreadxls$V7 %in% c('Public','Private'),] See the documentation of "match" Dieter ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.