Learn R Programming

OpenRepGrid (version 0.1.12)

dim.repgrid: Return size of a grid.

Description

dim returns a numeric vector of length two containing the number of constructs and elements.

Usage

# S3 method for repgrid
dim(x)

Arguments

x

repgrid object.

Value

Numeric vector of length two with the number of constructs and elements.

See Also

getNoOfConstructs; getNoOfElements

Examples

Run this code
# NOT RUN {
     dim(bell2010)

# }
# NOT RUN {
# }

Run the code above in your browser using DataLab