R/mapInfo.R

Defines functions mapInfo

Documented in mapInfo

setClass("mapInfo",
		representation(coordinates = "matrix", 
				projection = "optionalCharacter", 
				parameters = "optionalNumeric", 
				orientation = "optionalNumeric"))

# note order: long, lat

mapInfo <- function(coordinates, projection = NULL, parameters = NULL, orientation = NULL) {
	new("mapInfo", coordinates = coordinates, projection = projection, parameters = parameters, orientation = orientation)
}


setClassUnion("optionalMapInfo", c("mapInfo","NULL"))

Try the unmarked package in your browser

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

unmarked documentation built on May 29, 2024, 2:18 a.m.