Skip to content
Snippets Groups Projects
Commit ef1feb1f authored by Sebastian Henz's avatar Sebastian Henz
Browse files

Ensure p and q are the same between both models

parent de5ad224
No related branches found
No related tags found
1 merge request!23Change the way stress_tox_ca is calculated
Pipeline #2873 passed with stage
in 9 minutes and 28 seconds
This commit is part of merge request !23. Comments created here will be created in the context of that merge request.
......@@ -44,7 +44,9 @@ predict_mixture <- function(model_1,
length(concentration_2) == 1,
!is.na(concentration_2),
proportion_ca >= 0,
proportion_ca <= 1
proportion_ca <= 1,
model_1$args$p == model_2$args$p,
model_1$args$q == model_2$args$q
)
predicted_model_1 <- predict_ecxsys(model_1, concentration_1)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment