R/regs_class.R

#' Regions class
#' 
#' @details The `regs` class contains: 
#' 
#' \itemize{
#' 
#' \item{A summary `data.table` which updates the `somsp` object with the region ids of all classification schemes
#' up to `nregions`. Each different classification scheme is stored as an individual region, e.g. `regions.2`, 
#' `regions.3`, etc.}
#' 
#' \item{A `data.table` with the original data set, as in `somsp`.}
#' }
#' 
#' It can be plotted by `plot` and `plot_ts`. 
#' If `plot` is used, three additional arguments are needed; a set with the classification schemes 
#' that will be ploted, number of rows and number of columns of the plotted panels.
#' `plot_ts` plots all the time series of a given classification scheme.
#' 
#' @seealso \code{\link{somsp}} 
#' @seealso \code{\link{somregs}} 
#' 
#' @export

regs <- list()
class(regs) <- "regs"

Try the somspace package in your browser

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

somspace documentation built on April 29, 2023, 1:11 a.m.