lstat: Descriptive statistics for lisst objects

Description Usage Arguments Details Methods (by generic) Examples

View source: R/process.R

Description

The functions calculate the average or the median per variable of a lisst object, for the whole data or in intervals. The dispersion of the dataset or intervals is also retrieved and stored.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
lstat(x, brks, fun = "mean", ...)

## S3 method for class 'lisst'
mean(x, ...)

## S3 method for class 'lisst'
median(x, ...)

## S3 method for class 'lisst'
sd(x, ...)

Arguments

x

A lisst object.

brks

A vector with the breaks (intervals) for the aggregation. See details.

fun

A function to perform the aggregation (mean, median, sd). Defaults to mean.

...

Arguments to be passed to aggregation functions.

Details

The breaks (intervals) are passed directly to the subset function, so must now be supplied in final form.

The resulting time indexing will always be the average of the time of the imput records. In the case of aggregation by depth, time indexing will most likelly not be regular or monotonic. In these cases, plot functions that can have different ordinates should always be by 'depth'.

Methods (by generic)

Examples

1
2
3
4
5
mean(donkmeer_bin)

median(donkmeer_bin)

sd(donkmeer_bin)

AlexCast/lisst documentation built on July 17, 2021, 12:58 a.m.