powered by
Formats the coefficient matrix \(\hat{B}\) returned by capr() in a linear-regression style table, showing the estimate for each predictor and component.
capr()
# S3 method for capr print(x, digits = max(3L, getOption("digits") - 3L), ...)
The input object x, invisibly.
x
An object of class capr, typically the result of capr().
capr
Number of significant digits to show when printing numeric values.
Additional arguments passed on to print.data.frame().
print.data.frame()
simu.data <- simu.capr(seed = 123L, n = 120L) K <- 2L fit <- capr( S = simu.data$S, X = simu.data$X, K = K ) print(fit)
Run the code above in your browser using DataLab