clean_model: Clean the trained models for ENIGMA objects

View source: R/clean_model.R

clean_modelR Documentation

Clean the trained models for ENIGMA objects

Description

clean the unwanted models in ENIGMA objects

Usage

clean_model(object, model_list)

Arguments

object

ENIGMA object

model_list

input the names (list) of models

Value

ENIGMA object

Examples

## Not run: 
egm = clean_model(egm,model_list = c(1,2)) # preserve the 1st and 2st models
egm = clean_model(egm,model_list = c("Wang")) # preserve the model which named as "Wang"
egm = clean_model(egm,NULL) # clean all saved model

## End(Not run)



WWXkenmo/ENIGMA_test documentation built on March 17, 2023, 4:56 a.m.