Description Usage Arguments Value

View source: R/classifypvalue.R

calculate P-value in code EMtest.

1 2 3 | ```
classifypvalue(type1, type2, type3, type4, sm1chring1, sm1chring2, sm1chring3,
sm1chring4, p, typelength, sm1chringlength, pvalue = rep(0,
length(sm1chring1)))
``` |

`type1` |
The first colum of the first matrix. |

`type2` |
The second colum of the first matrix. |

`type3` |
The third colum of the first matrix. |

`type4` |
The fourth colum of the first matrix. |

`sm1chring1` |
The first colum of the second matrix. |

`sm1chring2` |
The second colum of the second matrix. |

`sm1chring3` |
The third colum of the second matrix. |

`sm1chring4` |
The forth colum of the second matrix. |

`p` |
P-value. |

`typelength` |
The nrows of the first matrix. |

`sm1chringlength` |
The nrows of the second matrix. |

`pvalue` |
A vector, the length equals to the nrows of the second matrix. |

The probability.

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.