Closed maxheld83 closed 8 years ago
turns out this shows up in a number of places, including qfcharact
.
I think this might be the kind of bug we could avoid if we were stricter about inputs (either only dataframes, or only matrices) as per #277
@aiorazabala I'm not sure if I got this bug right and/or if it also exists in your master fork, but if so, you might want to hot-fix this ....
I think git cherry pick
or something should allow you to apply only the above commit.
as per the docs,
qfwe()
accepts a matrix for theloa
andflagged
argument.However, being thrown matrices, it errors out with:
Some digging down in
qzscores
suggest that the below piece of code is at fault:The trouble here is that
length(floa)
only makes sense whenfloa
is a df, not a matrix (wayyy to long in that case).Changing it to ncol should fix the problem.