R/ggsom_utils.R

Defines functions is.kohonen

Documented in is.kohonen

#' @title verifies that the object inherits kohonen object
#' @name is.kohonen
#' @author  Felipe Carvalho, \email{lipecaso@@gmail.com}
#' @references `Kohonen`package (https://CRAN.R-project.org/package=kohonen)
#'
#' @description if object inherits kohonen class return TRUE otherwise FALSE
#'
#' @import kohonen
#'
#' @param object_som object of Kohonen package
#' @return Boolean value
is.kohonen <- function(object_som) inherits(object_som, "kohonen")

Try the ggsom package in your browser

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

ggsom documentation built on March 26, 2020, 6:30 p.m.