R/Class-VegsoupPartition.R

setClass("VegsoupPartition",
	representation(
	#	add specific slot for classes returned by method
	part = "numeric", # rename to partition
	partitioning.method = "character",
	k = "numeric"),   # drop slot and replace with getter method!
	validity = function (object) { all(names(partitioning(object)) == rownames(object)) },
	contains = c("Vegsoup")
)

Try the vegsoup package in your browser

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

vegsoup documentation built on Feb. 24, 2021, 3 a.m.