Arguments
data
a numeric matrix or data frame containing the data.
corr
a logical flag. If corr = TRUE then the estimated correlation matrix is computed.
center
a logical flag or a numeric vector of length p (where p is the number of columns of x) specifying the center. If center = TRUE then the center is estimated. Otherwise the center is taken to be 0.
distance
a logical flag. If distance = TRUE the Mahalanobis distances are computed.
na.action
a function to filter missing data. The default na.fail produces an error if missing values are present. An alternative is na.omit which deletes observations that contain one or more missing values.
unbiased
a logical flag. If unbiased = TRUE then an unbiased estimate of the covariance matrix is computed. If unbiased = FALSE then a maximum likelihood estimate is computed.