point: Point Object

Description Usage Arguments Value References See Also Examples

Description

Create an object of class point from a data frame.

An object of class point represents the observed data of a spatial process. This includes the spatial location of sampling sites and the values observed at those sites. A point object is stored as a data frame. The data frame must contain one column for the X coordinate and one column for the Y coordinate of each point, as well as any number of columns representing data observed at the points.

Usage

1
point(dframe, x='x', y='y') 

Arguments

dframe

a data frame containing the x and y coordinates for each point and the variables observed at each point

x

the name of the column in dframe that contains the x coordinate

y

the name of the column in dframe that contains the y coordinate

Value

A point object:

x

vector of x coordinates

y

vector of ycoordinates

var1

vector of the first variable

...

...

varm

vector of the mth variable

References

http://www.gis.iastate.edu/SGeoStat/homepage.html

See Also

point

Examples

1
2
data(maas)
maas.point <- point(maas) 

Example output



sgeostat documentation built on May 1, 2019, 6:31 p.m.

Related to point in sgeostat...