MergeSegments: MergeSegments

Description Usage Arguments Details Value

Description

Merging of redundant line segments to reduce the number of rows in a lines3DDataFrame object.

Usage

1
2
3
4
5
MergeSegments(object, ...)

## S4 method for signature 'lines3DDataFrame'
MergeSegments(object, by,
  keep = colnames(GetData(object)))

Arguments

by

Column names to be used on merging.

keep

Which columns to keep in the merged object.

Details

This method merges contiguous line segments that are parallel and for which all variables described in the by parameter are equal. Variables described in the keep parameter will be averaged if numeric. If any variable described in keep is a character of factor, new columns will be created in the merged object that contain the relative proportion of each unique element or factor in each merged segment.

Value

A lines3DDataFrame object.


italo-goncalves/geomod3D documentation built on May 24, 2019, 2:49 p.m.