lexical: Finds the lowest feasible tolerance in each group, holding...

Description Usage Arguments Value

Description

Finds the lowest feasible tolerance in each group, holding the previous groups fixed

Usage

1
2
3
lexical(outcomes, metadata, grp_order, outcome_col, trt_unit = 1, by = 0.1,
  maxep = 1, cols = list(unit = "unit", time = "time", outcome = "outcome",
  treated = "treated"), lowerep = 0)

Arguments

outcomes

Tidy dataframe with the outcomes and meta data

metadata

Dataframe of metadata

grp_order

Lexical ordering of groups

outcome_col

Column name which identifies outcomes, if NULL then assume only one outcome

trt_unit

Unit that is treated (target for regression), default: 0

by

Step size for tolerances to dry, default: 0.1

maxep

Maximum tolerance to consider

cols

Column names corresponding to the units, time variable, outcome, and treated indicator

Value

List with lowest tolerances lexically


ebenmichael/ents documentation built on May 31, 2019, 8:45 p.m.