summary.cve: Prints summary statistics of the L 'cve' component.

Description Usage Arguments Value Examples

View source: R/summary.R

Description

Prints a summary statistics of the L component of a cve object #' for k = min.dim, ..., max.dim.

Usage

1
2
## S3 method for class 'cve'
summary(object, ...)

Arguments

object

an object of class "cve", usually, a result of a call to cve or cve.call.

...

ignored.

Value

No return value, prints human readable summary.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
# create B for simulation
B <- rep(1, 5) / sqrt(5)

set.seed(21)
# create predictor data x ~ N(0, I_p)
x <- matrix(rnorm(500), 100)

# simulate response variable
#    y = f(B'x) + err
# with f(x1) = x1 and err ~ N(0, 0.25^2)
y <- x %*% B + 0.25 * rnorm(100)

# calculate cve for unknown reduction dimension.
cve.obj.simple <- cve(y ~ x)

summary(cve.obj.simple)

CVarE documentation built on March 11, 2021, 5:06 p.m.