Learn R Programming

robust (version 0.3-0)

print.covfm: Print Method

Description

The generic print method for objects of class "cov", "covRob", and "covfm".

Usage

## S3 method for class 'cov':
print(x, ...)
## S3 method for class 'covRob':
print(x, ...)
## S3 method for class 'covfm':
print(x, ...)

Arguments

x
an oject of class "cov", "covRob", or "covfm".
...
additional arguments to be passed to the print functions, for example digits.

Value

  • x is invisibly returned.

Side Effects

a short description of the object is displayed in the console.

See Also

print, cov, covRob, fit.models.

Examples

Run this code
data(woodmod.dat)
  woodmod.cov <- cov(woodmod.dat)
  print(woodmod.cov)

  woodmod.covRob <- covRob(woodmod.dat)
  print(woodmod.covRob)

  woodmod.fm <- fit.models(list(Robust = "covRob", Classical = "cov"), data = woodmod.dat)
  print(woodmod.fm)

Run the code above in your browser using DataLab