View source: R/functions_ABC.R
removeVar | R Documentation |
Removes summary statistics with zero variance.
removeVar(observed, sumstats)
observed |
is a matrix of observed summary statistics. Each column should be a different summary statistic. |
sumstats |
is a matrix of simulated summary statistics. Each column should be a different summary statistic and each row a different simulation. |
Checks the variance of the summary statistics in the observed data and removes summary statistics with zero variance. Those summary statistics are removed from both the matrix of observed values and the matrix of simulated values.
a list with two named entries. One entry contains the matrix of observed summary statistics and the other the simulated summary statistics.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.