Forum Replies Created
-
AuthorPosts
-
yasufmg
ParticipantHi, Jeremy!
It works perfectly! Thank you so much!
One more thing: my experiment has filler sentences that won’t have any intended answer – for instance, some of them have an unusual word order which would make them ungrammatical. Is there a way to log these filler sentences as “null” or “none” using this method?
Thanks!
yasufmg
ParticipantHi, Jeremy! Thank you for your kind answer!
I figured out how to use the read.pcibex function in RStudio! Thank you =)
I used a sliding scale in my experiment, and now I’m wondering: is “727” in the comments column the reaction time? I’ll paste a row of my results file.
# 1. Results reception time. # 2. MD5 hash of participant's IP address. # 3. Controller name. # 4. Order number of item. # 5. Inner element number. # 6. Label. # 7. Latin Square Group. # 8. PennElementType. # 9. PennElementName. # 10. Parameter. # 11. Value. # 12. EventTime. # 13. CERTIFICADO. # 14. ESCOLARIDADE. # 15. IDADE. # 16. NATIVO. # 17. GENERO. # 18. ID. # 19. Comments. # 19. ITEM. # 20. CONTEXT. # 21. SENTENCE. # 22. Comments. 1657146924,MD5EDITED,PennController,25,0,experiment-filler,NULL,Scale,slider,Choice,99,1657146599275,EDITED@gmail.com,Curso universitário completo ou cursando,22,Sim,Feminino,NAME EDITED,805,CONTEXT,SENTENCE,727
Thank you for your time!
Yasmin.
yasufmg
ParticipantHi, Jeremy!
Sorry, I just realized they’re not supposed to appear as columns names! But my reaction times seem a bit off as they’re all showing “1.655924e+12”. I can send you the file if you want. Thanks!
yasufmg
ParticipantHi, Jeremy!
Thank you very much! It works perfectly. =)
I’m currently having some problems reading my demo results.csv file in RStudio. It seems like it doesn’t recognize all # comments as columns. I’ve tried using the PCIBEX function as well but it doesn’t seem to work either. Is there a way to solve it?
Thanks!
Yasmin.
yasufmg
ParticipantHi, Jeremy!
This is exactly what I’m looking for! Thank you so much!
One more thing: is there a way to align the numbers and the scale?
This is my code:
Template("experiment.csv", row => newTrial( "experiment-"+row.TYPE, newText("sentence", row.SENTENCE) .cssContainer({"margin-top":"2em", "margin-bottom":"2em"}) .center() .print() , // 7-point scale newScale("slider", 100) .before( newText("left", "<div class='fancy'> TOTALMENTE INACEITÁVEL (0) </div>") ) .after( newText("right", "<div class='fancy'> (100) TOTALMENTE ACEITÁVEL </div>") ) .labelsPosition("top") .cssContainer({"margin":"1em"}) .slider() .center() .size(400).css("max-width", "unset") .log() .print() , newText(` <span style='width: 2em; text-align: left;'>0</span> <span style='width: 2em; text-align: center;'>25</span> <span style='width: 2em; text-align: center;'>50</span> <span style='width: 2em; text-align: center;'>75</span> <span style='width: 2em; text-align: right;'>100</span>`) .css({display: 'flex', 'justify-content': 'space-between', width: '20em'}) .print() , newButton("go_to_exercise", "Próximo") .cssContainer({"margin":"1em"}) .center() .print() .wait() , // Wait briefly to display which option was selected newTimer("wait", 300) .start() .wait() )
And This is the demonstration link to my experiment.
Thanks for your help!
yasufmg
ParticipantHi, Jeremy! Thanks for the help. It worked!
I’ve encountered another problem, though. I’m currently using a slider scale in my experiment, from 0 to 100. I’d like to add numbers labels below it so participants can know which value they’re choosing. Is there a way to do that?
Thanks!
Yasmin.
-
AuthorPosts