extrapolation: extrapolation

Description Usage Arguments Details Value Author(s) Examples

Description

applies EF factors to BMD with specified distributions

Usage

1
2
3
4
5
extrapolation(bmd.boot.col = "chengfang",
  bmd.file.name = "example.data/bmd.csv",
  efs.file.name = "example.data/Efs.cheng.csv",
  calc.file.name = "example.data/calc.cheng.csv", seed = seedVal,
  above.threshold = 0)

Arguments

bmd.file.name

string. the location of the input file for bmds (al least it has to have 'bmd' and 'id' columns)

efs.file.name

string. table of EFs to be applied (see excel file in inst for instructions)

above.threshold

numeric. If present values less equal to it are discarded from generated bmd distribution

Details

from the BMD values extracts GM and GSD, randomly picks the same amount from the corresponding lognormal distriution, then for each row in the EF table picks the corresponding random values and applies the corresponding operator in cascade

Value

list of two tables, the updated bmds table with results and the EFs table used

Author(s)

Alex Zabeo

Examples

1
res <- extrapolation("example.data/bmd.csv","example.data/Efs.csv",0)

azabeo/extrapolation documentation built on May 11, 2019, 5:16 p.m.