Page 1 of 1

Multiple Response Module

Posted: Tue Oct 24, 2023 9:11 pm
by vjalby
Hi,

I build my own module to deal with multiple response questions (n dichotomous variables 0/1) displaying table and bar chart... before I noticed UFS is also available as Jamovi Module. My R code uses a few lines from UFS/MultiResponse code, but since it has more options and includes a bar char, I think it's worth to releasee it to all. Code and module are available at https://github.com/vjalby/multipleresponse/. Everyone is welcome to test it and tell me if it's worth to keep it alive. (After installing the module, it's available in the Exploration Menu)

Best regards

Image

Re: Multiple Response Module

Posted: Tue Oct 24, 2023 10:57 pm
by jonathon
hey, this is great cute little module by the looks of things!

i'll take a look shortly, and provide some feedback!

cheers

jonathon

Re: Multiple Response Module

Posted: Wed Oct 25, 2023 1:17 pm
by MAgojam
vjalby wrote: Tue Oct 24, 2023 9:11 pm Everyone is welcome to test it and tell me if it's worth to keep it alive.
Hey Vincent,
I stopped by and left you a PR with some little suggestions.
Thanks for your module and I hope to see more.

Cheers,
Maurizio Agosti
https://www.jamovi.org/about.html

Re: Multiple Response Module

Posted: Wed Oct 25, 2023 4:59 pm
by vjalby
Thank you very much. I already included your suggestions... but, you know, the min/max values in a.yaml. I really don't like the error message it shows to end users, which looks like a bug in the R code.

Re: Multiple Response Module

Posted: Wed Oct 25, 2023 9:16 pm
by MAgojam
vjalby wrote: Wed Oct 25, 2023 4:59 pm I really don't like the error message it shows to end users, which looks like a bug in the R code.
Yes, of course, you may not like it, but it's not a BUG.
It is a choice to inform the end users, which says that for that input the author or authors of that module have foreseen a possible range of values to be used.
Let's say that while maintaining this information mode for out of range, I send you a small modification to the .u.yaml file.
So when you select Width or Height the two values (minimum and maximum) will be displayed which you can choose or otherwise type a value within the range (The native message remains for the out of range).

Surely you can do many things from R code or by playing with a bit of javascrip code, you will evaluate it.
In the meantime, enjoy yourself.

Cheers,
Maurizio

Re: Multiple Response Module

Posted: Thu Oct 26, 2023 6:04 am
by vjalby
Thanks Maurizio for your help. Actually, I found an easier and more straightforward way to do it : use a menu with some preset sizes. I'll modify is later today.

Regards

Re: Multiple Response Module

Posted: Thu Oct 26, 2023 11:31 pm
by seol
Hi

Initially the method you tried I tried as follows. I configured the menu to allow the user to enter based on the default value.

Cheers
Seol

Re: Multiple Response Module

Posted: Fri Oct 27, 2023 9:50 am
by jonathon
sorry for the delay! i'll take a look at this soon!

cheers

jonathon

Re: Multiple Response Module

Posted: Tue Oct 31, 2023 12:48 am
by jonathon
sorry for the delay vjalby,

i tried using the multiple responses with the 'tooth growth' data set (which i know is silly, but i still would have expected a different result).

see below.

you could also provide an example data set, so people can try it out without having to hunt down appropriate data. you put the data file in a data directory in the module (take a look at jmv or similar for an example), and then put an entry in your 0000.yaml file like this:

https://github.com/jamovi/jmv/blob/mast ... #L282-L294

cheers
Screenshot 2023-10-31 at 11.41.01.png
Screenshot 2023-10-31 at 11.41.01.png (752.38 KiB) Viewed 14883 times

Re: Multiple Response Module

Posted: Tue Oct 31, 2023 4:24 pm
by vjalby
Jonathon,

I'm sorry about that. Option variables must be dichotomous variables (0/1 by default). I've included a sample dataset in the new version available at GitHub.

Regards