Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 0 additions & 19 deletions R/stat_brms_model.R
Original file line number Diff line number Diff line change
@@ -1,22 +1,3 @@
#' Show brms model in ggplot layer
#'
#' @description
#' Add posterior predictive distribution from a brms model fit with \link{growthSS} and \link{fitGrowth}
#' to a ggplot object.
#'
#' @param mapping Set of aesthetic mappings created by \code{ggplot2::aes()}. If specified
#' and ‘inherit.aes = TRUE’ (the default), it is combined with the default mapping at the
#' top level of the plot. If there is no mapping then it is filled in by default using
#' the \code{ss} object.
#' @param data The data to be displayed in this layer. This behaves per normal ggplot2
#' expectations except that if data is missing (ie, not inherited or specified) then the
#' data from \code{ss} is used.
#' @param fit A brmsfit object, typically returned from \code{fitGrowth}.
#' @param ss A \code{pcvrss} object. Only the "pcvrForm" and "df" elements are used.
#' @param CI A vector of Credible Intervals to plot, defaults to 0.95.
#' @param inherit.aes Logical, should aesthetics be inherited from top level? Defaults to TRUE.
#' @param ... Additional arguments passed to ggplot2::layer.
#'
#' @import ggplot2
#' @rdname stat_growthss
#' @keywords ggplot
Expand Down
18 changes: 0 additions & 18 deletions R/stat_nlme_model.R
Original file line number Diff line number Diff line change
@@ -1,21 +1,3 @@
#' Show nlme/lme model in ggplot layer
#'
#' @description
#' Add predicted mean trendline from a nlme/lme model fit with \link{growthSS} and \link{fitGrowth}
#' to a ggplot object.
#'
#' @param mapping Set of aesthetic mappings created by \code{ggplot2::aes()}.
#' If specified and ‘inherit.aes = TRUE’ (the default),
#' it is combined with the default mapping at the top level of the plot.
#' If there is no mapping then it is filled in by default using the \code{ss} object.
#' @param data The data to be displayed in this layer.
#' This behaves per normal ggplot2 expectations except
#' that if data is missing (ie, not inherited or specified) then the data from \code{ss} is used.
#' @param fit A nlme/lme object, typically returned from \code{fitGrowth}.
#' @param ss A \code{pcvrss} object. Only the "pcvrForm" and "df" elements are used.
#' @param inherit.aes Logical, should aesthetics be inherited from top level? Defaults to TRUE.
#' @param ... Additional arguments passed to ggplot2::layer.
#'
#' @import ggplot2
#' @rdname stat_growthss
#' @keywords ggplot
Expand Down
18 changes: 0 additions & 18 deletions R/stat_nlrq_model.R
Original file line number Diff line number Diff line change
@@ -1,21 +1,3 @@
#' Show nls/lm model in ggplot layer
#'
#' @description
#' Add predicted mean trendline from a model fit with \link{growthSS} and \link{fitGrowth}
#' to a ggplot object.
#'
#' @param mapping Set of aesthetic mappings created by \code{ggplot2::aes()}. If specified
#' and ‘inherit.aes = TRUE’ (the default),
#' it is combined with the default mapping at the top level of the plot.
#' If there is no mapping then it is filled in by default using the \code{ss} object.
#' @param data The data to be displayed in this layer.
#' This behaves per normal ggplot2 expectations except
#' that if data is missing (ie, not inherited or specified) then the data from \code{ss} is used.
#' @param fit A brmsfit object, typically returned from \code{fitGrowth}.
#' @param ss A \code{pcvrss} object. Only the "pcvrForm" and "df" elements are used.
#' @param inherit.aes Logical, should aesthetics be inherited from top level? Defaults to TRUE.
#' @param ... Additional arguments passed to ggplot2::layer.
#'
#' @import ggplot2
#' @rdname stat_growthss
#' @keywords ggplot
Expand Down
17 changes: 0 additions & 17 deletions R/stat_nls_model.R
Original file line number Diff line number Diff line change
@@ -1,20 +1,3 @@
#' Show nls/lm model in ggplot layer
#'
#' @description
#' Add predicted mean trendline from a model fit with \link{growthSS} and \link{fitGrowth}
#' to a ggplot object.
#'
#' @param mapping Set of aesthetic mappings created by \code{ggplot2::aes()}.
#' If specified and ‘inherit.aes = TRUE’ (the default),
#' it is combined with the default mapping at the top level of the plot.
#' If there is no mapping then it is filled in by default using the \code{ss} object.
#' @param data The data to be displayed in this layer. This behaves per normal ggplot2 expectations
#' except that if data is missing (ie, not inherited or specified) then the data from \code{ss} is used.
#' @param fit A brmsfit object, typically returned from \code{fitGrowth}.
#' @param ss A \code{pcvrss} object. Only the "pcvrForm" and "df" elements are used.
#' @param inherit.aes Logical, should aesthetics be inherited from top level? Defaults to TRUE.
#' @param ... Additional arguments passed to ggplot2::layer.
#'
#' @import ggplot2
#' @rdname stat_growthss
#' @keywords ggplot
Expand Down
25 changes: 7 additions & 18 deletions man/stat_growthss.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading