Learn R Programming

TRES (version 1.1.1)

bat: Bat simulated data

Description

Simulated data used in tensor response regression (TRR). The pattern of coefficient is a bat.

Usage

data("bat")

Arguments

Format

A list consisting of three components:

x

A \(1 \times 20\) matrix

y

A \(64\times 64\times 20\) tensor

coeffiicients

A \(64\times 64 \times 1\) tensor with the bat pattern

Gamma

Two envelope basis: \(64 \times 14\) matrices

Examples

Run this code
# NOT RUN {
data("bat")
## Coefficients
coeff <- bat$coefficients
image(-coeff@data[, , 1], axes=TRUE, col = grey(seq(0, 1, length = 256)))
title('Coefficient matrix')
# }

Run the code above in your browser using DataLab