The test only takes x as an input

>>

>>

Code: Select all

`MannKendall(x)`

Code: Select all

```
options:
- name: data
type: Data
description:
R: the data as a data frame
- name: x
title: Series to check trend
type: Variable
description:
R: a vector of strings specifying the series variable in `data`
...
```

I followed the ttest example which takes the 5 inputs

>> ttestIS(data, dep, group, alt='not equal', varEq=FALSE)

But when I check in R, the ttest takes only x and y as required inputs

>>

Code: Select all

```
Description
Performs one and two sample t-tests on vectors of data.
Usage
t.test(x, ...)
## Default S3 method:
t.test(x, y = NULL,
alternative = c("two.sided", "less", "greater"),
mu = 0, paired = FALSE, var.equal = FALSE,
conf.level = 0.95, ...)
## S3 method for class 'formula'
t.test(formula, data, subset, na.action, ...)
```

Best,

M

Guess my question is how to decide the inputs.