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() setup_dir() setup_production() setup_sandbox()

Create the Structure of a Directory and Fill with Content

fill_dir() fill_data() fill_resources() fill_forecasts() fill_fits() fill_models()

Fill a Portalcasting Directory with Basic Components

directory_settings() directory_files() directory_subdirectories() directory_resources() production_settings() sandbox_settings()

Create a Directory Settings List

write_directory_configuration() read_directory_configuration() update_directory_configuration()

Create, Update, and Read the Directory Configuration File

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

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()

Forecast Portal Rodents Models

portalcasting

Functions for Portalcasting (Forecasting Portal Rodents)

jags_logistic_competition() jags_logistic_competition_covariates() jags_logistic_covariates() 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

prepare_covariates() prepare_historic_covariates() prepare_forecast_covariates()

Prepare Covariate Data for Casting

prepare_moons() add_future_moons() forecast_future_moons()

Prepare Lunar Data for the Portalcasting Repository

prepare_dataset()

Prepare Rodents Data Tables for Forecasting

prepare_rodents()

Prepare Rodents Data for the Portalcasting Repository

prepare_metadata()

Prepare a Model-Running Metadata List

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

round_na.interp()

Round an Interpolated Series

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