mirror of
https://github.com/msberends/AMR.git
synced 2025-07-17 09:03:14 +02:00
examples edit
This commit is contained in:
@ -23,13 +23,7 @@ This transforms a vector to a new class\code{mic}, which is an ordered factor wi
|
||||
\examples{
|
||||
mic_data <- as.mic(c(">=32", "1.0", "1", "1.00", 8, "<=0.128", "8", "16", "16"))
|
||||
is.mic(mic_data)
|
||||
|
||||
plot(mic_data)
|
||||
barplot(mic_data)
|
||||
|
||||
\donttest{
|
||||
library(dplyr)
|
||||
tbl \%>\%
|
||||
mutate_at(vars(ends_with("_mic")), as.mic)
|
||||
sapply(mic_data, is.mic)
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user