ddim {TwoStepCLogit} | R Documentation |
Data Dimension Statistics
Description
Function that computes dimension statistics for a data set with clusters and strata
and its print
method.
Usage
ddim(formula, data)
## S3 method for class 'ddim'
print(x, ...)
Arguments
formula |
A formula object, with the response on the left of a |
data |
A data frame (or object coercible by as.data.frame to a data frame) containing the variables in the model. |
x |
An object, produced by the |
... |
Further arguments to be passed to |
Value
Sc |
The number of strata in each cluster. |
Ystat |
A data.frame with |
See Also
Examples
dimstat <- ddim(formula = Y ~ strata(Strata) + cluster(Cluster), data = bison)
dimstat