Ajata Paul
2012-Feb-07 22:49 UTC
[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. -- View this message in context: http://r.789695.n4.nabble.com/How-to-figure-out-the-number-of-data-values-in-a-list-tp4366679p4366679.html Sent from the R help mailing list archive at Nabble.com.
Nordlund, Dan (DSHS/RDA)
2012-Feb-07 23:09 UTC
[R] How to figure out the number of data values in a list?
> -----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
R. Michael Weylandt <michael.weylandt@gmail.com>
2012-Feb-08 01:28 UTC
[R] How to figure out the number of data values in a list?
Also, this is the 3rd post in the last ~36 hours asking elementary questions about that data set and my homework senses are tingling. Perhaps a moratorium on them? M On Feb 7, 2012, at 6:09 PM, "Nordlund, Dan (DSHS/RDA)" <NordlDJ at dshs.wa.gov> wrote:> >> -----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 > > ______________________________________________ > R-help at 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.