Data frame challenge [🇷 for BE/BA]

posted by ElMaestro  – Denmark, 2016-12-19 22:06 (3048 d 16:36 ago) – Posting: # 16859
Views: 4,600

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,424 posts in 4,927 threads, 1,668 registered users;
28 visitors (0 registered, 28 guests [including 11 identified bots]).
Forum time: 15:43 CEST (Europe/Vienna)

It is a well-known experience that the only truly enjoyable and
profitable way of studying mathematics is the method of
“filling in details” by one’s own efforts.    Cornelius Lanczos

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