# \donttest{
# Example with toy data
df.train = data.frame(
temp = runif(10, 50, 70),
tmax = runif(10, 60, 80),
month = rep(1:2, each = 5)
)
df.sim = data.frame(
sim_temp = runif(10, 50, 70),
month = rep(1:2, each = 5)
)
result = generate_TmaxTmin(df.train, df.sim)
head(result$df.sim)
# }
Run the code above in your browser using DataLab