diff --git a/R/globals.R b/R/globals.R new file mode 100644 index 00000000..15ec0c88 --- /dev/null +++ b/R/globals.R @@ -0,0 +1,9 @@ +#' Prevent R CMD Check notes about missing global variables due to +#' dplyr mutates etc... +#' @noRd +utils::globalVariables(c("y", "year", "smooth_vals", "smooth_num", + "series", "season", "rowid", "row_number", + "nsp", "last_assim", "index", "in_interval", + "assimilated", "eval_horizon", "label", + "mod_call", "particles", "obs", "mgcv_model", + "param_name", "outcome", "mgcv_plottable")) diff --git a/R/portal_data.R b/R/portal_data.R new file mode 100644 index 00000000..c19cd54b --- /dev/null +++ b/R/portal_data.R @@ -0,0 +1,20 @@ +#' Portal Project rodent capture survey data +#' +#' A dataset containing timeseries of select rodent species captures in control plots from the Portal Project +#' +#' @format A dataframe containing the following fields: +#' \describe{ +#' \item{moon}{time of sampling in lunar cycles} +#' \item{DM}{Total captures of species DM} +#' \item{DO}{Total captures of species DO} +#' \item{DM}{Total captures of species PP} +#' \item{DM}{Total captures of species OT} +#' \item{year}{Sampling year} +#' \item{month}{Sampling month} +#' \item{mintemp}{Monthly mean minimum temperature} +#' \item{precipitation}{Monthly mean precipitation} +#' \item{ndvi}{Monthly mean Normalised Difference Vegetation Index} +#' } +#' @source \url{https://www.weecology.org/data-projects/portal/} +"portal_data" + diff --git a/data/portal_data.rda b/data/portal_data.rda new file mode 100644 index 00000000..69ac5e44 Binary files /dev/null and b/data/portal_data.rda differ diff --git a/docs/reference/portal_data.html b/docs/reference/portal_data.html new file mode 100644 index 00000000..b462fe0f --- /dev/null +++ b/docs/reference/portal_data.html @@ -0,0 +1,112 @@ + +Portal Project rodent capture survey data — portal_data • mvgam + Skip to contents + + +
+
+
+ +
+

A dataset containing timeseries of select rodent species captures in control plots from the Portal Project

+
+ +
+

Usage

+
portal_data
+
+ +
+

Format

+

A dataframe containing the following fields:

moon
+

time of sampling in lunar cycles

+ +
DM
+

Total captures of species DM

+ +
DO
+

Total captures of species DO

+ +
DM
+

Total captures of species PP

+ +
DM
+

Total captures of species OT

+ +
year
+

Sampling year

+ +
month
+

Sampling month

+ +
mintemp
+

Monthly mean minimum temperature

+ +
precipitation
+

Monthly mean precipitation

+ +
ndvi
+

Monthly mean Normalised Difference Vegetation Index

+ + +
+ + +
+ + +
+ + + + + + + diff --git a/docs/reference/sim_mvgam-1.png b/docs/reference/sim_mvgam-1.png new file mode 100644 index 00000000..ebfa56ed Binary files /dev/null and b/docs/reference/sim_mvgam-1.png differ diff --git a/docs/reference/sim_mvgam-2.png b/docs/reference/sim_mvgam-2.png new file mode 100644 index 00000000..3a7cb195 Binary files /dev/null and b/docs/reference/sim_mvgam-2.png differ diff --git a/man/portal_data.Rd b/man/portal_data.Rd new file mode 100644 index 00000000..ce539f94 --- /dev/null +++ b/man/portal_data.Rd @@ -0,0 +1,31 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/portal_data.R +\docType{data} +\name{portal_data} +\alias{portal_data} +\title{Portal Project rodent capture survey data} +\format{ +A dataframe containing the following fields: +\describe{ +\item{moon}{time of sampling in lunar cycles} +\item{DM}{Total captures of species DM} +\item{DO}{Total captures of species DO} +\item{DM}{Total captures of species PP} +\item{DM}{Total captures of species OT} +\item{year}{Sampling year} +\item{month}{Sampling month} +\item{mintemp}{Monthly mean minimum temperature} +\item{precipitation}{Monthly mean precipitation} +\item{ndvi}{Monthly mean Normalised Difference Vegetation Index} +} +} +\source{ +\url{https://www.weecology.org/data-projects/portal/} +} +\usage{ +portal_data +} +\description{ +A dataset containing timeseries of select rodent species captures in control plots from the Portal Project +} +\keyword{datasets}