[R] how to view the top 20 lines in a long dataset
Gabor Grothendieck
ggrothendieck at gmail.com
Tue Nov 2 00:49:54 CET 2010
On Mon, Nov 1, 2010 at 3:40 PM, Louis Plough <lplough at usc.edu> wrote:
> Hi,
> I am simply looking for the function that will allow you to look at the top
> 20 lines of a long dataset?
>
> LP
Try this:
head(iris)
head(iris, 20)
View(iris)
--
Statistics & Software Consulting
GKX Group, GKX Associates Inc.
tel: 1-877-GKX-GROUP
email: ggrothendieck at gmail.com
More information about the R-help
mailing list