View source: R/summary.rowwise_df.R
summary.rowwise_df | R Documentation |
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.
## S3 method for class 'rowwise_df'
summary(object, formula = NULL, w.lo = 0, w.hi = NULL, ...)
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. |
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.
data(thrasherDf)
summary(thrasherDf)
summary(thrasherDf
, formula = dist ~ groupsize(groupsize)
, w.hi = units::set_units(100,"m")
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.