Tidy Data and 'Geoms' for Bayesian Models


[Up] [Top]

Documentation for package ‘tidybayes’ version 1.0.4

Help Pages

A C D E F G H L M N P Q R S T U X

-- A --

add_draws Add draws to a data frame in tidy format
add_fitted_draws Add draws from the posterior fit, predictions, or residuals of a model to a data frame
add_fitted_samples Deprecated functions, arguments, and column names in tidybayes
add_linpred_draws Add draws from the posterior fit, predictions, or residuals of a model to a data frame
add_predicted_draws Add draws from the posterior fit, predictions, or residuals of a model to a data frame
add_predicted_samples Deprecated functions, arguments, and column names in tidybayes
add_residual_draws Add draws from the posterior fit, predictions, or residuals of a model to a data frame
apply_prototypes Decorate a model fit or sample with data types recovered from the input data
as_data_list Data lists for input into Bayesian models
as_data_list.character Data lists for input into Bayesian models
as_data_list.data.frame Data lists for input into Bayesian models
as_data_list.data_list Data lists for input into Bayesian models
as_data_list.default Data lists for input into Bayesian models
as_data_list.factor Data lists for input into Bayesian models
as_data_list.list Data lists for input into Bayesian models
as_data_list.logical Data lists for input into Bayesian models
as_data_list.numeric Data lists for input into Bayesian models
as_sample_data_frame Deprecated functions, arguments, and column names in tidybayes
as_sample_tibble Deprecated functions, arguments, and column names in tidybayes
axis_titles_bottom_left Simple, light ggplot2 theme for tidybayes

-- C --

combine_chains Combine the chain and iteration columns of tidy data frames of draws
compare_levels Compare the value of draws of some variable from a Bayesian model for different levels of a factor
compose_data Compose data for input into a Bayesian model

-- D --

data_list Data lists for input into Bayesian models
density_bins Density bins as data frames suitable for use with predict_curve

-- E --

extract_samples Deprecated functions, arguments, and column names in tidybayes

-- F --

facet_title_left_horizontal Simple, light ggplot2 theme for tidybayes
facet_title_right_horizontal Simple, light ggplot2 theme for tidybayes
fitted_draws Add draws from the posterior fit, predictions, or residuals of a model to a data frame
fitted_draws.brmsfit Add draws from the posterior fit, predictions, or residuals of a model to a data frame
fitted_draws.default Add draws from the posterior fit, predictions, or residuals of a model to a data frame
fitted_draws.stanreg Add draws from the posterior fit, predictions, or residuals of a model to a data frame
fitted_samples Deprecated functions, arguments, and column names in tidybayes
from_broom_names Translate between different tidy data frame formats for draws from distributions
from_ggmcmc_names Translate between different tidy data frame formats for draws from distributions

-- G --

gather_draws Extract draws of variables in a Bayesian model fit into a tidy data format
gather_emmeans_draws Extract a tidy data frame of draws of posterior distributions of "estimated marginal means" (emmeans/lsmeans) from a Bayesian model fit.
gather_emmeans_draws.default Extract a tidy data frame of draws of posterior distributions of "estimated marginal means" (emmeans/lsmeans) from a Bayesian model fit.
gather_emmeans_draws.emm_list Extract a tidy data frame of draws of posterior distributions of "estimated marginal means" (emmeans/lsmeans) from a Bayesian model fit.
gather_emmeans_samples Deprecated functions, arguments, and column names in tidybayes
gather_lsmeans_samples Deprecated functions, arguments, and column names in tidybayes
gather_pairs Gather pairwise combinations of values from key/value columns in a long-format data frame
gather_samples Deprecated functions, arguments, and column names in tidybayes
gather_terms Deprecated functions, arguments, and column names in tidybayes
gather_variables Gather variables from a tidy data frame of draws from variables into a single column
geom_eye Eye plots of densities with point and interval summaries (ggplot geom)
geom_eyeh Eye plots of densities with point and interval summaries (ggplot geom)
geom_halfeyeh Half-eye plots of densities with point and interval summaries (ggplot geom)
geom_interval Multiple probability interval plots (ggplot geom)
geom_intervalh Multiple probability interval plots (ggplot geom)
geom_lineribbon Line + multiple probability ribbon plots (ggplot geom)
geom_pointinterval Point + multiple probability interval plots (ggplot geom)
geom_pointintervalh Point + multiple probability interval plots (ggplot geom)
get_variables Get the names of the variables in a fitted Bayesian model
get_variables.default Get the names of the variables in a fitted Bayesian model
get_variables.mcmc Get the names of the variables in a fitted Bayesian model
get_variables.mcmc.list Get the names of the variables in a fitted Bayesian model
ggeye Deprecated functions, arguments, and column names in tidybayes

-- H --

hdci Point and interval summaries for tidy data frames of draws from distributions
hdi Point and interval summaries for tidy data frames of draws from distributions
histogram_bins Density bins as data frames suitable for use with predict_curve

-- L --

linpred_draws Add draws from the posterior fit, predictions, or residuals of a model to a data frame

-- M --

