splmm (version 1.1.3)

print.splmm: Print a short summary of a splmm object.

Description

Prints a short summary of an 'splmm' object comprising information about the nonzero fixed-effects coefficients and the nonzero random effect variance components.

Usage

# S3 method for splmm
print(x, ...)

Arguments

x

a 'splmm' object

not used

Value

No return value, a print-out of a 'splmm' object's short summary is produced.

See Also

print.splmm

Examples

Run this code
# NOT RUN {
data(simulated_data)

set.seed(144)
fit = splmm(x=simulated_data$x,y=simulated_data$y,
z=simulated_data$z,grp=simulated_data$grp,
lam1=0.1,lam2=0.01, penalty.b="scad", penalty.L="scad")
print(fit)

# }
# NOT RUN {
data(cognitive)

x <- model.matrix(ravens ~schoolid+treatment+year+sex+age_at_time0
                  +height+weight+head_circ+ses+mom_read+mom_write
                  +mom_edu, cognitive)
z <- x

fit <- splmm(x=x,y=cognitive$ravens,z=z,grp=cognitive$id,lam1=0.1,
lam2=0.1,penalty.b="scad", penalty.L="scad")
print(fit)
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab