Returns the metadata list attached to a ps_trunc
object. The list includes fields such as method, lower_bound,
upper_bound, and truncated_idx.
Arguments
- x
A
ps_truncobject created byps_trunc().
Value
A named list with truncation metadata, including:
method– the truncation method used ("ps","pctl", or"cr")lower_bound,upper_bound– the applied boundstruncated_idx– integer positions of values that were winsorizedn_obs– the number of observations those positions describe
truncated_idx and n_obs are absent when an operation that changed the
number of observations dropped the record; see ps_trunc().
