compute_deviance: Compute the deviance of a model

Description Usage Arguments Value

View source: R/utils.R

Description

Compute the deviance of a model

Usage

1
2
3
4
5
6
7
compute_deviance(
  Y,
  res,
  return_value = "deviance",
  X = NULL,
  method = "STRAND"
)

Arguments

Y

is a count tensor

res

is the output of running functionrun_EM.

X

is the matrix of covariates.

method

which method was used STRAND, or TENSIG, (default: "STRAND")

Value

deviance


emauryg/STRAND_R documentation built on Dec. 20, 2021, 4:22 a.m.