R/location-class.R

# Copyright (c) 2024 Andrew Marx. All rights reserved.
# Licensed under AGPLv3.0. See LICENSE file in the project root for details.


#' location class
#'
#' Union class for location inputs
#'
#' The location class is a union class of the "numeric" and "character" classes.
#' Users generally do not need to worry about it except to know that any method
#' parameter with "location" as the type can have either an integer or a character
#' name provided as input.
#'
#' @export location

setClassUnion("location", c("numeric", "matrix", "character"))

Try the samc package in your browser

Any scripts or data that you put into this service are public.

samc documentation built on Oct. 31, 2024, 1:07 a.m.