data <- mkin_wide_to_long(schaefer07_complex_case, time = "time")
model <- mkinmod(
parent = list(type = "SFO", to = c("A1", "B1", "C1"), sink = FALSE),
A1 = list(type = "SFO", to = "A2"),
B1 = list(type = "SFO"),
C1 = list(type = "SFO"),
A2 = list(type = "SFO"))
fit <- mkinfit(model, data, plot=TRUE)
mkinresplot(fit, "A1")
Run the code above in your browser using DataLab