View source: R/triangles_dataset.R
| triangles_dataset | R Documentation |
For each tracer of interest, solves a series of minimal determined linear systems to assess how consistently that tracer constrains the source apportionment. In each iteration the tracer under evaluation is kept fixed while the remaining tracers needed to complete the system are drawn at random from the other measured tracers in the dataset.
triangles_dataset(
sources,
mixtures,
tracer = 0L,
iter = 100L,
seed = 69512L,
pb = NULL,
pb_offset = 0L,
tracer_current = NULL,
tracer_total = NULL,
verbose = TRUE
)
sources |
Data frame of source statistics: ID, one mean column per
tracer, one SD column per tracer, and sample size |
mixtures |
Data frame of mixture samples with the same tracer columns. |
tracer |
Integer (0-based). Index of the tracer under evaluation. |
iter |
Integer. Number of Monte Carlo iterations per mixture sample. Default 100L. |
seed |
Integer. Random seed for reproducibility. Default |
pb |
An optional |
pb_offset |
Integer. Starting offset for the external progress bar. Default |
tracer_current |
Integer. Position of this tracer in the outer loop. Default |
tracer_total |
Integer. Total number of tracers in the outer loop. Default |
verbose |
Logical. Whether to print tracer progress messages to the console. Default is |
This function is called internally by CI_Method() and is not usually
invoked directly by the user.
A data frame with nrow(mixtures) * iter rows containing mixture ID,
GOF, and estimated source proportions (w.*).
CI_Method
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.