Description Usage Arguments Value Examples

Utility function to compute number of zeros-per-feature within group

1 2 3 4 5 6 7 | ```
nnzeroGroups(X, y, MARGIN = 2)
## S3 method for class 'dgCMatrix'
nnzeroGroups(X, y, MARGIN = 2)
## S3 method for class 'matrix'
nnzeroGroups(X, y, MARGIN = 2)
``` |

`X` |
matrix |

`y` |
group labels |

`MARGIN` |
whether observations are rows (=2) or columns (=1) |

Matrix of groups by features

1 2 3 4 |

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.