prr.test | R Documentation |
This is part of the implementation in the original glmperm package (GPL-3)
prr.test( formula, var, family = gaussian, data, nrep = 1000, seed = 12345, Silent = TRUE, weights, subset, na.action, start = NULL, etastart, mustart, offset, control = glm.control(...), model = TRUE, method = "glm.fit", x = FALSE, y = TRUE, contrasts = NULL, ... )
formula |
Formula that specifies the model |
var |
variable in the formula to permute |
family |
the GLM family object |
data |
Data frame with the data |
nrep |
number of permutation repetitions |
seed |
random seed |
Silent |
inverse verbose T/F |
weights |
Weights to use for the observations |
subset |
Take a given subset of the observations |
na.action |
what to do with NA values |
start |
GLM initialization parameters |
etastart |
GLM initialization parameters |
mustart |
GLM initialization parameters |
offset |
offset to use for each observation |
control |
extra fit options for GLM |
model |
whether to return the model |
method |
function that fits the model |
x |
whether to return the model matrix |
y |
whether to return the response vector |
contrasts |
contrasts to use for the model matrix |
list of likelihood and permutation based p-values
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.