hydrometer_schedule: \lifecycleexperimental

View source: R/hydrometer_schedule.R

hydrometer_scheduleR Documentation

\lifecycleexperimental

Description

Calculate sampling times for hydrometer tests

Usage

hydrometer_schedule(
  start_time = NULL,
  batch_spacing = c(0, 70, 140),
  sample_numbers = list(1:4, 5:8, 9:12)
)

Arguments

start_time

A datetime object representing an ISO clock time (including timezone). If NULL (the default), the start time is set to 7:59 AM on the day following the function call. This allows the stirring of the first sample to cease at 8 AM.

batch_spacing

Time interval in minutes between stirring the sub-batches, each comprising 4 samples. Recommended to use 70-min intervals.

sample_numbers

List of sample numbers, with each element being a numeric vector of length 4.

Details

Built around the idea of using 3 sub-batches of 4 samples each. If any more are used in a sub-batch, too many times overlap.

Value

A tibble of sampling times corresponding to each sedimentation cylinder


evanmascitti/soiltestr documentation built on Oct. 6, 2022, 5:32 p.m.