View source: R/eval_diagnostics.R
eval_diag | R Documentation |
eval_diag
function for the evaluation of effect size and significance
of outliers on R detected with diagnostics, such as Cook's D or sigma
rejection (Cameca default method).
eval_diag( .IC, .ion1, .ion2, ..., .nest = NULL, .X = NULL, .N = NULL, .species = NULL, .t = NULL, .flag = NULL, .execution = NULL, .output = "inference", .tf = "ppt", .label = "none", .meta = FALSE, .mc_cores = 1 )
.IC |
A tibble containing ion count data and diagnostics generated with
|
.ion1 |
A character string constituting the rare isotope (e.g. "13C"). |
.ion2 |
A character string constituting the common isotope (e.g. "12C"). |
... |
Variables for grouping. |
.nest |
A variable hat identifies a series of analyses to calculate the significance of inter-isotope variability. |
.X |
A variable constituting the ion count rate (defaults to
variables generated with |
.N |
A variable constituting the ion counts (defaults to variables
generated with |
.species |
A variable constituting the species analysed (defaults to
variables generated with |
.t |
A variable constituting the time of the analyses (defaults to
variables generated with |
.flag |
A variable constituting the outlier flag (defaults to
variables generated with |
.execution |
A variable constituting the iterative cycles of diagnostics
(defaults to variables generated with |
.output |
A character string for output as summary statistics ("inference") and statistics with the original data ("complete"). |
.tf |
Variable transformation as parts per thousand ( |
.label |
A character string indicating whether variable names are latex
( |
.meta |
Logical whether to preserve the metadata as an attribute (defaults to TRUE). |
.mc_cores |
Number of workers for parallel execution (Does not work on Windows). |
A tibble::tibble()
with model output.
See point::names_model
for more information on the model results.
# Simulated IC data tb_dia <- diag_R(simu_IC, "13C", "12C", type.nm, spot.nm, .output = "diagnostic") # Evaluate significance and effect of outliers based on Cook's D eval_diag(tb_dia, "13C", "12C", type.nm, spot.nm, .nest = type.nm, .X = Xt.pr, .N = N.pr, .species = species.nm, .t = t.nm)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.