samples_group: samples_group

Description Usage Arguments Details Value Author(s)

Description

Count and cumsum of data grouped by a specified time period

Usage

1
2
3
4
5
samples_group(
  data_sample = read_falken(),
  breaks = c("week", "month", "day"),
  by = c("status", "material")
)

Arguments

data_sample

A data.frame object generated from the function read.gp()

breaks

Method used to group the date field (week, month, day). Default to "week"

by

Dataframe's field used to compute count and cumulative sum. Default to "status"

Details

Reshape samples data extracted from Falken and cleaned through read.gp() and gives back a data.frame object with count and cumsum of data grouped by a specified time period

Value

A data.frame object

Author(s)

SVA


SVA-SE/svamap documentation built on Sept. 25, 2020, 3:53 p.m.