View source: R/correlation.regression.functions.R
corEns | R Documentation |
Primary function for calculating correlation ensembles
corEns(
time.1,
values.1,
time.2,
values.2,
bin.vec = NA,
bin.step = NA,
bin.fun = mean,
max.ens = NA,
percentiles = c(0.025, 0.25, 0.5, 0.75, 0.975),
min.obs = 10,
fdr.qlevel = 0.05,
gaussianize = TRUE,
...
)
time.1 |
matrix of age/time ensembles, or single column |
values.1 |
matrix of values ensembles, or single column |
time.2 |
matrix of age/time ensembles, or single column |
values.2 |
matrix of values ensembles, or single column |
bin.vec |
vector of bin edges for binning step |
bin.step |
spacing of bins, used to build bin step |
bin.fun |
function to use during binning (mean, sd, and sum all work) |
max.ens |
Maximum number of ensembles to use |
percentiles |
quantiles to calculate for regression parameters |
min.obs |
minimum number of points required to calculate regression |
fdr.qlevel |
target false discovery rate (most users won't want to change this) |
gaussianize |
Convert data to Gaussian distribution before correlating? |
... |
Arguments passed on to
|
list of ensemble output and percentile information
View a full-fledged example of how to use this function.
Nick McKay
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.