South Africa,
2018-09-28 06:16
(891 d 18:37 ago)

(edited by tshianza on 2018-09-28 07:12)
Posting: # 19335
Views: 1,914

 Error in bear [R for BE/BA]

Hi all

I have been getting the following error when running the bear program in R

error in lm.fit(x y offset = offset singular.ok = singular.ok ...) na/nan/inf in 'y'

And I'm unsure of how my data should be adjusted
Kaohsiung, Taiwan,
2018-09-28 07:49
(891 d 17:03 ago)

(edited by yjlee168 on 2018-09-28 08:32)
@ tshianza
Posting: # 19336
Views: 1,529

 Error in bear

Dear tshianza,

The error may occur when trying to include a value of '0' or any non numeric (character, such as 'BLQ', "BLOQ' or 'BLLOQ') to do linear regression for the terminal elimination rate constant (i.e., λz). So please look at your dataset and remove the rows with conc. = 0 or = 'non numeric' (except data point with the time = 0). Then it should work.

» And I'm unsure of how my data should be adjusted

All the best,
-- Yung-jin Lee
bear v2.8.9:- created by Hsin-ya Lee & Yung-jin Lee
Kaohsiung, Taiwan http://pkpd.kmu.edu.tw/bear
Download link (updated) -> here
 Admin contact
21,371 posts in 4,463 threads, 1,496 registered users;
online 7 (0 registered, 7 guests [including 3 identified bots]).
Forum time: Monday 00:53 UTC (Europe/Vienna)

When puzzled, it never hurts to read the primary documents 
a rather simple and self-evident principle that has, nonetheless,
completely disappeared from large sectors
of the American experience.    Stephen Jay Gould

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