Perform permutation test for a linear statistic

1 2 3 4 |

`object` |
an object returned by |

`teststat` |
type of test statistic to use. |

`alternative` |
alternative for scalar or maximum-type statistics. |

`pvalue` |
a logical indicating if a p-value shall be computed. |

`lower` |
a logical indicating if a p-value ( |

`log` |
a logical, if |

`minbucket` |
minimum weight in either of two groups for maximally selected statistics. |

`ordered` |
a logical, if |

`pargs` |
arguments as in |

Computes a test statistic, a corresponding p-value and, optionally, cutpoints for maximally selected statistics.

A list.

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.