Skip to contents

Return the design table associated with the test set from an object.

Usage

test_design(obj)

# S3 method for class 'mvpa_design'
test_design(obj)

Arguments

obj

The object from which to extract the test design table.

Examples

ds <- gen_sample_dataset(D = c(4, 4, 4), nobs = 10, external_test = TRUE)
#> external test
test_design(ds$design)
#> # A tibble: 10 × 2
#>    Ytest .rownum
#>    <fct>   <int>
#>  1 d           1
#>  2 c           2
#>  3 a           3
#>  4 a           4
#>  5 e           5
#>  6 e           6
#>  7 b           7
#>  8 d           8
#>  9 c           9
#> 10 b          10