as.3dpoints {stpp}R Documentation

Create data in spatio-temporal point format

Description

Create data in spatio-temporal point format.

Usage

as.3dpoints(...)

Arguments

...

Any object(s), such as xx, yy and tt vectors of the same length, or a list or data frame containing xx, yy and tt vectors. Valid options for ... are: a points object: returns it unaltered; a list with xx, yy and tt elements of the same length: returns a points object with the xx, yy and tt elements as the coordinates of the points; three vectors of equal length: returns a points object with the first vector as the xx coordinates, the second vector as the yy-coordinates and the third vector as the tt-coordinates.

Value

The output is an object of the class stpp. as.3dpoints tries to return the argument(s) as a spatio-temporal points object.

Author(s)

Edith Gabriel <edith.gabriel@inrae.fr>, Peter Diggle, Barry Rowlingson.


[Package stpp version 2.0-8 Index]