# \donttest{
# We will use simulated data that are stored as data
sim_data
rsim <- radf(sim_data)
str(rsim)
# We would also use data that contain a Date column
sim_data_wdate
rsim_wdate <- radf(sim_data_wdate)
tidy(rsim_wdate)
augment(rsim_wdate)
tidy(rsim_wdate, panel = TRUE)
head(index(rsim_wdate))
# For lag = 1 and minimum window = 20
rsim_20 <- radf(sim_data, minw = 20, lag = 1)
# }
Run the code above in your browser using DataLab