Skip to content
Back to formatted view

Raw Message

Message-ID: <F7E6D18CC2877149AB5296CE54EA276603802E@WAXMXOLYMB001.WAX.wa.lcl>
Date: 2012-02-07T23:09:47Z
From: Nordlund, Dan (DSHS/RDA)
Subject: How to figure out the number of data values in a list?
In-Reply-To: <1328654943127-4366679.post@n4.nabble.com>

> -----Original Message-----
> From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-
> project.org] On Behalf Of Ajata Paul
> Sent: Tuesday, February 07, 2012 2:49 PM
> To: r-help at r-project.org
> Subject: [R] How to figure out the number of data values in a list?
> 
> Hello,
> 
> I am working with the following data:
> 
> nb10 <- read.table("http://www.adjoint-functors.net/su/web/314/R/NB10")
> 
> I need to figure out how many data values are in this list.
> 

Maybe, 

nrow(nb10) ?

You might want to read the introductory manual that comes with every R installation.

Dan

Daniel J. Nordlund
Washington State Department of Social and Health Services
Planning, Performance, and Accountability
Research and Data Analysis Division
Olympia, WA 98504-5204