# NOT RUN {
data(Events);
tempo_plot(Events[1:1000, ], c(2:5))
tempo_plot(Events[1:1000, ], c(2:5), count = TRUE)
# }
# NOT RUN {
# Read from connection
ox <- read_oxcal("http://tsdye.online/AP/ox.csv")
# Plot all the columns
tp <- tempo_plot(ox)
# Reproduce the tempo plot
plot(tp)
# View metadata
str(tp)
# Check that the MCMC data file hasn't changed
original_file(tp)
# Use a custom palette
library(khroma)
light <- colours("light")
tp <- tempo_plot(ox, color_palette = light(2),
line_colors = c("light blue", "pale grey", "pale grey"))
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab