condLogLikDerSize {edgeR} | R Documentation |
Conditional log-likelihood paramterized in terms of size (1 / phi
)
condLogLikDerSize(y, r, der=1)
y |
matrix with count data (or pseudodata) |
r |
size parameter of negative binomial distribution |
der |
derivative, either 0 (the function), 1 (first derivative) or 2 (second derivative) |
vector or matrix of function/derivative evaluations
Mark Robinson, Davis McCarthy
y1<-matrix(rnbinom(10,size=1,mu=10),nrow=5) ll2<-condLogLikDerSize(y1,r=10,der=0)