Skip to content
Open
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
2 changes: 2 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Auto detect text files and perform LF normalization
* text=auto
4 changes: 2 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ Imports:
posterior,
rstan (>= 2.32.0),
rstantools (>= 2.1.0),
shinystan (>= 2.3.0),
stats,
survival (>= 2.40.1),
RcppParallel (>= 5.0.1),
Expand All @@ -62,6 +61,7 @@ Suggests:
mgcv (>= 1.8-13),
rmarkdown,
roxygen2,
shinystan (>= 2.3.0),
StanHeaders (>= 2.21.0),
testthat (>= 1.0.2),
gamm4,
Expand All @@ -76,4 +76,4 @@ UseLTO: true
NeedsCompilation: yes
URL: https://mc-stan.org/rstanarm/, https://discourse.mc-stan.org
BugReports: https://github.com/stan-dev/rstanarm/issues
RoxygenNote: 7.3.3
Config/roxygen2/version: 8.1.0
183 changes: 102 additions & 81 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ S3method(get_y,stanmvreg)
S3method(get_z,lmerMod)
S3method(get_z,stanmvreg)
S3method(kfold,stanreg)
S3method(launch_shinystan,stanreg)
S3method(log_lik,stanjm)
S3method(log_lik,stanmvreg)
S3method(log_lik,stanreg)
Expand Down Expand Up @@ -87,6 +86,7 @@ S3method(residuals,stanmvreg)
S3method(residuals,stanreg)
S3method(se,stanmvreg)
S3method(se,stanreg)
S3method(shinystan::launch_shinystan,stanreg)
S3method(sigma,stanmvreg)
S3method(sigma,stanreg)
S3method(summary,stanmvreg)
Expand Down Expand Up @@ -190,95 +190,116 @@ export(student_t)
export(waic)
if(getRversion()>='3.3.0') importFrom(stats, sigma) else
importFrom(lme4,sigma)
if(getRversion()>='3.3.0') importFrom(stats, sigma) else
importFrom(lme4,sigma)

