Partitioning {vegsoup} | R Documentation |
Retrieve the number of partitions (getK
),
the partitioning vector (partitioning
),
the number of samples per partition (partitions
),
create a matrix of memberships of plots to partitions (partitioningMatrix
),
or tabulate all possible combinations of partitions (partitioningCombinations
).
## S4 method for signature 'VegsoupPartition' getK(x) ## S4 method for signature 'VegsoupPartition' partitioning(x) ## S4 method for signature 'VegsoupPartition' partitions(x) ## S4 method for signature 'VegsoupPartition' partitioningMatrix(x) ## S4 method for signature 'VegsoupPartition' partitioningCombinations(x, collapse)
x |
|
collapse |
Character be be used as separator in dimnames. Only characters are
allowed that can be identified with |
partitioning |
returns the running partitioning vector. |
partitioningMatrix |
returns a |
partitioningCombinations |
returns a |
Roland Kaiser
require(vegsoup) data(barmstein) x <- VegsoupPartition(barmstein, k = 2) # number of partitions getK(x) # vector of assigments partitioning(x) # number of samples per partition partitions(x) # matrix of memberships partitioningMatrix(x) # matrix of possible combinations partitioningCombinations(x)