Description Usage Arguments Value Author(s) Examples
View source: R/performance_tables.R
This function needs two vectors (person's abilities and items difficulties). With that information it will make a nice wright map
1 | grafi_wrightmap(persons.measure, items.measure, items.names, groups = 5)
|
persons.measure |
Person's abilities |
items.measure |
Item's difficulties |
items.names |
Item's names |
groups |
amounts of groups that the items are seperated |
a ggplot histogram of amount of people and a grapha of item difficulty
Juan Carlos Saravia
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | personas.data <- data.frame(personas=sort(round(rnorm(500, 0,1),3)))
items.data <- data.frame(
items_n = as.numeric(seq(1:36)),
items_g = ceiling(runif(36, 0, 5)),
items = sort(round(runif(36, -3,3),3)),
stringsAsFactors=F)
items.data <- cbind(items.data,
items_c = dplyr::if_else(items.data$items_n < 10,
paste("IT_EX",items.data$items_n, sep="_0"),
paste("IT_EX",items.data$items_n, sep="_")))
grafi_wrightmap(personas.data$personas,items.data$items,items.data$items_c)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.