View source: R/infer_catalog_format.R View source: R/infer_catalog_format.R
IsICAMSCatalog | R Documentation |
Check whether an R object contains one of the ICAMS catalog classes
Check whether an R object contains one of the ICAMS catalog classes
IsICAMSCatalog(object)
IsICAMSCatalog(object)
object |
An R object. |
A logical value.
A logical value.
# Create a matrix with all values being 1
object <- matrix(1, nrow = 96, ncol = 1,
dimnames = list(catalog.row.order$SBS96))
IsICAMSCatalog(object) # FALSE
# Use as.catalog to add class attribute to object
catalog <- as.catalog(object)
IsICAMSCatalog(catalog) # TRUE
# Create a matrix with all values being 1
object <- matrix(1, nrow = 96, ncol = 1,
dimnames = list(catalog.row.order$SBS96))
IsICAMSCatalog(object) # FALSE
# Use as.catalog to add class attribute to object
catalog <- as.catalog(object)
IsICAMSCatalog(catalog) # TRUE
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.