Description Usage Arguments Value
View source: R/pERP_difference.R
This function will take in two comparison groups.
1 2 3 4 5 6 7 8 9 | pERP_difference(
scores,
electrode,
task1,
group1 = "Overall",
task2 = task1,
group2 = group1,
double_difference = FALSE
)
|
scores |
The dataframe with all of the individual weights. |
electrode |
A string of the electrode for testing. |
task1 |
A string of the first task for comparison. |
group1 |
A string of the first treatment/diagnosis group to test. If "Overall", all of the individuals will be averaged. |
task2 |
A string of the second task for comparison, set to the same value as task1 by default. |
group2 |
A string of the second treatment/diagnosis group to test. If "Overall", all of the individuals will be averaged. |
double_difference |
A logical to contrast task1 - task2. Use in cases such as correct - incorrect. |
A dataframe of t-test results
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.