Learn R Programming

henna (version 0.3.4)

dfPoint: Extract point from data frame of points.

Description

This function extracts a point from a data frame of points.

Usage

dfPoint(df, i, pointCoords = c(1, 2))

Value

A numeric vector containing the point coordinates.

Arguments

df

A data frame containing the coordinates of the points.

i

Row name or index.

pointCoords

The row names or indices of point coordinates.