diff options
author | Johannes Ranke <jranke@uni-bremen.de> | 2020-11-11 09:47:46 +0100 |
---|---|---|
committer | Johannes Ranke <jranke@uni-bremen.de> | 2020-11-11 09:47:46 +0100 |
commit | 349285fccfcb3327eb1f9924db5a880f1e5e1a7d (patch) | |
tree | b551d2f526920c58404056dc81496cd558c7b1b0 /man | |
parent | 606ef9ad6cae0ddfae6db6b90deb03f81140e46f (diff) |
Add print and plot calls to the saem example code
Diffstat (limited to 'man')
-rw-r--r-- | man/saem.Rd | 7 |
1 files changed, 5 insertions, 2 deletions
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) } } |