Skip to content
Prev 325042 / 398506 Next

Not sure this is something R could do but it feels like it should be.

On Jun 9, 2013, at 6:14 AM, Calum Polwart wrote:

            
I think you may have under-simplified rather than over-simplified. There is no such thing as getting "bogged down in detail". We need all the relevant details. I suspect that you have in mind a situation where you have multiple drugs and multiple forms in which they can be administered and are hoping for a processing method that "rounds" to the nearest tespoonful or tablet size given some set of patient specific factors such as age sex height or weight. If my guess is correct then you need to offer a sample set of data of at least theree types for A) drugs and phamacokinetic parameters, B) dosage forms, C) patient features. You also need to supply rules for "rounding" to he nearest "nice" unit of administration.
You need to describe explicitly how that determination is made.
I think you need to classify what pharmacokinetics apply to a particular drug (zeroth,  or first order kinetics, volume of distribution affected by <whatever>) and choose from a limited number of heuristics for drugs rahter than solving each case from first principles.