Make Event Vectors

make_event_vectors(event_names = LETTERS[1:10], vector_length = 10)

Arguments

event_names

character vector, names for each event

vector_length

integer, number of 1s for each vector

Value

matrix

Examples

make_event_vectors()
#>   [,1] [,2] [,3] [,4] [,5] [,6] [,7] [,8] [,9] [,10]
#> A    1    1    1    1    1    1    1    1    1     1
#> B    1    1    1    1    1    1    1    1    1     1
#> C    1    1    1    1    1    1    1    1    1     1
#> D    1    1    1    1    1    1    1    1    1     1
#> E    1    1    1    1    1    1    1    1    1     1
#> F    1    1    1    1    1    1    1    1    1     1
#> G    1    1    1    1    1    1    1    1    1     1
#> H    1    1    1    1    1    1    1    1    1     1
#> I    1    1    1    1    1    1    1    1    1     1
#> J    1    1    1    1    1    1    1    1    1     1