StabCalc2.Rd
This function splits the data.table
output by PrepareStabData
into a list using the Outcome
and Practice
fields,
then applies ERAg::StabCalc
to each element of the list. The results are concatenated and returned in a list.
A data.table
generated by the ERAg::PrepareStabData
function.
Logical. If TRUE
, coefficient estimates are weighted according to the weightings in the Data
object (default = TRUE).
Logical. This parameter is deprecated (default = TRUE).
Logical. If TRUE
, extreme outliers are removed within each Practice x Outcome combination (default = TRUE).
Logical. If TRUE
, back-transformed coefficient estimates and confidence intervals are appended to outputs (default = TRUE).
Logical. If TRUE
, random effects models are included (default = TRUE).
List of control values for the rma.mv
estimation algorithm. Defaults to list(optimizer="optim", optmethod="Nelder-Mead", maxit=10000)
.
Character vector of response variables (default = c("lnRR","lnVR","lnCVR")
).
Logical. If TRUE
, uses the scale-adjusted coefficient of variation (acv) instead of the coefficient of variation (cv) (default = FALSE).
Logical. If TRUE
, analysis is conducted at the Crop x Outcome x Practice level (default = FALSE).
Integer. Number of cores to use for parallel processing. If Cores = 1
, runs sequentially (default = 1).
A list containing:
[[StabStats]]
: Results from ERAg::StabCalc
for each Practice x Outcome (and EU if Inc.Prod = TRUE
).
[[StabStats.Test]]
: Equivalent of the [[Tests]]
output from ERAg::StabCalc
.
[[StabStats.Tab]]
: Equivalent of the [[Coefs]]
output from ERAg::StabCalc
.
[[StabStats.Test2]]
: Equivalent of the [[Tests2]]
output from ERAg::StabCalc
.
[[StabList]]
: A list of the input Data
, split by Practice and Outcome (and EU if Inc.Prod = TRUE
).