Description Usage Arguments Details Value
Merging of redundant line segments to reduce the number of rows in a
lines3DDataFrame
object.
1 2 3 4 5 | MergeSegments(object, ...)
## S4 method for signature 'lines3DDataFrame'
MergeSegments(object, by,
keep = colnames(GetData(object)))
|
by |
Column names to be used on merging. |
keep |
Which columns to keep in the merged object. |
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.
A lines3DDataFrame
object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.