cor–methods | R Documentation |
S4 methods for function cor. These methods extract estimates of correlation matrices for the models fitted to Interval Data.
## S4 method for signature 'IdtNDE'
cor(x)
## S4 method for signature 'IdtSNDE'
cor(x)
## S4 method for signature 'IdtNandSNDE'
cor(x)
## S4 method for signature 'IdtMxNDE'
cor(x)
## S4 method for signature 'IdtMxSNDE'
cor(x)
x |
An object representing a model fitted to interval data. |
For the IdtNDE
, IdtSNDE
and IdtNandSNDE
methods or IdtMxNDE
, IdtMxSNDE
methods with slot “Hmcdt” equal to TRUE: a matrix with the estimated correlations.
For the IdtMxNDE
, and IdtMxSNDE
methods with slot “Hmcdt” equal to FALSE: a three-dimensional array with a matrix with the estimated correlations for each group at each level of the third dimension.
var
# Create an Interval-Data object containing the intervals for 899 observations
# on the temperatures by quarter in 60 Chinese meteorological stations.
ChinaT <- IData(ChinaTemp[1:8],VarNames=c("T1","T2","T3","T4"))
ChinaT_NE <- mle(ChinaT)
# Display correlation estimates
print(cor(ChinaT_NE))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.