Set the prior weights in a UBaymodel object.
setWeights(model, weights, block_list = NULL, block_matrix = NULL)a UBaymodel object with updated prior weights
a UBaymodel object created using build.UBaymodel
the vector of user-defined prior weights for each feature
the list of feature indices for each block; only required, if block-wise weights are specified and block_matrix is NULL
the matrix containing affiliations of features to each block; only required, if block-wise weights are specified and block_list is NULL
build.UBaymodel