detect_ray_design: Detect if a experiment is fixed-ray design and prepare input...

Description Usage Arguments Value Examples

View source: R/drexplorer_IAI.R

Description

Detect if a experiment is fixed-ray design and prepare input for CI computation

Usage

1
detect_ray_design(d1, d2, e, tol = 0.001, d2.d1.force = NA)

Arguments

d1

d1.

d2

d2.

e

e.

tol

tolerance in declaring fixed ratio.

d2.d1.force

the ratio d2/d1 to be forced in fitting the linear model; this is only effective if the data is not a fixed ratio design. Usually, the all-possible combination design; specifying d2.d1.force will use the specified ratio (from available ratios) to fit the model and generate dose-response curve.

Value

a list

Examples

1
detect_ray_design(d1 = nl22B2$schd, d2 = nl22B2$hpr, e = nl22B2$y1)

lshen1/drexplorer2 documentation built on June 2, 2020, 9:27 p.m.