View source: R/pvEBayes_object_S3_methods.R
extract_all_fitted_models | R Documentation |
This function retrieves the list of all fitted models from a pvEBayes_tuned
object, which is the output of the pvEBayes_tune()
function.
extract_all_fitted_models(object)
object |
An object of class |
A list containing the results of each model fitted during the tuning process.
valid_matrix <- matrix(c(1, 2, 3, 4, 5, 6, 7, 8), nrow = 2)
rownames(valid_matrix) <- c("AE_1", "AE_2")
colnames(valid_matrix) <- c("drug_1", "drug_2", "drug_3", "drug_4")
tuned_object = pvEBayes_tune(valid_matrix,
model = "general-gamma",
return_all_fit = TRUE)
extract_all_fitted_models(tuned_object)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.