1
0
mirror of https://github.com/msberends/AMR.git synced 2025-07-18 00:03:24 +02:00

import from graphics

This commit is contained in:
2018-03-13 15:40:10 +01:00
parent 53959d40c7
commit 46db3f7b13
4 changed files with 44 additions and 33 deletions

View File

@ -22,7 +22,8 @@ This transforms a vector to a new class \code{rsi}, which is an ordered factor w
rsi_data <- as.rsi(c(rep("S", 474), rep("I", 36), rep("R", 370)))
rsi_data <- as.rsi(c(rep("S", 474), rep("I", 36), rep("R", 370), "A", "B", "C"))
is.rsi(rsi_data)
plot(rsi_data)
plot(rsi_data) # for percentages
barplot(rsi_data) # for frequencies
\donttest{
library(dplyr)