View source: R/dim.edsurvey.data.frame.R
dim.edsurvey.data.frame | R Documentation |
Returns the dimensions of an edsurvey.data.frame
or an
edsurvey.data.frame.list
.
## S3 method for class 'edsurvey.data.frame'
dim(x)
x |
an |
For an edsurvey.data.frame
, returns a
numeric vector of length two, with the first element being the number
of rows and the second element being the number of columns.
For an edsurvey.data.frame.list
, returns a list of length
two, where the first element is named nrow
and is a
numeric vector containing the number of rows for each element of the
edsurvey.data.frame.list
. The second element is named
ncol
and is the number of columns for each element.
This is done so that the nrow
and ncol
functions
return meaningful results, even if nonstandard.
Paul Bailey
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.