Given a data set (x and y) and a vector that contains the row numbers of the observations that belong to the subset (inSubset) the functions runs n_permut permutations for determining 95 given subset correlation coefficient (r)
1 2 | inference_cor_perm(x, y, type = "simple", n_permut = 1000,
inSubset = NULL)
|
x |
x variable (numeric vector) |
y |
y variable (numeric vector) |
type |
"simple" or "studentized" permutation test |
n_permut |
number of permutations for the permutation test |
inSubset |
integer vector of the row numbers of all observations that belong to the subset |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.