Description Usage Arguments Details Value References

View source: R/permutationPA.R

Estimate a number of significant principal components from a permutation test.

1 2 | ```
permutationPA(dat, B = 100, threshold = 0.05, verbose = TRUE,
seed = NULL)
``` |

`dat` |
a data matrix with |

`B` |
a number (a positive integer) of resampling iterations. |

`threshold` |
a numeric value between 0 and 1 to threshold p-values. |

`verbose` |
a logical indicator as to whether to print the progress. |

`seed` |
a seed for the random number generator. |

Adopted from sva::num.sv, and based on Buja and Eyuboglu (1992)

`permutationPA`

returns

`p` |
a list of p-values for significance of principal components |

`r` |
an estimated number of significant principal components based on thresholding p-values at |

Buja A and Eyuboglu N. (1992) Remarks on parrallel analysis. Multivariate Behavioral Research, 27(4), 509-540

ncchung/jackstraw documentation built on April 4, 2018, 7:58 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.