View source: R/signed_rankprod.R
signed_rankprod | R Documentation |
Signed rank products of a two column matrix. Larger statistics have stronger rank in the same or opposite direction.
signed_rankprod(
mat,
nsim = 1e+07 - 2,
same.dirction = FALSE,
reorder.rows = TRUE,
prefix = NULL,
seed = 100
)
mat |
Numeric matrix with two columns holding statistics per comparison & rows are analytes. |
nsim |
Numeric number of simulations. |
same.dirction |
Logical indicates whether the two ranks should be in the same direction. |
reorder.rows |
Logical, should rows be reordered by p-value? |
prefix |
Character string to add to beginning of column names. |
seed |
Random seed. |
Data frame with statistics from signed rank products test.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.