cluster_gen and questionnaire_gen are two functions that contain lots of parameters which default to NULL. This is fine here and there, but too much of it can be a bit polluting. An alternative would be to not use default values and replacing is.null() calls with missing(). The problem with this approach is that it confuses the user about which arguments are mandatory and which aren't.
cluster_gen
andquestionnaire_gen
are two functions that contain lots of parameters which default toNULL
. This is fine here and there, but too much of it can be a bit polluting. An alternative would be to not use default values and replacingis.null()
calls withmissing()
. The problem with this approach is that it confuses the user about which arguments are mandatory and which aren't.