From 349285fccfcb3327eb1f9924db5a880f1e5e1a7d Mon Sep 17 00:00:00 2001 From: Johannes Ranke Date: Wed, 11 Nov 2020 09:47:46 +0100 Subject: Add print and plot calls to the saem example code --- man/saem.Rd | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'man/saem.Rd') diff --git a/man/saem.Rd b/man/saem.Rd index f75470a9..c37fbcfe 100644 --- a/man/saem.Rd +++ b/man/saem.Rd @@ -114,10 +114,13 @@ f_mmkin <- mmkin(list( # solutions written for mkin this took around four minutes f_saem_sfo_sfo <- saem(f_mmkin["SFO-SFO", ]) f_saem_dfop_sfo <- saem(f_mmkin["DFOP-SFO", ]) +# We can use print, plot and summary methods to check the results +print(f_saem_dfop_sfo) +plot(f_saem_dfop_sfo) summary(f_saem_dfop_sfo, data = FALSE) -# Using a single core, the following takes about 6 minutes, using 10 cores -# it is slower instead of faster +# Using a single core, the following takes about 6 minutes as we do not have an +# analytical solution. Using 10 cores it is slower instead of faster #f_saem_fomc <- saem(f_mmkin["FOMC-SFO", ], cores = 1) } } -- cgit v1.2.1