View source: R/chamber.design.R
| chamber.design | R Documentation |
A function to expand the diurnal patterns of environmental variables into multiday patterns.
chamber.design(
daily.settings,
start.date = "2025-04-30",
timezone = "",
export = TRUE,
folder.path = NULL
)
daily.settings |
a data frame, diurnal patterns of environmental variables. Columns must match arguments of |
start.date |
a character string, start date of the experiment. Time automatically set to 00:00:00. |
timezone |
a character string, time zone. |
export |
a logical, whether to export the output as files (e.g., Profile.txt). |
folder.path |
a character string, path to the export folder. |
a list of two data frames, daily.settings as input but with an extra column date, and design of expanded multiday patterns.
chamber.diurnal()
# acclimation phase
acc.daily.settings <- data.frame(day = seq(0, 34),
temp.air.mean = 17, temp.water.mean = 19)
acc <- chamber.design(acc.daily.settings,
start.date = "2025-05-15", export = FALSE)
## to save the output files, set 'export' to 'TRUE'.
acc
as.POSIXct(acc$design$timestamp[1], tz = "UTC")
acc$design$datetime[1]
acc$daily.settings$date[1]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.