summary.rowwise_df {Rdistance} | R Documentation |
summary.rowwise_df - Summary method for Rdistance data frames
Description
Summary method for distance sampling data frames.
Rdistance
data frames are rowwise tibbles. This routine is a
replacement summary method for rowwise_df's that
provides useful distance sampling descriptive statistics.
Usage
## S3 method for class 'rowwise_df'
summary(object, formula = NULL, w.lo = 0, w.hi = NULL, ...)
Arguments
object |
An |
formula |
A standard formula object. For example, |
w.lo |
Lower or left-truncation limit of the distances in distance data.
This is the minimum possible off-transect distance. Default is 0. If
|
w.hi |
Upper or right-truncation limit of the distances
in |
... |
Other arguments for summary methods. |
Value
If object
is an RdistDf
, a data frame
containing summary statistics relevant to distance sampling is returned
invisibly.
If formula
is not specified, the number of distance observations
and target detections is not returned because the distances, group sizes,
and covariates are not known.
If object
is not an Rdistance data frame, return is the result of
the next summary method.
Examples
data(thrasherDf)
summary(thrasherDf)
summary(thrasherDf
, formula = dist ~ groupsize(groupsize)
, w.hi = units::set_units(100,"m")
)