aboutsummaryrefslogtreecommitdiff
path: root/docs/articles/FOCUS_D.R
blob: c3881e80711d9df5f68aa2818f519bbe90bc1aee (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
## ---- include = FALSE----------------------------------------------------
library(knitr)
opts_chunk$set(tidy = FALSE, cache = TRUE)

## ----data----------------------------------------------------------------
library("mkin")
print(FOCUS_2006_D)

## ----model---------------------------------------------------------------
SFO_SFO <- mkinmod(parent = mkinsub("SFO", "m1"), m1 = mkinsub("SFO"))
print(SFO_SFO$diffs)

## ----fit-----------------------------------------------------------------
fit <- mkinfit(SFO_SFO, FOCUS_2006_D, quiet = TRUE)

## ----plot, fig.height = 5------------------------------------------------
plot(fit, show_residuals = TRUE)

## ----plot_2, fig.height = 4----------------------------------------------
mkinparplot(fit)

## ------------------------------------------------------------------------
summary(fit)

Contact - Imprint