Description Usage Arguments Value References See Also Examples

Computes a Kendall rank correlation S-statistic for permutations of censored data. Collectively these represent the variation in S expected when the null hypothesis is true. Called by censeaken. computeS is not expected to be of much use to users on its own.

1 |

`x` |
Column of the time variable, either a sequence of days or decimal times, etc. Time data for one season. |

`y` |
The column of y (response variable) values plus detection limits for one season. |

`ycen` |
The y-variable indicators, where 1 (or |

`seas` |
Name of a single season classification. Usually though not necessarily a text variable. |

`R` |
The number of repetitions in the permutation process. R is often between 999 and 9999 (+ the 1 observed test statistic produces 1000 to 10000 realizations). |

An Rx1 matrix containing an S-value for each of the R data permutations.

Helsel, D.R., Hirsch, R.M., Ryberg, K.R., Archfield, S.A., Gilroy, E.J., 2020. Statistical Methods in Water Resources. U.S. Geological Survey Techniques and Methods, book 4, chapter A3, 458p., https://doi.org/10.3133/tm4a3.

Kendall::Kendall

1 2 3 4 5 6 7 8 |

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.