summary.RETRA {ecoregime} | R Documentation |
Summarize representative trajectories
Description
Summarize the properties of representative trajectories returned by
retra_edr()
or define_retra()
Usage
## S3 method for class 'RETRA'
summary(object, ...)
Arguments
object |
An object of class |
... |
(not used) |
Value
Data frame with nine columns and one row for each representative trajectory
in object
. The columns in the returned data frame contain the following
information:
ID
Identifier of the representative trajectories.
Size
Number of states forming each representative trajectory.
Length
Sum of the dissimilarities in
d
between every pair of consecutive states forming the representative trajectories.Avg_link
Mean value of the dissimilarities between consecutive states of the representative trajectories that do not belong to the same ecological trajectory or site (i.e., artificial links).
Sum_link
Sum of the dissimilarities between consecutive states of the representative trajectories that do not belong to the same ecological trajectory or site (i.e., artificial links).
Avg_density
Mean value of the number of segments represented by each segment of the representative trajectory (excluding artificial links).
Max_density
Maximum number of segments represented by at least one of the segments of the representative trajectory (excluding artificial links).
Avg_depth
Mean value of the k-d tree depths, that is, the number of partitions of the ordination space until finding a region with
minSegs
segments or less.Max_depth
Maximum depth in the k-d tree, that is, the number of partitions of the ordination space until finding a region with
minSegs
segments or less.
See Also
retra_edr()
for identifying representative trajectories in EDRs applying
RETRA-EDR.
define_retra()
for generating an object of class RETRA
from trajectory
features.
Examples
# Apply RETRA-EDR to identify representative trajectories
d = EDR_data$EDR1$state_dissim
trajectories = EDR_data$EDR1$abundance$traj
states = EDR_data$EDR1$abundance$state
RT <- retra_edr(d = d, trajectories = trajectories, states = states, minSegs = 5)
# Summarize the properties of the representative trajectories in a data frame
summary(RT)