Description Usage Arguments Value Examples
endpointjoin For fʌn.nɔlɛdʒi (KS Dissertation) Combine Looking-While-Listening Data with PsychoPy Endpoint Touchscreen Data
This takes LWL data from DataWiz that has been compiled and processed in excel and combines it with PsychoPy Data. The two .CSV file inputs should have the same number of rows.
LWLcsv Data should have: A WIDE format (each timepoint is a column and each row is a trial where there are 38 trials per subject) Backfilled rows Columns up to F2400 GoodLooks column is added to the dataset
PsychoPycsv Data should: Be compiled across ALL subjects (using a postprocess_LWL function)
N.B. Example in this documentation will only work in the LWL.Rproj
1 | endpointjoin(LWLcsv, PsychoPycsv, experiment, group)
|
LWLcsv |
.CSV filename (string) with cleaned LWL data output from DataWiz (wide format) |
PsychoPycsv |
.CSV filename (string) with all PsychoPy trials - this should have the same number of rows as the LWLcsv input |
experiment |
either experiment 1 (NO prime) or experiment 2 (with semantic prime). Must be a numeric value. |
group |
String value for Hearing Group (either "NH" for normal hearing or "HL" for hearing loss). This will be inputted into filename |
Saves a file with LWL and endpoint accuracy data combined in a single CSV. Saves the dataframe in environment as "FUNK_combined"
1 2 3 | endpointjoin("01data/Merging/2019-09-23-E1_LWL_HL_Compiled_forMerge.csv",
"01data/Merging/2019-09-09-Exp1_HL_Endpoint_forMerge.csv", 1,"HL")
# Excuse the poor filenaming ... eek!
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.