condLogLikDerSize {edgeR}R Documentation

Conditional log-likelihood in terms of size

Description

Conditional log-likelihood paramterized in terms of size (1 / phi)

Usage

 
condLogLikDerSize(y, r, der=1)

Arguments

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)

Value

vector or matrix of function/derivative evaluations

Author(s)

Mark Robinson, Davis McCarthy

Examples

y1<-matrix(rnbinom(10,size=1,mu=10),nrow=5)
ll2<-condLogLikDerSize(y1,r=10,der=0)

[Package edgeR version 1.2.4 Index]