# Permutation Test

### Description

Perform permutation test for a linear statistic

### Usage

1 2 3 4 |

### Arguments

`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 |

### Details

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

### Value

A list.

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker. Vote for new features on Trello.