[R] select dataframe records

From: Pieter Provoost <pieterprovoost_at_gmail.com>
Date: Sun 24 Apr 2005 - 00:59:09 EST


Hi,

I'm reading some data from a file. The code below plots the all records in a barplot. How can I plot only records 5 to 10?

chldata <- read.table("test3.txt",header=TRUE) barplot(rev(chldata$chlorophyll),horiz=TRUE,names.arg=rev(chldata$depth))

Thanks in advance,
Pieter

        [[alternative HTML version deleted]]



R-help@stat.math.ethz.ch mailing list

https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Sun Apr 24 01:04:12 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:31:24 EST