Merge model of replicates into model of 1 replicate given train_idx and test_idx, the merged model contains all the information of train_idx from different replicates.

merge_replicates(ngme, train_idx, test_idx)

Arguments

ngme

a ngme object

train_idx

a vector of indices of train data

test_idx

a vector of indices of test data