meanR {BIGL}  R Documentation 
meanR
computes the meanR statistic for the provided model
and returns the computed Fstatistic and the estimated pvalue. pvalue
can be calculated either by assuming an exact distribution or using
bootstrapping procedure. In the latter case, null distribution of
bootstrapped Fstatistics is also returned.
meanR(
data_off,
fitResult,
transforms = fitResult$transforms,
null_model = c("loewe", "hsa", "bliss", "loewe2"),
R,
CP,
reps,
nested_bootstrap = FALSE,
B.B = NULL,
B.CP = NULL,
cl = NULL,
method = c("equal", "model", "unequal"),
bootStraps,
paramsBootstrap,
idUnique,
n1,
transFun,
invTransFun,
...
)
data_off 
data frame with off axis information 
fitResult 
Monotherapy (onaxis) model fit, e.g. produced by

transforms 
Transformation functions. If nonnull, 
null_model 
Specified null model for the expected response surface.
Currently, allowed options are 
R 
Numeric vector containing mean deviation of predicted response
surface from the observed one at each of the offaxis points. If missing,
it will be calculated automatically from output of

CP 
Matrix which is part of covariance matrix for the 
reps 
Numeric vector containing number of replicates for each offaxis
dose combination. If missing, it will be calculated automatically from output
of 
nested_bootstrap 
When statistics are calculated, if

B.B 
Number of iterations to use in bootstrapping null distribution for either meanR or maxR statistics. 
B.CP 
Number of bootstrap iterations to use for CP matrix estimation 
cl 
If parallel computations are desired, 
method 
What assumption should be used for the variance of on and
offaxis points. This argument can take one of the values from

bootStraps 
precomputed bootstrap objects 
paramsBootstrap 
parameters for the nested bootstrap 
idUnique 
unique combinations of onaxis points, a character vector 
n1 
the number of offaxis points 
transFun, invTransFun 
the transformation and inverse transformation functions for the variance 
... 
Further arguments that will be later passed to

This function returns a meanR
object with estimates for the
meanR statistical test. meanR
object is essentially a list with
appropriately named elements.
meanR
object list includes notably the calculated Fstatistic,
pvalue and degrees of freedom ("n1"
and "df0"
respectively)
used to find the critical value of the Fdistribution under the null.
If meanR
test is run with bootstrapping, then pvalue
estimate is based on bootstrapped null distribution of test statistic and an
additional element "FDist"
(of class "ecdf"
) is returned.