Skip to content

Commit

Permalink
reroxygenized
Browse files Browse the repository at this point in the history
  • Loading branch information
JWiley committed Mar 25, 2024
1 parent 7a77ab4 commit 2127813
Show file tree
Hide file tree
Showing 6 changed files with 97 additions and 3 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,4 @@ Encoding: UTF-8
LazyData: true
Config/testthat/edition: 3
VignetteBuilder: knitr
RoxygenNote: 7.2.3
RoxygenNote: 7.3.0
15 changes: 15 additions & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ export(meanDecompose)
export(meanDeviations)
export(nEffective)
export(omegaSEM)
export(ranefdata)
export(weighted.sma)
importFrom(JWileymisc,.quantilePercentiles)
importFrom(JWileymisc,APAStyler)
Expand All @@ -38,17 +39,30 @@ importFrom(JWileymisc,modelTest)
importFrom(JWileymisc,residualDiagnostics)
importFrom(JWileymisc,star)
importFrom(JWileymisc,testDistribution)
importFrom(brms,posterior_epred)
importFrom(cowplot,plot_grid)
importFrom(data.table,":=")
importFrom(data.table,as.data.table)
importFrom(data.table,copy)
importFrom(data.table,data.table)
importFrom(data.table,is.data.table)
importFrom(data.table,setnames)
importFrom(extraoperators,"%ain%")
importFrom(extraoperators,"%flipIn%")
importFrom(extraoperators,"%sle%")
importFrom(extraoperators,"%snin%")
importFrom(ggplot2,aes)
importFrom(ggplot2,annotate)
importFrom(ggplot2,coord_flip)
importFrom(ggplot2,geom_hex)
importFrom(ggplot2,geom_hline)
importFrom(ggplot2,geom_pointrange)
importFrom(ggplot2,ggplot)
importFrom(ggplot2,ggtitle)
importFrom(ggplot2,scale_fill_continuous)
importFrom(ggplot2,stat_smooth)
importFrom(ggplot2,theme)
importFrom(ggplot2,theme_classic)
importFrom(grDevices,dev.interactive)
importFrom(grDevices,devAskNewPage)
importFrom(lavaan,parameterEstimates)
Expand Down Expand Up @@ -98,6 +112,7 @@ importFrom(stats,sigma)
importFrom(stats,terms)
importFrom(stats,update)
importFrom(stats,var)
importFrom(testthat,expect_true)
importFrom(zoo,na.approx)
importFrom(zoo,na.locf)
importFrom(zoo,na.spline)
Expand Down
4 changes: 2 additions & 2 deletions R/ranef.r
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ ranef2long <- function(x, idvar) {
return(xlong)
}

#' @name Convert re.data() output to a dataset for plotting
#' Convert re.data() output to a dataset for plotting
#'
#' @param data A data.table object, long format random effects
#' @param var A character string, the name of the random effect to plot
Expand Down Expand Up @@ -69,7 +69,7 @@ ranef2long <- function(x, idvar) {
#' @importFrom testthat expect_true
#' @importFrom extraoperators %ain%
#' @importFrom ggplot2 ggplot aes annotate geom_hex geom_pointrange geom_hline ggtitle
#' @importFrom ggplot2 stat_smooth scale_fill_continuous theme_classic theme axis.text.y coord_flip
#' @importFrom ggplot2 stat_smooth scale_fill_continuous theme_classic theme coord_flip
#' @export
ranefdata <- function(object, usevars, newdata, idvar) {
intercept <- grepl("Intercept", usevars)
Expand Down
20 changes: 20 additions & 0 deletions man/dot-make.replotdat.Rd

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

28 changes: 28 additions & 0 deletions man/ranef2long.Rd

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

31 changes: 31 additions & 0 deletions man/ranefdata.Rd

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

0 comments on commit 2127813

Please sign in to comment.