acc: Computes prediction accurcy on test sample from the train...

Usage Arguments Examples

Usage

1
acc(x, p)

Arguments

x
p

Examples

1
2
3
4
5
6
7
8
9
##---- 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 (x, p) 
{
    return(xtabs(~x + p))
  }

bvnlab/SCATTome documentation built on May 13, 2019, 9:05 a.m.