Description Usage Arguments Value Examples

Calculates the p-value for a given coefficient of correlation between two variables, using the t-statistic (student-t distribution).

1 |

`r` |
The coefficient of correlation to test |

`n` |
Sample size from the sample |

`side` |
To either get a two-tail or one-tail p-value (Default is "two") |

P-value

1 2 3 | ```
r <- 0.597
n <- 10
pval_corr(r, n)
``` |

maxgav13/GMisc documentation built on June 1, 2018, 11:08 a.m.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.