Skip to contents

Plot a Granger S3 object

Usage

# S3 method for 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.

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)