# A Function to Perform Kruskal-Wallis Test

### Description

`kw.test`

performs Kruskal-Wallis test.

### Usage

1 |

### Arguments

`y` |
a numeric vector of data values. |

`group` |
a vector or factor object giving the group for the corresponding elements of y. |

`na.rm` |
a logical value indicating whether NA values should be stripped before the computation proceeds. |

### Value

A list with class "htest" containing the following components:

`statistic` |
the Kruskal-Wallis test statistic. |

`parameter` |
the parameter(s) of the approximate chi-squared distribution of the test statistic. |

`p.value` |
the p-value of the test. |

### Author(s)

Anil Dolgun, Osman Dag, N. Meric Konar

### References

Sheskin, D. J. (2004). *Handbook of Parametric and Nonparametric Statistical Procedures*. 3rd Edition. Chapman and Hall CRC. Florida: Boca Raton.

### Examples

1 |

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