You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The outside_range argument determines how values outside the source range are handled. Options are setting to NA, issuing an error, or issuing a warning. (The new function could also be called by compute_scale().) I would expect that it could be useful for other questionnaires as well.
Feature Idea
From suggestion by @bundfussr:
to help with ADQS programming, it would be convenient to implement a function which provides the same transformation arguments as
compute_scale()
:The
outside_range
argument determines how values outside the source range are handled. Options are setting toNA
, issuing an error, or issuing a warning. (The new function could also be called bycompute_scale()
.) I would expect that it could be useful for other questionnaires as well.Relevant Input
See here for
compute_range()
inputs.Relevant Output
A transformed value
Reproducible Example/Pseudo Code
Should return
25
.Should return
60
i.e.100 - 40
.Should return
NA
.The text was updated successfully, but these errors were encountered: