LL: Calculate the log likelihood function given parameters

Description Usage Arguments Value

View source: R/LL.R

Description

Calculate the log likelihood function given parameters

Usage

1
LL(u, pi, mu1, mu2, var1, var2)

Arguments

u

The combined data of (y, x)

pi

The proportion of cell type 1 in all cells

mu1

The estimated (y,x) mean function of cell type 1

mu2

The estimated (y,x) mean function of cell type 2

var1

The estimated (y,x) variance of cell type 1

var2

The estimated (y,x) variance of cell type 2

Value

log likelihood function


JiayiJi/iProMix documentation built on Dec. 18, 2021, 1:30 a.m.