dim.Rd
Dimension of the ditribution
# S3 method for Distribution dim(x) # S3 method for Model dim(model)
x | Distribution |
---|
It is NULL
or an integer
.
The function dim
is an internal generic primitive functions. dim
has a method for distributions
,
which returns the dimension of the space over which the respective distribution is defined. Basically, it is the number of
random variables - the length of vector variables(this)
.
Distribution
: Dimension of a probability distribution
Model
: Dimension of the compositional model
#> [1] "A" "B"dim(Pi)#> [1] 2