Richard Careagaparadigm.hashnode.dev·Dec 6, 2023Create a sequence of dates in R# Create a sequence of dates dates <- seq(as.Date("2024-01-01"), by = "day", length.out = 30) dates |> str() #> Date[1:30], format: "2024-01-01" "2024-01-02" "2024-01-03" "2024-01-04" "2024-01-05" ... library(JuliaCall) d <- julia_eval("using Dates;...Rlang
Richard Careagaparadigm.hashnode.dev·Dec 6, 2023Tao of for() in RSo, for loops are dead simple (as long as you remember to get the results out of the .Local environment into the .Global environment). v <- vector(length = length(object)) for(i in seq_along(object)) v[i] = sqrt(i) Therefore, substitute any f for s...Rlang