networkmedianFUN: Deriving the Network Median. The network median is found for...

Description Usage Arguments Examples

Description

Deriving the Network Median. The network median is found for each iteration. Values are removed, one at a time, across the iteration, with the removal specified by the group option. To run this over a time-series the group would be the date. The final product is a column of the network median that can be used as a proxy in other analyses.

Usage

1
networkmedianFUN(x, group, obs, by.group = T, id = NA, statistic = median)

Arguments

group

An identifying variable.

obs

The data to derive the network median from.

by.group

This option is if the iterations need to happen over the group (default, 'TRUE'). 'FALSE' uses all values.

id

This is an option if some column is required to remain in the final output (e.g. site). Default is 'NA'.

statistic

This is the statistic to summarise the data. Default is 'median'. Other options are 'mean' or 'sd'.

Examples

1

gmiskell/sensor_toolkit documentation built on May 17, 2019, 7:06 p.m.