rater icon indicating copy to clipboard operation
rater copied to clipboard

Allow non-numeric data as input

Open jeffreypullin opened this issue 5 years ago • 6 comments
trafficstars

Currently, we demand that all data be numeric - we should relax this to allow for, factors and character vectors etc. The key difficulty of this is how to present the input data in the output.

See discussion in #75 and compare with #70

jeffreypullin avatar Jun 02 '20 06:06 jeffreypullin

One of the key questions here is how we would label the returned the parameters with the non-numeric input

jeffreypullin avatar Jul 18 '20 08:07 jeffreypullin

Just an amateur suggestion, sorry if I'm way off, but would the function recover_types from tidybayes be something to look into?

Agasax avatar Oct 28 '20 09:10 Agasax

@Agasax Did you find the need to convert everything to numeric a big limitation in your use of {rater}? Implementing non-numeric input is feasible but it would be a lot of work so I'm considering whether it is worth it atm. I'd love to hear your thoughts!

jeffreypullin avatar Jan 22 '21 02:01 jeffreypullin

Sorry for slow response here. The issue was not providing the data in numerical form, but rather not having the factor levels conserved when using the plotting functions of you get my meaning. I hope to try it out again this weekend, will get back to you.

Agasax avatar Jan 28 '21 12:01 Agasax

All good! Yes, that's what I meant really 😄

jeffreypullin avatar Jan 29 '21 03:01 jeffreypullin

Unfortunately this isn't going to make it into the 1.1 release, but I'm going to add it into the 1.2 milestone so that I remember to work on it soon.

jeffreypullin avatar Feb 18 '21 01:02 jeffreypullin