as.data.frame-methods: S3-type method for 'RasterArray' and 'SpatialArray'

Description Usage Arguments Details Value Examples

Description

Convert RasterArray class objects to data.frames allowing View(), head() and tail() to work.

Usage

1
2
3
4
5
## S3 method for class 'RasterArray'
as.data.frame(x, row.names = NULL, optional = FALSE, ...)

## S3 method for class 'SpatialArray'
as.data.frame(x, row.names = NULL, optional = FALSE, ...)

Arguments

x

a RasterArray and SpatialArray class object.

row.names

Argument to define the rownames of the resulting data.frame.

optional

logical Flag to reset the rownames and colnaems attributes.

...

additional arguments passed to and from methods.

Details

Formal conversion method transforming the proxy object to a data.frame.

Value

A data.frame class object.

Examples

1
2

chronosphere documentation built on April 19, 2021, 1:07 a.m.