loadings: Extract the summary table for the loadings

Description Usage Arguments Examples

Description

Extract the summary table for the loadings

Usage

1
2
3
4
5
6
7
8
9
loadings(x, ...)

## S3 method for class 'lvmfit'
loadings(x, level = 9, col = c("Estimate", "Std. Error",
  "Z-value", "P-value"), ...)

## S3 method for class 'lvm.missing'
loadings(x, level = 9, col = c("Estimate",
  "Std. Error", "Z-value", "P-value"), ...)

Arguments

x

a lvm model

value

should the name of the coefficient be returned? Else return the coefficients

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
m <- lvm()
regression(m) <- c(y1,y2,y3)~u
regression(m) <- u~x
latent(m) <- ~u
df <- sim(m,1e2)

fit <- estimate(m, df)

loadings(fit) 
loadings(fit, col = "P-value") 

bozenne/lava.penalty documentation built on May 13, 2019, 1:41 a.m.