logVarTaylorFull {countprop}R Documentation

Full logp Variance-Covariance

Description

Estimates the variance-covariance of the log of the proportions using a Taylor-series approximation.

Usage

logVarTaylorFull(
  mu,
  Sigma,
  transf = c("alr", "clr"),
  order = c("second", "first")
)

Arguments

mu

The mean vector of the log-ratio-transformed data (ALR or CLR)

Sigma

The variance-covariance matrix of the log-ratio-transformed data (ALR or CLR)

transf

The desired transformation. If transf="alr" the inverse additive log-ratio transformation is applied. If transf="clr" the inverse centered log-ratio transformation is applied.

order

The desired order of the Taylor Series approximation

Value

The estimated variance-covariance matrix for log p.

Examples

data(singlecell)
mle <- mleLR(singlecell)
mu <- mle$mu
Sigma <- mle$Sigma

logVarTaylorFull(mu, Sigma)


[Package countprop version 1.0.1 Index]