caiman.pred: Predict D-CAIMAN model

Usage Arguments Examples

View source: R/caiman2-internal.R View source: R/caiman.pred.R

Usage

1
caiman.pred(CT, newx)

Arguments

CT
newx

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
##---- Should be DIRECTLY executable !! ----
##-- ==>  Define data, use random,
##--	or do  help(data=index)  for the standard data sets.

## The function is currently defined as
function (CT, newx) 
{
    classes = CT[["classes"]]
    Xtx = CT[["xtx"]]
    m = CT[["centroid"]]
    K = .genhiddenSpace(classes, newx, Xtx, m)
    .genmin(CT$classes, K)
  }

pedroaraujo9/caiman2 documentation built on Dec. 2, 2018, 12:19 p.m.