- data
A single-case data frame. See scdf()
to learn about this
format.
- dvar
Character string with the name of the dependent variable.
Defaults to the attributes in the scdf file.
- pvar
Character string with the name of the phase variable. Defaults to
the attributes in the scdf file.
- mvar
Character string with the name of the measurement time variable.
Defaults to the attributes in the scdf file.
- AR
Maximal lag of autoregression. Modelled based on the
Autoregressive-Moving Average (ARMA) function. When AR is set, the family
argument must be set to family = "gaussian"
.
- model
Model used for calculating the dummy parameters (see Huitema &
McKean, 2000). Default is model = "W"
. Possible values are: "B&L-B"
,
"H-M"
, "W"
, and deprecated "JW"
.
- family
Set the distribution family. Defaults to a gaussian
distribution. See the family
function for more details.
- trend
A logical indicating if a trend parameters is included in the
model.
- level
A logical indicating if a level parameters is included in the
model.
- slope
A logical indicating if a slope parameters is included in the
model.
- contrast
Sets contrast_level and contrast_slope. Either "first",
"preceding" or a contrast matrix.
- contrast_level
Either "first", "preceding" or a contrast matrix. If NA
contrast_level is a copy of contrast.
- contrast_slope
Either "first", "preceding" or a contrast matrix. If NA
contrast_level is a copy of contrast.
- formula
Defaults to the standard piecewise regression model. The
parameter phase followed by the phase name (e.g., phaseB) indicates the
level effect of the corresponding phase. The parameter 'inter' followed by
the phase name (e.g., interB) adresses the slope effect based on the method
provide in the model argument (e.g., "B&L-B"). The formula can be changed
for example to include further variables into the regression model.
- update
An easier way to change the regression formula (e.g., . ~ . + newvariable
).
- na.action
Defines how to deal with missing values.
- r_squared
Either "delta", "partial", or "none".
- var_trials
Name of the variable containing the number of trials (only
for binomial regressions). If a single integer is provided this is
considered to be a the constant number of trials across all measurements.
- dvar_percentage
Only for binomial distribution. If set TRUE, the
dependent variable is assumed to represent proportions [0,1]
. Otherwise
dvar is assumed to represent counts.
- ...
Further arguments passed to the glm function.
- x
Object
- lag_max
Maximum lag to be reported for autocorrelation of residuals.
Default is 3
. Set FALSE
for no report of autocorrelations.
- ci
Print confidence intervals. Either FALSE, TRUE or a number
between 0 and 1 (0.90 for a 90% intervals).
- q
Logical. If set TRUE
, Yule's Q is reported.
- object
An scdf or an object exported from a scan function.
- caption
Character string with table caption. If left NA (default) a
caption will be created based on the exported object.
- footnote
Character string with table footnote. If left NA (default) a
footnote will be created based on the exported object.
- filename
String containing the file name. If a filename is given the
output will be written to that file.
- nice
If set TRUE (default) output values are rounded and optimized for
publication tables.