dim.edsurvey.data.frame: Dimensions of an edsurvey.data.frame or an...

Description Usage Arguments Value Author(s)

Description

Returns the dimensions of an edsurvey.data.frame or an edsurvey.data.frame.list.

Usage

1
2
## S3 method for class 'edsurvey.data.frame'
dim(x)

Arguments

x

an edsurvey.data.frame or an edsurvey.data.frame.list

Value

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 list 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.

Author(s)

Paul Bailey


EdSurvey documentation built on May 2, 2019, 7:30 a.m.