profpoly {eeptools}R Documentation

Creates a proficiency polygon in ggplot2 for showing assessment categories

Description

Creates a proficiency polygon in ggplot2 for showing assessment categories

Usage

profpoly(data)

Arguments

data

a data.frame produced by profpoly.data

Value

a ggplot2 object that can be printed or saved

See Also

geom_polygon which this function wraps

Examples

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)

[Package eeptools version 1.2.5 Index]