events2station: Transform an 'event' object into a 'station' object

View source: R/events2station.R

events2stationR Documentation

Transform an 'event' object into a 'station' object

Description

Aggregate some aspects of an 'events' object in time and space and transform the time series into a 'station' object.

Usage

events2station(
  x,
  param = "count",
  FUN = "mean",
  verbose = FALSE,
  longname = NULL,
  unit = NULL,
  ...
)

Arguments

x

input object of class 'events'

param

parameter to aggregate, e.g., 'count' or some characteristic such as 'pcent' or 'radius' (for options, see names(x))

FUN

a function, e.g., 'mean' or 'sum'

verbose

a boolean; If TRUE print information about progress

longname

long name of variable

unit

name of unit

...

additional arguments

Value

a 'station' object


metno/esd documentation built on April 29, 2024, 3:34 p.m.