Nothing
get_cycle <-
function(data, day, month, day.end, month.end) {
cycle <- numeric(nrow(data))
i <- 1
j <- 1
while(j < nrow(data)) {
while(!(data$month[j] == month.end & data$day[j] == day.end)) {
cycle[j] <- i
j <- j + 1
}
cycle[j] <- i
j <- j + 1
i <- i + 1
}
return(cycle)
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.