1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114
|
useDynLib(rstan, .registration = TRUE)
# exportPattern("^[[:alpha:]]+")
importFrom("graphics", "hist", "lines", "mtext", "par", "points", "rect", "segments", "smoothScatter", "strheight", "strwidth", "text")
importFrom("grDevices", "devAskNewPage", "hcl", "rgb")
importFrom("stats", "acf", "aggregate", "density", "dnorm", "fft", "median", "optimHess", "pacf", "qbeta", "qnorm", "quantile", "reshape", "rnorm", "runif", "sd", "setNames", "var")
importFrom("utils", "apropos", "assignInMyNamespace", "capture.output", "download.file", "head", "menu", "object.size", "packageDate", "packageVersion", "read.csv", "relist", "select.list", "str", "tail", "unzip")
importFrom("stats4", summary, plot)
importFrom("inline", cxxfunction, getDynLib, getPlugin)
importFrom("pkgbuild", with_build_tools)
#importFrom("Rcpp", cpp_object_initializer)
importFrom("QuickJSR", JSContext)
import("methods")
import(Rcpp)
import(StanHeaders)
importFrom("gridExtra","arrangeGrob","grid.arrange")
import(ggplot2)
importFrom("loo", "loo", "loo_moment_match", "nlist")
export(
sbc,
stan_model,
stanc,
stanc_builder,
stan_version,
stan,
stan_rdump,
read_rdump,
makeconf_path,
sflist2stanfit,
read_stan_csv,
monitor,
lookup,
expose_stan_functions,
stan_demo,
rstan_options,
As.mcmc.list,
set_cppo,
stan_plot,
stan_trace,
stan_hist,
stan_dens,
stan_scat,
stan_ac,
stan_diag,
stan_par,
stan_rhat,
stan_ess,
stan_mcse,
rstan_gg_options,
rstan_ggtheme_options,
quietgg,
extract_sparse_parts,
rstan.package.skeleton,
cpp_object_initializer,
# get_rstan.options
check_hmc_diagnostics,
check_divergences,
check_treedepth,
check_energy,
get_divergent_iterations,
get_max_treedepth_iterations,
get_num_leapfrog_per_iteration,
get_num_divergent,
get_num_max_treedepth,
get_bfmi,
get_low_bfmi_chains,
get_rng,
get_stream,
RNG, OUT,
Rhat, ess_bulk, ess_tail,
loo,
loo_moment_match,
nlist
)
exportClasses(
stanmodel, stanfit
)
exportMethods(
# print, plot,
# extract,
optimizing, vb, gqs,
get_cppcode, get_cxxflags, # for stanmodel
show, sampling, summary, extract,
traceplot, plot, get_stancode, get_inits, get_seed, get_cppo_mode,
log_prob, grad_log_prob,
unconstrain_pars, constrain_pars, get_num_upars,
get_seeds,
get_adaptation_info,
get_sampler_params,
get_logposterior,
get_posterior_mean,
get_elapsed_time,
get_stanmodel
)
S3method(print, stanfit)
S3method(as.array, stanfit)
S3method(as.matrix, stanfit)
S3method(as.data.frame, stanfit)
S3method(is.array, stanfit)
S3method(dim, stanfit)
S3method(dimnames, stanfit)
S3method(names, stanfit)
S3method(`names<-`, stanfit)
S3method(pairs, stanfit)
S3method(loo, stanfit)
S3method(loo_moment_match, stanfit)
S3method(print, sbc)
S3method(plot, sbc)
S3method(`[`, simsummary)
|