Learn R Programming

crownsegmentr (version 1.0.1)

extract_coordinate_values: Extract coordinate data from a data.frame-like object

Description

This function extracts three numeric columns from the input table. If possible, columns which are named x/X, y/Y, or z/Z.

Usage

extract_coordinate_values(coordinate_table)

Value

A base::data.frame() with just three columns that are expected to hold the x-, y-, and z-coordinates in that order.

Arguments

coordinate_table

An object which is valid according to validate_coordinate_table() (i.e. data.frame-like and contains at least three numeric columns).