Skip to contents

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.