make.test.vecs: Generate test vectors from tables

Description Usage Arguments Value Examples

View source: R/SphereKaji20140527.R

Description

Generate test vectors from tables

Usage

1
make.test.vecs(t.sphere, tests)

Arguments

t.sphere

table.sphere function's output

tests

A list of arrays/matrix of tables representing tests

Value

A number-of-test rows x df columns matrix of test vectos, each row of which is a test vector

alt.vec The vector of the estimated table in df-dimensional space

Examples

1
2
3
4
5
6
7
A <- matrix(c(10,20,30,40,50,60),2,3)
t.sphere <- table.sphere(A)
t1 <- t2 <- t3 <- matrix(c(1,0,0,0,0,0),byrow=TRUE,2,3)
t2[1,2] <- 0.5
t3[1,2] <- 1
tests <- list(t1,t2,t3)
make.test.vecs(t.sphere,tests)

ryamada22/mwaytable documentation built on May 28, 2019, 10:44 a.m.