-
Notifications
You must be signed in to change notification settings - Fork 0
Description
Like dif_reports, this function has no required arguments. The function also combines two versions that depend on having different input, which is not user friendly. Let's re-write this function to either version 1 or version 2 below.
version 1:
dif.analysis is provided, the data and the no.dif.mod are passed by dif.analysis, and the user can optionally take the biased.items from dif.analysis.
version 2:
dif.data is provided, in which case no.dif.mod has to be computed (perhaps again) and the biased.items should be a numeric vector indicating the columns of item.data. There should be a helper function that pulls the biased.items from dif.analysis and formats them for input into dif_models, in case the user wants to use the output of dif.analysis for that purpose.
Please also update the documentation accordingly.