import(Rcpp)
import(bayesplot)
import(methods)
import(rstantools)
import(shinystan)
import(stats)
importFrom(Matrix,Matrix)
importFrom(Matrix,t)
importFrom(Matrix,
Matrix,
t
)
importFrom(RcppParallel,RcppParallelLibs)
importFrom(bayesplot,pairs_condition)
importFrom(bayesplot,pairs_style_np)
importFrom(ggplot2,"%+replace%")
importFrom(ggplot2,aes)
importFrom(ggplot2,aes_)
importFrom(ggplot2,aes_string)
importFrom(ggplot2,coord_cartesian)
importFrom(ggplot2,element_line)
importFrom(ggplot2,element_text)
importFrom(ggplot2,expand_limits)
importFrom(ggplot2,facet_wrap)
importFrom(ggplot2,geom_contour)
importFrom(ggplot2,geom_line)
importFrom(ggplot2,geom_point)
importFrom(ggplot2,geom_pointrange)
importFrom(ggplot2,geom_ribbon)
importFrom(ggplot2,geom_segment)
importFrom(ggplot2,geom_smooth)
importFrom(ggplot2,geom_step)
importFrom(ggplot2,geom_vline)
importFrom(ggplot2,ggplot)
importFrom(ggplot2,ggplot_build)
importFrom(ggplot2,labs)
importFrom(ggplot2,rel)
importFrom(ggplot2,scale_color_gradient2)
importFrom(ggplot2,scale_x_continuous)
importFrom(ggplot2,scale_x_discrete)
importFrom(ggplot2,theme)
importFrom(ggplot2,theme_bw)
importFrom(ggplot2,xlab)
importFrom(lme4,fixef)
importFrom(lme4,glFormula)
importFrom(lme4,glmer)
importFrom(lme4,glmerControl)
importFrom(lme4,lmer)
importFrom(lme4,lmerControl)
importFrom(lme4,mkVarCorr)
importFrom(lme4,ngrps)
importFrom(lme4,nlformula)
importFrom(lme4,nlmer)
importFrom(lme4,nlmerControl)
importFrom(lme4,ranef)
importFrom(loo,is.kfold)
importFrom(loo,is.loo)
importFrom(loo,is.waic)
importFrom(loo,kfold)
importFrom(loo,loo)
importFrom(loo,loo.function)
importFrom(loo,loo.matrix)
importFrom(loo,loo_compare)
importFrom(loo,loo_model_weights)
importFrom(loo,psis)
importFrom(loo,waic)
importFrom(loo,waic.function)
importFrom(loo,waic.matrix)
importFrom(bayesplot,
pairs_condition,
pairs_style_np
)
importFrom(ggplot2,
"%+replace%",
aes,
aes_,
aes_string,
coord_cartesian,
element_line,
element_text,
expand_limits,
facet_wrap,
geom_contour,
geom_line,
geom_point,
geom_pointrange,
geom_ribbon,
geom_segment,
geom_smooth,
geom_step,
geom_vline,
ggplot,
ggplot_build,
labs,
rel,
scale_color_gradient2,
scale_x_continuous,
scale_x_discrete,
theme,
theme_bw,
xlab
)
importFrom(lme4,
fixef,
glFormula,
glmer,
glmerControl,
lmer,
lmerControl,
mkVarCorr,
ngrps,
nlformula,
nlmer,
nlmerControl,
ranef
)
importFrom(loo,
is.kfold,
is.loo,
is.waic,
kfold,
loo,
loo.function,
loo.matrix,
loo_compare,
loo_model_weights,
psis,
waic,
waic.function,
waic.matrix
)
importFrom(nlme,VarCorr)
importFrom(posterior,as_draws)
importFrom(posterior,as_draws_array)
importFrom(posterior,as_draws_df)
importFrom(posterior,as_draws_list)
importFrom(posterior,as_draws_matrix)
importFrom(posterior,as_draws_rvars)
importFrom(posterior,
as_draws,
as_draws_array,
as_draws_df,
as_draws_list,
as_draws_matrix,
as_draws_rvars
)
importFrom(reformulas,findbars)
importFrom(rstan,constrain_pars)
importFrom(rstan,extract)
importFrom(rstan,extract_sparse_parts)
importFrom(rstan,get_posterior_mean)
importFrom(rstan,optimizing)
importFrom(rstan,sampling)
importFrom(rstan,stanc)
importFrom(rstan,vb)
importFrom(rstantools,loo_R2)
importFrom(rstantools,nsamples)
importFrom(stats,cov2cor)
importFrom(stats,getInitial)
importFrom(rstan,
constrain_pars,
extract,
extract_sparse_parts,
get_posterior_mean,
optimizing,
sampling,
stanc,
vb
)
importFrom(rstantools,
loo_R2,
nsamples
)
importFrom(stats,
cov2cor,
getInitial
)
importFrom(survival,Surv)
importFrom(utils,capture.output)
importFrom(utils,head)
importFrom(utils,packageVersion)
importFrom(utils,tail)
importFrom(utils,
capture.output,
head,
packageVersion,
tail
)
importMethodsFrom(rstan,summary)
useDynLib(rstanarm, .registration = TRUE)
4 changes: 1 addition & 3 deletions R/doc-rstanarm-package.R
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,12 @@
#' @useDynLib rstanarm, .registration = TRUE
#'
#' @import methods
#' @importFrom rstan optimizing sampling vb constrain_pars extract
#' extract_sparse_parts get_posterior_mean stanc
#' @importFrom rstan optimizing sampling vb constrain_pars extract extract_sparse_parts get_posterior_mean stanc
#' @importFrom utils capture.output
#' @importFrom RcppParallel RcppParallelLibs
#' @import stats
#' @import Rcpp
#' @import bayesplot
#' @import shinystan
#' @import rstantools
#' @export log_lik posterior_linpred posterior_epred posterior_predict posterior_interval
#' @export predictive_interval predictive_error prior_summary bayes_R2
Expand Down
Loading
Loading