ps_trim_meta() returns the metadata list attached to a
ps_trim object by ps_trim().
Value
A named list with elements:
methodCharacter string indicating the trimming method used.
keep_idxInteger vector of retained observation indices.
trimmed_idxInteger vector of trimmed observation indices.
n_obsThe number of observations those indices describe.
lower,upperNumeric cutoffs, when applicable.
refitLogical,
TRUEif the model was refit viaps_refit().
Additional method-specific elements (e.g. cutoff, delta, lambda) may
also be present.
keep_idx, trimmed_idx, and n_obs are absent when an operation that
changed the number of observations dropped the record; see ps_trim().
See also
ps_trim() for trimming propensity scores, is_ps_trimmed() and
is_unit_trimmed() for predicate queries.
