R/ranef_labels.R

Defines functions ranef_labels

Documented in ranef_labels

#' Get the labels of the random effects of the model.
#' 
#' The function returns the labels of coefficients of the model.
#' Note. These labels are not identical to the term labels.
#' 
#' @param model a model object.
#' 
#' @return a named list of character vectors. 
#' 
#' @export
#' @keywords internal

ranef_labels <- 
function(model) 
{
  lapply(ranef(model), names)
}
hohenstein/remef documentation built on Jan. 26, 2020, 12:57 a.m.