Description Usage Arguments Value Examples
Computes Pearson Product Moment Correlation
1 | rthpearson(x, y, nthreads = rth.nthreads())
|
x |
a numeric vector |
y |
a numeric vector |
nthreads |
An optional argument for specifying the number of threads (in the case of OpenMP or TBB backends) that the routine should (at most) use. Does nothing with a CUDA backend. See nthreads. |
The Pearson Moment Correlation
1 2 3 4 5 6 | ## Not run:
x <- c(44.4, 45.9, 41.9, 53.3, 44.7, 44.1, 50.7, 45.2, 60.1)
y <- c( 2.6, 3.1, 2.5, 5.0, 3.6, 4.0, 5.2, 2.8, 3.8)
rthpearson(x, y)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.