misc: Utility Functions

Description Usage Arguments Details Value Author(s) Examples

Description

Simple functions for regular data precessing tasks.

Usage

1
2
3
4
5
compass(x, fine = TRUE)

singleton(obj)

singletons(obj)

Arguments

x

numeric.

fine

logical.

obj

'VegsoupPartition' object.

Details

Function compass cuts numeric values of angular degrees into characters of the wind-rose. If called without arguments the functions reports the breakpoints an associated labels. singeltons is TRUE if any partition has only 1 member; singelton returns the index.

Value

character (compass) numeric (singelton) logical (singeltons)

Author(s)

Roland Kaiser

Examples

1
2
3
compass(c(0,220))
compass(22, fine = FALSE)
compass(22, fine = TRUE)

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