Skip to contents

Generates simple ordinal network data for quick testing

Usage

simulate_test_data(n = 10, n_col = n, p = 2, time = 20, seed = NULL)

Arguments

n

Number of row actors / senders

n_col

Number of column actors / receivers (default: n)

p

Number of relations

time

Number of time points

seed

Random seed

Value

Array of ordinal network data

See also

dbn for model fitting, simulate_static_dbn for full simulation with true parameters

Examples

Y <- simulate_test_data(n = 10, time = 5, seed = 42)
str(Y)
#>  int [1:10, 1:10, 1:2, 1:5] NA 5 4 5 3 3 3 4 3 3 ...