Closed fuhred closed 4 years ago
Thanks for opening up a feature request! I don't have an issue with implementing this in the manner you describe. In general I think we should always return a vector of length m for any m x n dataframe for which we're computing an index of careless responding. If the value of the CR metric is not defined for an obs due to missing values, I think we should return an NA value for that obs.
Merged fix into dev branch
Any missing values will return NA for the irv score.
Ex:
returns:
[1] 1 NA