multcor.test {biotools} | R Documentation |

## Pairwise Correlation t-Test

### Description

It performs multiple correlation t-tests from a correlation matrix based on the statistic:

`t = r * \sqrt(df / (1 - r^2))`

where, in general, `df = n - 2`

.

### Usage

```
multcor.test(x, n = NULL, Df = NULL,
alternative = c("two.sided", "less", "greater"), adjust = "none")
```

### Arguments

`x` |
a correlation matrix. |

`n` |
the number of observations; if |

`Df` |
the number of degrees of freedom of the t statistic; if |

`alternative` |
the alternative hypothesis. It must be one of "two.sided", "greater" or "less". You can specify just the initial letter. "greater" corresponds to positive association,"less" to negative association. The default is "two.sided". |

`adjust` |
The adjustment method for multiple tests. It must be one of
"holm", "hochberg", "hommel", "bonferroni", "BH", "BY", "fdr",
"none" (default). For more information, see |

### Value

A list with class "multcor.test" containing the following components:

`t.values` |
the t-value calculated for each correlation. |

`p.values` |
the p.value for each t-test, adjusted for multiple tests. |

`p.check` |
a matrix containing the |

`adjustemnt` |
a character indicating the p-value adjustment method. |

`df` |
the degrees of freedom of the tests. |

`alternative` |
a character indicating the type of alternative hypothesis. |

`data.name` |
a character string giving the name of the data. |

### Author(s)

Anderson Rodrigo da Silva <anderson.agro@hotmail.com>

### See Also

### Examples

```
data(peppercorr)
multcor.test(peppercorr, n = 20)
# End (not run)
```

*biotools*version 4.2 Index]