wilcoxon_filter | R Documentation |

Simple univariate filter using Wilcoxon (Mann-Whitney) test using the matrixTests package.

wilcoxon_filter( y, x, force_vars = NULL, nfilter = NULL, p_cutoff = 0.05, rsq_cutoff = NULL, type = c("index", "names", "full"), exact = FALSE, ... )

`y` |
Response vector |

`x` |
Matrix of predictors |

`force_vars` |
Vector of column names within |

`nfilter` |
Number of predictors to return. If |

`p_cutoff` |
p value cut-off |

`rsq_cutoff` |
r^2 cutoff for removing predictors due to collinearity.
Default |

`type` |
Type of vector returned. Default "index" returns indices, "names" returns predictor names, "full" returns a matrix of p-values. |

`exact` |
Logical whether exact or approximate p-value is calculated.
Default is |

`...` |
Further arguments passed to matrixTests::row_wilcoxon_twosample |

Integer vector of indices of filtered parameters (type = "index") or
character vector of names (type = "names") of filtered parameters. If
`type`

is `"full"`

full output from matrixTests::row_wilcoxon_twosample
is returned.

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.