set_trait_model function

Deprecated function for setting up parameters for a trait-based model