powered by
Extract the regularization path of a PLNnetwork fit
coefficient_path(Robject, precision = TRUE, corr = TRUE)
an object with class PLNnetworkfamily, i.e. an output from PLNnetwork
PLNnetwork
a logical, should the coefficients of the precision matrix Omega or the covariance matrice Sigma be sent back. Default is TRUE.
TRUE
a logical, should the correlation (partial in case precision = TRUE) be sent back. Default is TRUE.
Send back a tibble/data.frame.
# NOT RUN { data(trichoptera) trichoptera <- prepare_data(trichoptera$Abundance, trichoptera$Covariate) fits <- PLNnetwork(Abundance ~ 1, data = trichoptera) head(coefficient_path(fits)) # }
Run the code above in your browser using DataLab