as.in2extRemesDataObject: Convert Data Frame Object to in2extRemes Data Object

Description Usage Arguments Details Value Author(s) See Also Examples

Description

Convert a data frame, matrix or vector into an object readable by the in2extRemes windows.

Usage

1

Arguments

x

data frame, matrix or numeric vector.

Details

Sets up a list object with a data component that contains the datafram x, or if x is a matrix or vector, it is first converted to a data frame using as.data.frame. If x is a vector, an additional column, named “obs”, is added that contains an index of the row number. It is then given the class “in2extRemesDataObject” and returned.

Value

A list of class “in2extRemesDataObject” with component:

data

x as a data frame.

Author(s)

Eric Gilleland

See Also

as.data.frame

Examples

1
2
look <- apply(matrix(rnorm(100 * 100), 100, 100), 2, max, na.rm = TRUE)
look2 <- as.in2extRemesDataObject(look)

in2extRemes documentation built on May 2, 2019, 1:27 p.m.