alexanderrobitzsch / TAM

Test Analysis Modules
https://alexanderrobitzsch.github.io/TAM/
15 stars 9 forks source link

verbose argument doesn't turn off all output #18

Open mjcarroll1985 opened 2 years ago

mjcarroll1985 commented 2 years ago

Setting verbose = FALSE in tam.jml() doesn't turn off the text output for iterating between MLE/WLE estimation and Item parameter estimation - the values aren't printed, but the structural text is. It seems like this is because this structural text is produced using cat() statements in tam_jml_version2_calc_xsi() and tam_jml_wle(), but the control$progress option isn't passed to these functions. Could be fixed by passing control$progress to the functions and wrapping the cat() statements in if(progress).