plot_eta_distributions#
- pharmpy.modeling.plot_eta_distributions(model, individual_estimates)[source]#
Plot eta distributions for all etas
- Parameters:
model (Model) – Previously run Pharmpy model.
individual_estimates (pd.DataFrame) – Individual estimates for etas
- Returns:
alt.Chart – Plot
Examples
from pharmpy.modeling import load_example_model, plot_eta_distributions from pharmpy.tools import load_example_modelfit_results model = load_example_model("pheno") res = load_example_modelfit_results("pheno") plot_eta_distributions(model, res.individual_estimates)
model <- load_example_model("pheno") res <- load_example_modelfit_results("pheno") plot_eta_distributions(model, res$individual_estimates)