View source: R/alignment_functions.R
channel_correlation | R Documentation |
Calculate correlation coefficient between two channels (e.g. temperature and conductivity)
channel_correlation(
x,
exclude_flag = TRUE,
c1 = "temperature",
c2 = "conductivity",
min_pressure = 4,
cor_method = "pearson"
)
x |
oce object |
exclude_flag |
Logical denoting whether bad scans (flag < 0) should be excluded. |
c1 |
Name of first channel as a character vector. Default = "temperature" |
c2 |
Name of second channel as a character vector. Default = "conductivity" |
min_pressure |
Minimum pressure to use for correlations |
cor_method |
Correlation method to use as a character vector (see ?cor) |
Correlation coefficient (1L numeric)
Sean Rohan
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.