Correlations and Covariances Dialog Function
DESCRIPTION:
This function is used by the Correlations and Covarianced dialog.
USAGE:
menuCor(data, variables=names(data), cor.p=F, trim=0, cov.p=F,
na.method="fail", print.it=T, statistic="Correlations")
REQUIRED ARGUMENTS:
- data
-
data set of interest.
OPTIONAL ARGUMENTS:
- variables
-
variables for which to compute correlations.
- cor.p
-
deprecated argument. Use
statistic
instead.
- trim
-
trimming for correlations.
- cov.p
-
deprecated argument. Use
statistic
instead.
- na.method
-
character string indicating missing value method. See
cor
help file
for details.
- print.it
-
logical flag indicating whether to print the results.
- statistic
-
character string indicating whether to calculate
"Correlations"
or
"Covariances"
.
VALUE:
matrix of correlations or covariances.
SEE ALSO:
,
.