validate_monthly: Validate monthly climate input

View source: R/primitives.R

validate_monthlyR Documentation

Validate monthly climate input

Description

Checks that input is a numeric vector of length 12.

Usage

validate_monthly(x, name = "input")

Arguments

x

The input to validate.

name

Name of the variable for error messages.

Value

Invisible NULL. Throws an error if validation fails.


xbioclim documentation built on Oct. 5, 2026, 5:08 p.m.