forked from bbolker/broom.mixed
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Set basic structure for all functions
- Loading branch information
Showing
3 changed files
with
85 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
#' Tidying methods for mixed effects models | ||
#' | ||
#' These methods tidy the coefficients of mixed effects models, particularly | ||
#' responses of the \code{HLfit} class | ||
#' | ||
#' @inheritParams glmmTMB_tidiers | ||
#' @param x An object of class \code{HLfit}, such as those from \code{fitme}, | ||
#' \code{HLfit}, or \code{corrHLfit} | ||
#' | ||
#' @return All tidying methods return a \code{tibble}. | ||
#' The structure depends on the method chosen. | ||
#' | ||
#' @name spaMM_tidiers | ||
#' @aliases tidy.HLfit | ||
#' | ||
#' @examples | ||
#' | ||
#' if (require("spaMM") && require("lme4")) { | ||
#' lmm1 <- lmer(Reaction ~ Days + (Days | Subject), sleepstudy) | ||
#' tidy(lmm1) | ||
#' augment(lmm1) | ||
#' glance(lmm1) | ||
#' } | ||
NULL | ||
|
||
#' @rdname spaMM_tidiers | ||
#' @export | ||
tidy.HLfit <- function(x, effects = c("ran_pars", "fixed"), ...) { | ||
message("method not yet implemented") | ||
} | ||
|
||
#' @rdname spaMM_tidiers | ||
#' @export | ||
augment.HLfit <- function(x, ...) { | ||
message("method not yet implemented") | ||
} | ||
|
||
#' @rdname spaMM_tidiers | ||
#' @export | ||
glance.HLfit <- function(x, ...) { | ||
message("method not yet implemented") | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.