Data frame challenge [🇷 for BE/BA]

posted by ElMaestro  – Denmark, 2016-12-19 22:06 (2973 d 21:17 ago) – Posting: # 16859
Views: 4,455

Dear zizou,

❝ If you expect numeric values with some text known before you can use:

A=read.table("SomeFile.csv", colClasses="numeric", na.strings=c("Banana","Apple"), header=T)


Thanks. Actually, what I have are vectors of times for plasma samples, and vectors with corresponding concentrations. Can use that to extract a bunch of info, including AUCt and Cmax and much else.
Sometimes unquantified (unquantifiable) concentrations for a variety of reasons are marked like "BLQ", "BLQ/2", "?", "???", "NA", "Missing", "M", "Note", "UNQ", and any other variation you can think of in English, German, Swahili, French, Inuit and 56 other languages.
I may be exaggerating ever so slightly, what I am trying to say is that it is a wee bit open-ended with those non-numeric strings. :-)

Pass or fail!
ElMaestro

Complete thread:

UA Flag
Activity
 Admin contact
23,376 posts in 4,912 threads, 1,662 registered users;
157 visitors (0 registered, 157 guests [including 15 identified bots]).
Forum time: 19:24 CET (Europe/Vienna)

There are sadistic scientists who hurry to hunt down errors
instead of establishing the truth.    Marie Curie

The Bioequivalence and Bioavailability Forum is hosted by
BEBAC Ing. Helmut Schütz
HTML5