Learn R Programming

BIGL (version 1.9.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)

Value

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

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.

Examples

Run this code
# \donttest{
  data <- subset(directAntivirals, experiment == 2)
  ## Data must contain d1, d2 and effect columns
  fitResult <- fitMarginals(data)
  surf <- fitSurface(data, fitResult, statistic = "maxR")
  outsidePoints(surf$maxR$Ymean)
# }

Run the code above in your browser using DataLab