# functions to calculate pvalue

### Description

This function is created to calculate p values about MeDiA_k

### Usage

1 | ```
Media_pvalue(iTest,jTest,times,selectvec)
``` |

### Arguments

`iTest` |
a numeric matrix |

`jTest` |
a numeric matrix which has the same rows as iTest |

`selectvec` |
an integer vector which contains a series of K values you want to get |

`times` |
an integer indicates permutation times |

### Value

`Media_pvalue(iTest,jTest,times,selectvec)`

return a numeric vectors contains p values based on the selectvec(K value you want to select)

### Examples

1 2 3 4 5 |

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