update_diffs: Uses student activity data to update item difficulties.

Description Usage Arguments Value

View source: R/update_diffs.R

Description

Uses student activity data to update item difficulties.

Usage

1
2
update_diffs(student_activity, priors = "tree", priorpath = NA,
  filepath = NA, numeric_sid = TRUE, plot = FALSE, verbose = TRUE)

Arguments

student_activity

List of dataframes returned by generate_activity()

priors

A string (nwea, tree, inhouse), to indicate which estimates to use as priors. Defaults to tree.

priorpath

If inhouse priors are used, provide path to csv containing these estimates.

filepath

a path and filename to write the updated difficulties to. ex: '/mypath/my_estimates.csv'

numeric_sid

Conditional indicating whether studentid is numeric or not. Default is TRUE

plot

TRUE if you want to print a plot showing change in difficulty. Default is FALSE.

verbose

Default is TRUE to print status updates.

Value

returns dataframe of updated difficulties or writes to a csv if filepath is not NA


kimjam/khanELO documentation built on May 20, 2019, 9:40 a.m.