A table with a row per group of seasonality_analysis(), in
their natural order, with the numbers of the chart of
plot_seasonality(). The mean and the median are shaded red below 0 and
green above it, and the share up red below 50% and green above it, more
strongly the further they are from the middle.
Arguments
- analysis
The result of
seasonality_analysis().
Examples
if (FALSE) { # interactive()
spx <- get_history("S&P 500", as.Date("1950-01-01"))
seasonality_table(seasonality_analysis(spx, "month"))
}