new_ppdeconvObj: ppdeconv Object

View source: R/constructors.R

new_ppdeconvObjR Documentation

ppdeconv Object

Description

ppdeconv Object

Usage

new_ppdeconvObj(
  N = numeric(0),
  Q = matrix(nrow = 0, ncol = 0),
  P_fn,
  S = matrix(nrow = 0, ncol = 0),
  c0 = numeric(),
  l_breaks = numeric(),
  r_breaks = numeric(),
  l_grid = numeric(),
  r_grid = numeric(),
  p = NULL,
  a_idx = NULL,
  b_idx = integer(0),
  M = NULL
)

Arguments

N

a vector of length n of observed counts

Q

a m x p structure matrix

P_fn

a function on ppdeconvObj objects that returns an n x m matrix of transition probabilities

S

a p x p penalty matrix

c0

a numeric smoothness parameter

l_breaks

an (m + 1)-vector of latent space break points

r_breaks

an (n + 1)-vector of observed space breaks points

l_grid

an m-vector of points between the breaks of l_breaks

r_grid

an n-vector of points between the breaks of r_breaks

a

a p-dimensional parameter vector corresponding to Q

Value

a ppdeconvObj object

Examples

#TODO

PeteyCoco/ppdeconv documentation built on March 21, 2022, 5:35 a.m.