Learn R Programming

chopin (version 0.9.4)

.check_character: Check the class of an input object

Description

This function checks the class of an input object and returns "raster" if it is a raster object, or "vector" if it is a vector object.

Usage

.check_character(input)

Value

A character string indicating the class of the input object ("raster" or "vector")

Arguments

input

The input object to be checked