mean_hdci Point and interval summaries for tidy data frames of draws from distributions
mean_hdcih Point and interval summaries for tidy data frames of draws from distributions
mean_hdi Point and interval summaries for tidy data frames of draws from distributions
mean_hdih Point and interval summaries for tidy data frames of draws from distributions
mean_qi Point and interval summaries for tidy data frames of draws from distributions
mean_qih Point and interval summaries for tidy data frames of draws from distributions
median_hdci Point and interval summaries for tidy data frames of draws from distributions
median_hdcih Point and interval summaries for tidy data frames of draws from distributions
median_hdi Point and interval summaries for tidy data frames of draws from distributions
median_hdih Point and interval summaries for tidy data frames of draws from distributions
median_qi Point and interval summaries for tidy data frames of draws from distributions
median_qih Point and interval summaries for tidy data frames of draws from distributions
Mode Point and interval summaries for tidy data frames of draws from distributions
mode_hdci Point and interval summaries for tidy data frames of draws from distributions
mode_hdcih Point and interval summaries for tidy data frames of draws from distributions
mode_hdi Point and interval summaries for tidy data frames of draws from distributions
mode_hdih Point and interval summaries for tidy data frames of draws from distributions
mode_qi Point and interval summaries for tidy data frames of draws from distributions
mode_qih Point and interval summaries for tidy data frames of draws from distributions

-- N --

n_prefix Prefix function generator for composing dimension index columns

-- P --

parameters Deprecated functions, arguments, and column names in tidybayes
point_interval Point and interval summaries for tidy data frames of draws from distributions
point_interval.default Point and interval summaries for tidy data frames of draws from distributions
point_interval.numeric Point and interval summaries for tidy data frames of draws from distributions
point_intervalh Point and interval summaries for tidy data frames of draws from distributions
predicted_draws Add draws from the posterior fit, predictions, or residuals of a model to a data frame
predicted_draws.brmsfit Add draws from the posterior fit, predictions, or residuals of a model to a data frame
predicted_draws.default Add draws from the posterior fit, predictions, or residuals of a model to a data frame
predicted_draws.stanreg Add draws from the posterior fit, predictions, or residuals of a model to a data frame
predicted_samples Deprecated functions, arguments, and column names in tidybayes
predict_curve Deprecated: Prediction curves for arbitrary functions of posteriors
predict_curve_density Deprecated: Prediction curves for arbitrary functions of posteriors

-- Q --

qi Point and interval summaries for tidy data frames of draws from distributions

-- R --

recover_types Decorate a model fit or sample with data types recovered from the input data
residual_draws Add draws from the posterior fit, predictions, or residuals of a model to a data frame
residual_draws.brmsfit Add draws from the posterior fit, predictions, or residuals of a model to a data frame
residual_draws.default Add draws from the posterior fit, predictions, or residuals of a model to a data frame

-- S --

sample_draws Sample draws from a tidy-format data frame of draws
spread_draws Extract draws of variables in a Bayesian model fit into a tidy data format
spread_samples Deprecated functions, arguments, and column names in tidybayes
stat_interval Multiple probability interval plots (ggplot stat)
stat_intervalh Multiple probability interval plots (ggplot stat)
stat_lineribbon Line + multiple probability ribbon stat for ggplot
stat_pointinterval Point summary + multiple probability interval plots (ggplot stat)
stat_pointintervalh Point summary + multiple probability interval plots (ggplot stat)

-- T --

theme_tidybayes Simple, light ggplot2 theme for tidybayes
tidy-format-translators Translate between different tidy data frame formats for draws from distributions
tidybayes-deprecated Deprecated functions, arguments, and column names in tidybayes
tidybayes-models Models supported by tidybayes
tidy_draws Get a sample of posterior draws from a model as a tibble
tidy_draws.brmsfit Get a sample of posterior draws from a model as a tibble
tidy_draws.default Get a sample of posterior draws from a model as a tibble
tidy_draws.jagsUI Get a sample of posterior draws from a model as a tibble
tidy_draws.matrix Get a sample of posterior draws from a model as a tibble
tidy_draws.mcmc.list Get a sample of posterior draws from a model as a tibble
tidy_draws.MCMCglmm Get a sample of posterior draws from a model as a tibble
tidy_draws.runjags Get a sample of posterior draws from a model as a tibble
tidy_draws.stanfit Get a sample of posterior draws from a model as a tibble
tidy_draws.stanreg Get a sample of posterior draws from a model as a tibble
tidy_samples Deprecated functions, arguments, and column names in tidybayes
to_broom_names Translate between different tidy data frame formats for draws from distributions
to_ggmcmc_names Translate between different tidy data frame formats for draws from distributions

-- U --

ungather_draws Turn tidy data frames of variables from a Bayesian model back into untidy data
ungather_samples Deprecated functions, arguments, and column names in tidybayes
unspread_draws Turn tidy data frames of variables from a Bayesian model back into untidy data
unspread_samples Deprecated functions, arguments, and column names in tidybayes

-- X --

x_at_y Generate lookup vectors for composing nested indices