minimum {LabApplStat} | R Documentation |
Minimum between factors
Description
minimum
finds the minimum of two factors, i.e. the finest factors that is coarser than both of the factors.
Usage
minimum(x, y, concatenate.names = TRUE)
Arguments
x |
vector that will be interpreted as a factor. |
y |
vector that will be interpreted as a factor. |
concatenate.names |
boolean. If |
Value
A factor with the minimum.
Author(s)
Bo Markussen
Examples
x <- rep(c("boy","girl","adult","adult"),4)
y <- rep(c("child","child","man","woman"),4)
minimum(x,y)
minimum(x,y,FALSE)
[Package LabApplStat version 1.4.4 Index]