All functions

NMME_urls()

URLs for the Northwest Knowledge Network's North American Multi-Model Ensemble (NMME) climate forecasts

add_lead_to_cast_tab() add_err_to_cast_tab() add_covered_to_cast_tab() add_obs_to_cast_tab()

Add the Associated Values to a Cast Tab

add_date_from_components()

Add a Date to a Table That has the Year, Month, and Day as Components

add_newmoonnumbers_from_dates()

Add a Newmoon Number Column to a Table that has a Date Column

ifnull() ifna()

Replace a Value with an Alternative if it is NULL or if it is NA

append_csv()

Save Data Out to a csv, Appending the File if it Already Exists

combine_hist_and_cast()

Combine a Historical Table and a Cast Table

covariate_models()

Create a covariate model list

create_dir()

Create the Structure of a Forecasting Directory

fill_dir() fill_data() fill_raw() fill_casts() fill_fits() fill_models()

Fill a Portalcasting Directory with Basic Components

setup_dir() setup_production() setup_sandbox()

Create and Fill a Forecasting Directory

write_directory_config() read_directory_config() update_directory_config()

Create, Update, and Read the Directory Configuration File

directory_settings()

Create a Directory Settings List

download_archive()

Download the Portal Predictions Repository Archive

download_climate_forecasts()

Download Climate Forecasts

ensemble_casts()

Combine (Ensemble) Casts

error_if_deep()

Error if a Function's Request is Deeper than can be Handled

evaluate_casts() evaluate_cast()

Evaluate Forecasts

file_ext() path_no_ext()

Determine a File's Extension or Remove the Extension from the File Path

foy()

Calculate the Fraction of the Year from a Date

jags_ss()

Run a single-species JAGS model

lag_covariates()

Lag covariate data

list_depth()

Determine the Depth of a List

match.call.defaults()

Argument Matching with Defaults

measure_cast_level_error()

Measure Error and Fit Metrics for Forecasts

message_break()

Produce a Horizontal Break Line for Messaging

messageq()

Optionally generate a message based on a logical input

models_to_cast()

Determine the Paths to the Scripts for Models to Cast with

na_conformer()

Conform NA entries to "NA" entries

named_null_list()

Create a Named Empty List

plot_cast_point()

Plot Predictions for a Given Point in Time Across Multiple Species

plot_cast_ts()

Visualize a Time Series Cast of a Species

plot_casts_cov_RMSE()

Plot the Forecast Coverage and RMSE

plot_casts_err_lead()

Plot the Forecast Error as a Function of Lead Time

portalcast() cast()

Cast Portal Rodents Models

portalcasting

Functions for Portalcasting (Forecasting Portal Rodents)

jags_logistic() jags_RW() AutoArima() NaiveArima() ESSS() nbGARCH() nbsGARCH() pevGARCH()

Functions for the prefab portalcasting models

prefab_datasets() prefab_dataset_controls()

Provide the Names or Controls for the Prefab Rodent Datasets

prefab_model_controls() prefab_models()

Provide the Names or Controls for the Prefab Models

prep_metadata()

Prepare a Model-Running Metadata List

prep_covariates() prep_historic_covariates() prep_forecast_covariates()

Prepare Covariate Data for Casting

prep_moons() add_future_moons() forecast_future_moons()

Prepare Lunar Data for the Portalcasting Repository

prep_dataset()

Prepare Rodents Data Tables for Forecasting

prep_rodents()

Prepare Rodents Data for the Portalcasting Repository

read_model_controls() model_controls() write_model_controls()

Read and Write Model Control Lists

read_dataset_controls() dataset_controls() write_dataset_controls()

Read and Write Rodent Dataset Control Lists

read_cast_tab() read_cast_tabs() read_cast_metadata() read_model_fit() read_model_cast()

Read in Cast Output From a Given Cast

read_casts_metadata()

Read in the Casts Metadata File

read_data() read_rodents_table() read_rodents() read_moons() read_covariates() read_forecast_covariates() read_historical_covariates() read_climate_forecasts() read_metadata()

Read in and Format a Portalcasting Data File

remove_incompletes()

Remove any Specific Incomplete Entries as Noted by an NA

return_if_null()

If a Value is NULL, Trigger the Parent Function's Return

rodent_species() all_species() base_species() eval_species()

Rodent species abbreviations

runjags_control()

Create a control list for a runjags JAGS model run

save_cast_output()

Save Cast Output to Files

select_casts()

Find Casts that Fit Specifications

is_sp_col() species_from_table()

Determine if Columns in a Table are Species Columns

update_list()

Update a List's Elements

write_data()

Save Data Out to a File and Return It Invisibly

write_model() model_template()

Write Model Function Script into Directory