Man pages for philpatton/cowbird
Recreate analysis in Patton et al (TBD)

add_covariateAdd the covariate level (e.g., habitat:forest) to the table
add_modelAdd the model type (observation, detection) to the table
add_parmAdd a latex style parameter name to the table
add_speciesAdd the species to the table
bundle_mcmc_samplesFunction to bundles mcmc samples into a list
calc_elppdCalculate elppd
calc_likelihood_cowbirdFunction to calculate the likelihood of the cowbird model
calc_likelihood_hostFunction to calculate the likelihood of the host model
calc_naive_state_cowbirdNaive occurrence state for the cowbird
calc_naive_state_hostNaive occurrence state for hosts
calc_pdwaicCalculate pdwaic
calc_site_likelihoodCalculate the likelihood of the detections at a site
calc_waicCalculate WAIC
check_all_modelsCheck all models
check_modelCheck a model
cooccur_probsGenerate co-occurrence plot data.frame
cowbird_dataDetection data for the Shiny Cowbird and its Puerto Rican...
effective_sample_sizeCalculate the effective sample size
evaluate_all_modelsFunction to estimate the WAIC for all three models model
evaluate_modelFunction to estimate the WAIC for a model
extract_coda_samplesExtract MCMC samples from fit_model for use in coda.
fit_all_modelsFit every cowbird-host co-occurrence model
fit_modelFit the cowbird-host co-occurrence models
gelman_rubinCalculate the gelman rubin statistic
get_all_parametersGenerates vector of the primary parameters
get_checking_parametersGenerates vector of parameter needed to do posterior...
get_evaluation_parametersGenerates vector of parameter needed to evaluate models
get_habitat_namesGet the names of the habitats
get_host_full_nameGet the full names of the host species
get_host_namesGet the abbreviated names of the host species
get_hyper_parametersGenerates vector of of the hyper parameters
get_mcmc_ciExtract the credible interval from the MCMC summary
get_mcmc_meanExtract the mean from the MCMC summary
get_oCreate matrix containing the visit covariates affecting the...
get_predicition_parametersGenerates vector of parameter used in model predictions
get_table1_parametersGenerates vector of parameters in the Table 1
get_table2_parametersGenerates vector of parameters in the Table 2
get_table3_parametersGenerates vector of parameters in the Table 3
get_vCreate matrix containing the site covariates affecting the...
get_wCreate matrix containing the site covariates affecting the...
get_xCreate matrix containing the host detections
get_yCreate matrix containing the cowbird detections
initialize_valuesInitialize values for MCMC
is_detectedDetermine if the species was detected
just_hostMake data.frame used in figure five
make_annotation_dfGenerate data.frame used in 'plot_ppc'
make_data_listMake a list of data for easy model fitting
make_figure_fiveGenerate Figure 5
make_figure_fourGenerate Figure 4
make_figure_threeGenerate Figure 3
make_figure_twoGenerate Figure 2
make_tableMake a table
make_table_oneMake table 1
make_table_threeMake table 3
make_table_twoMake table 2
multispecies_naive_stateNaive occurrence state for multiple species
plot_ppc_individualGenerate posterior predictive checking plots
ppc_tableTabulate results of posterior predictive check
save_figure_fiveSave Figure 5
save_figure_fourSave Figure 4
save_figure_threeSave Figure 3
save_ppcSave Figure 2
sites_with_bothMake data.frame used in figure four
sites_with_both_observedThe observed number of sites with cowbird and each host
sites_with_both_predictedThe predicted number of sites with cowbird and each host
summarize_mcmcSummarize the MCMC output
philpatton/cowbird documentation built on March 2, 2023, 3:05 a.m.