Description Usage Arguments Value Author(s)
Calculates the p-value and r-value for the correlation shown in the upper left hand side of the figure.
1 | linearStats(data, xVar, yVar)
|
data |
tibble; Includes survival for each examined group and cancer. |
xVar |
character; The 1st group to calculate the correlation for. Must be a column in data. |
yVar |
character; The 2nd group to calculate the correlation for. Must be a column in data. |
A tibble with the p.value and estimate for the correlation between variables.
Jason T. Serviss
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.