prepare_data: Prepare the data

View source: R/hello.R

prepare_dataR Documentation

Prepare the data

Usage

prepare_data(the_data, cols = 1:ncol(the_data), interval_in_seconds = 200,
  interval_diameter = 0.75, unique_diameter_values = 5)

Arguments

the_data

data frame with rows as date-time, columns as particle sizes. The first column (and only the first column) must contain date-time values.

cols

subset of columns to prepare, if the_data has other columns that should be ignored by this function. Default is all columns

interval_in_seconds

interval to use when interpolating. Default is 200, higher is faster, but lower resolution on the plot

interval_diameter

interval to use when interpolating. Default is 0.75, higher is faster, but lower resolution on the plot

unique_diameter_values

how many unique diamater values to include in each interpolation chunk. Default is 5.


benmarwick/smps documentation built on Feb. 1, 2024, 10:52 p.m.