View source: R/poisson_deviance.R
poissonDeviance | R Documentation |
Poisson Deviance
poissonDeviance(y, rate = NULL, n = NULL)
y |
Sparse matrix (can be a matrix, dgCMatrix, or SparseMatrix) |
rate |
Row-wise rates |
n |
Total counts in each column |
Row-wise Poisson deviance
data("tenx_subset")
dev <- poissonDeviance(tenx_subset)
hist(dev, nclass = 50)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.