Learn R Programming

BaTFLED3D (version 0.2.11)

test: Get test predictions for a 3D BaTFLED model.

Description

This is just a wrapper that calls test_CP or test_Tucker depending on the type of model provided.

Usage

test(d, m, ...)

Arguments

d

object of the class input_data created with input_data()

m

object of the class CP_model or Tucker_model created with mk_model()

...

extra parameters passed to test_CP or test_Tucker

Value

An array of predicted responses the same size as m$resp.