Learn R Programming

mixAK (version 2.2)

NMixMCMCdata: Data manipulation for the NMixMCMC function

Description

This is a help function for NMixMCMC function.

THIS FUNCTION IS NOT TO BE CALLED BY ORDINARY USERS.

Usage

NMixMCMCdata(y0, y1, censor)

Arguments

y0
see NMixMCMC function.
y1
see NMixMCMC function.
censor
see NMixMCMC function.

Value

  • A list with the following components:
  • y0worked out value of y0
  • y1worked out value of y1
  • censorworked out value of censor
  • nnumber of observations
  • pdimension of the response
  • LTplength of the lower triangle of the $p\times p$ matrix
  • naamLTpa character vector of length LTp with names (indices) for elements of a lower triangle of the $p\times p$ matrix
  • are.Censoredlogical value which indicates whether there are censored observations in the data
  • are.Rightlogical value which indicates whether there are right-censored observations in the data
  • are.Exactlogical value which indicates whether there are exact observations in the data
  • are.Leftlogical value which indicates whether there are left-censored observations in the data
  • are.Intervallogical value which indicates whether there are interval-censored observations in the data
  • is.Intervala logical vector of length $n$ which indicates whether a specific observation is interval-censored

See Also

NMixMCMC.