| getDimension | R Documentation |
Returns the dimension of an object.
getDimension(x, ...)
## S3 method for class 'BayesSpaceBasis'
getDimension(x, ...)
## S3 method for class 'BDataSplines'
getDimension(x, ...)
## S3 method for class 'matrix'
getDimension(x, ...)
## S3 method for class 'numeric'
getDimension(x, ...)
x |
the object |
... |
futher unused arguments for generic use |
an integer giving the number of dimensions of the object
getDimension(BayesSpaceBasis): returns number of elements in the basis
getDimension(BDataSplines): returns number of elements in the basis
getDimension(matrix): method for matrix returns number of columns
getDimension(numeric): method for numeric returns number of elements
getDimension(1:3)
getDimension(matrix(rnorm(10),ncol=2))
getDimension(B2N01Basis5)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.