# NOT RUN {
data("admixed")
fit <- ggmix(x = admixed$xtrain, y = admixed$ytrain,
kinship = admixed$kin_train)
gicfit <- gic(fit)
# random effect at selected value of lambda
plot(ggmix::ranef(gicfit))
# random effects at specific values of lambda
head(ggmix::ranef(gicfit, s = c(0.1,0.2)))
# }
Run the code above in your browser using DataLab