Learn R Programming

BIGL (version 1.5.3)

outsidePoints: List non-additive points

Description

List all points with corresponding p-values declared non-additive by the maxR statistical test.

Usage

outsidePoints(maxR, B = 10000)

Arguments

maxR

maxR statistics table returned by Ymean component from the output of maxR function. This can also be "maxR" element in the output of fitSurface function.

B

Iterations to use for the distribution of the maxR statistic. This is only used if Ymean dataframe does not have a "distr" attribute attached as is normally done when using fitSurface or maxR function.

Value

Returns a dataframe listing only dose combinations that exhibit significant deviations from the expected response surface.

Examples

Run this code
# NOT RUN {
  data <- subset(directAntivirals, experiment == 2)
  ## Data must contain d1, d2 and effect columns
  fitResult <- fitMarginals(data)
  CP <- CPBootstrap(data, fitResult, null_model = "loewe", B.CP = 5)
  statM <- maxR(data, fitResult, null_model = "loewe", CP = CP)
  outsidePoints(statM$Ymean)
# }

Run the code above in your browser using DataLab