mirror of
https://github.com/msberends/AMR.git
synced 2025-07-09 22:22:03 +02:00
(v1.8.1.9010) random when pkg not loaded
This commit is contained in:
@ -15,21 +15,16 @@ NA_mic_
|
||||
|
||||
is.mic(x)
|
||||
|
||||
\method{droplevels}{mic}(
|
||||
x,
|
||||
exclude = if (any(is.na(levels(x)))) NULL else NA,
|
||||
as.mic = FALSE,
|
||||
...
|
||||
)
|
||||
\method{droplevels}{mic}(x, as.mic = FALSE, ...)
|
||||
}
|
||||
\arguments{
|
||||
\item{x}{a \link{character} or \link{numeric} vector}
|
||||
|
||||
\item{na.rm}{a \link{logical} indicating whether missing values should be removed}
|
||||
|
||||
\item{exclude}{factor levels which should be excluded from the result even if present, see \link[base:droplevels]{droplevels()}}
|
||||
|
||||
\item{as.mic}{a \link{logical} to indicate whether the \verb{<mic>} class should be kept, defaults to \code{FALSE}}
|
||||
|
||||
\item{...}{arguments passed on to methods}
|
||||
}
|
||||
\value{
|
||||
Ordered \link{factor} with additional class \code{\link{mic}}, that in mathematical operations acts as decimal numbers. Bare in mind that the outcome of any mathematical operation on MICs will return a \link{numeric} value.
|
||||
|
Reference in New Issue
Block a user