- formula
a two-sided linear formula object describing both the fixed-effects and fixed-effects part of the model,
with the response on the left of a ~ operator and the terms, separated by + operators, on the right.
Random-effects terms are distinguished by vertical bars ("|") separating expressions for design matrices from grouping factors.
- item
optional item identifier for long-format data.
- link
a glm link function for binary outcomes. Must be a function name.
Available options: "RRlink.logit", "RRlink.probit", "RRlink.cloglog" and "RRlink.cauchit"
- RRmodel
the Randomized Response model, defined per case.
Available options: "DQ", "Warner", "Forced", "UQM", "Crosswise", "Triangular" and "Kuk"
- p1
the Randomized Response parameter p1, defined per case. Must be 0 <= p1 <= 1.
- p2
the Randomized Response parameter p2, defined per case. Must be 0 <= p2 <= 1.
- data
a data frame containing the variables named in formula as well as the Randomized Response model and parameters.
If the required information cannot be found in the data frame, or if no data frame is given, then the variables are taken
from the environment from which RRglmer is called.
- control
a list (of correct class, resulting from lmerControl() or glmerControl() respectively) containing control parameters,
including the nonlinear optimizer to be used and parameters to be passed through to the nonlinear optimizer,
see the lmerControl documentation for details.
- na.action
a function that indicates what should happen when the data contain NAs.
The default action (na.omit, as given by getOption("na.action")))
strips any observations with any missing values in any variables.
- ...
other potential arguments to be passed to glmer.