powered by
filter data in a pmx controller
pmx_filter( ctr, data_set = c("estimates", "predictions", "eta", "finegrid", "shrink", "input", "individual", "sim_blq"), pmx_exp )
Returns a pmx controller with a filtered data set.
A controller. An object of 'pmxClass'
A data_set within the controller to apply a filter to.
A filter expression
# \donttest{ ## example of global filter ctr <- theophylline() ctr %>% pmx_filter(data_set = "prediction", ID == 5 & TIME < 2) ctr %>% get_data("prediction") # }
Run the code above in your browser using DataLab