filter.bp: Filter bp variable eliminating measurements below and above a...

Description Usage Arguments Value

View source: R/vars_recover-filter.R

Description

Filter bp variable eliminating measurements below and above a constant inf and sup respectively and with coherent measurement between sbp and dbp

Usage

1
2
filter.bp(sbp, dbp, inf.sbp = 60, inf.dbp = 30, sup.sbp = 250,
  sup.dbp = 170)

Arguments

sbp

vector with bmi measurements to be filtered

dbp

indicative variable of obesity

sbp.inf

lower bound (default 60)

dbp.inf

lower bound (default 30)

sbp.sup

upper bound (default 250)

dbp.sup

upper bound (default 170)

Value

the measurement vector filtered with NA in measurements outside the rank [ind, sup]


mcomas/usrgi.lib documentation built on May 22, 2019, 3:18 p.m.