emBinBspl: NPBin model.

Description Usage Arguments Details Value See Also

View source: R/npbin.R

Description

NPBin model.

Usage

1
2
3
emBinBspl(x, m, breaks = seq(0, 1, length.out = 101), k = 4,
  pi.init = rep(1, length(breaks) + k - 4)/(length(breaks) + k - 4),
  ncores = 1, err.max = 1e-06, iter.max = 200)

Arguments

x

x

m

m

breaks

break points for the spline

k

Spline order

ncores

Number of cores to use

err.max

Max error for the EM algorithm

iter.max

Max number of iterations

Details

We remove the basis that only covers bin at the boundary

Value

A list giving model details

See Also

bsplfun, getDesignMtx, npbin


anthony-aylward/npbin documentation built on Aug. 22, 2019, 8:08 a.m.