autoplot.GrangerTime {movementsync} | R Documentation |
Plot a Granger S3 object
Description
Plot a Granger S3 object
Usage
## S3 method for class 'GrangerTime'
autoplot(object, splicing_df, lev_sig = 0.05, ...)
Arguments
object |
S3 object. |
splicing_df |
Splicing data.frame object. |
lev_sig |
significance level. |
... |
ignored. |
Value
a ggplot
object.
See Also
Other Granger Causality:
get_granger_interactions()
,
granger_test()
,
map_to_granger_test()
,
ms_condgrangertest()
,
ms_grangertest1()
,
ms_grangertest2()
,
plot.GrangerInteraction()
,
plot_influence_diagram()
Examples
r1 <- get_sample_recording()
fv_list <- get_filtered_views(r1, data_points = "Nose", n = 41, p = 3)
jv_sub <- get_joined_view(fv_list)
splicing_df <- splice_time(jv_sub, win_size = 3, step_size = 0.5)
sv <- get_spliced_view(jv_sub, splicing_df)
g <- granger_test(sv, "Nose_x_Central_Sitar", "Nose_x_Central_Tabla", lag = 3/25)
autoplot(g, splicing_df)
[Package movementsync version 0.1.4 Index]