powered by
Visualizes Spearman’s rho serial correlation coefficients with shaded points indicating statistical significance.
plot_spearman_test(results, ...)
ggplot; a plot showing:
ggplot
Vertical segments from \(y=0\) up to each \(\rho\) value at its lag.
Filled circles at each lag, filled black if serial correlation is detected.
A list generated by eda_spearman_test().
eda_spearman_test()
Optional named arguments: 'title', 'xlabel', and 'ylabel'.
data <- rnorm(n = 100, mean = 100, sd = 10) results <- eda_spearman_test(data) plot_spearman_test(results)
Run the code above in your browser using DataLab