View source: R/proficiency_tools.R
profpoly | R Documentation |
Creates a proficiency polygon in ggplot2 for showing assessment categories
profpoly(data)
data |
a data.frame produced by |
a ggplot2 object that can be printed or saved
geom_polygon
which this function wraps
grades<-c(3,4,5,6,7,8)
g <- length(grades)
LOSS <- rep(200, g)
HOSS <- rep(650, g)
basic <- c(320,350,370,390,420,440)
minimal <- basic-30
prof <- c(380,410,430,450,480,500)
adv <- c(480,510,530,550,580,600)
z <- profpoly.data(grades, LOSS, minimal, basic, proficient = prof,
advanced = adv, HOSS)
profpoly(z)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.