Description Usage Arguments Author(s) See Also Examples
The plot coord takes the results of plot_fa
to create a animated GIF plot for visualizing significant differences in ERPs across locations on the scalp over time.
1 2 3 4 | plot_coord(tests_rst, frames, show, point_size = 14, high_col = "firebrick",
low_col = "forestgreen", na_col = "grey70", text = T, text_size = 3,
text_col = "black", circle = T, nose = T, cir_nose_col = "black",
loop = 1, ...)
|
tests_rst |
the testing result from |
frames |
The time point of the ERP data |
show |
Which frames to show in the animation. |
point_size |
The size of the points (channels) on the scalp. |
high_col |
The color for "highly" significant time point (smaller p value). |
low_col |
The color for "low or no significant" time point (bigger p value). |
na_col |
The color for no specified channels on full 10-10 system. |
text |
Logical variable. Whether to show the channel label or not. |
text_size |
The text size of the channel label (when text = TRUE). |
text_col |
The text color of the channel label (when text = TRUE). |
circle |
Logical variable. Whether to show the scalp circle or not. |
nose |
Logical variable. Whether to show the nose or not. |
cir_nose_col |
The color of the nose (when nose = TRUE). |
loop |
The parameter for adjusting animations in |
... |
Further parameters in |
Chi-Lin Yu <psychilinyu@gmail.com>, Ching-Fan Sheu <csheu@mail.ncku.edu.tw>
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | data(DirectedForgetting)
time_pt <- seq(-200, 1000, 1)
test_res <- plot_fa(data = DirectedForgetting, frames = time_pt,
channel = 5, subject = 1, uV = 6:1206, test = 4,
mode = "test_signal",
design = (~Subject + Condition), design0 = (~Subject), nbf = 5)
plot_coord(tests_rst = test_res$Test_Rst,
frames = time_pt,
show = seq(200, 500, by = 1),
loop = 1,
interval = 0.1,
filename = "GIFfile.gif")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.