as.3dpoint: Create data in spatio-temporal point format

as.3dpointsR 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 x, y and t vectors of the same length, or a list or data frame containing x, y and t vectors. Valid options for ... are: a points object: returns it unaltered; a list with x, y and t elements of the same length: returns a points object with the x, y and t elements as the coordinates of the points; three vectors of equal length: returns a points object with the first vector as the x coordinates, the second vector as the y-coordinates and the third vector as the t-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.


stpp documentation built on June 28, 2024, 9:11 a.m.