andrewhooker / PopED

Population Experimental Design (PopED) in R

Home Page:https://andrewhooker.github.io/PopED/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

plot_model_prediction(output$poped.db,…) shows the initial sampling times, not the optimized times.

andrewhooker opened this issue · comments

A fix before I fix the code. If you first optimize:

output <- poped_optimize(poped.db,opt_xt=T)

afterwards, run the following lines of code:

output$poped.db$design$xt <- output$poped.db$gxt
output$poped.db$design$x <-output$poped.db$gx
output$poped.db$design$a <-output$poped.db$ga

Then the optimised design is displayed with

plot_model_prediction(output$poped.db) 

Fixed in versions > 0.1.2