South Africa,
2018-09-28 08:16
(edited by tshianza on 2018-09-28 09:12)

Posting: # 19335
Views: 1,493

 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 09:49
(edited by yjlee168 on 2018-09-28 10:32)

@ tshianza
Posting: # 19336
Views: 1,217

 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.7:- created by Hsin-ya Lee & Yung-jin Lee
Kaohsiung, Taiwan http://pkpd.kmu.edu.tw/bear
Download link (updated) -> here
 Admin contact
20,646 posts in 4,328 threads, 1,436 registered users;
online 15 (0 registered, 15 guests [including 8 identified bots]).
Forum time: 19:45 CEST (Europe/Vienna)

No one should approach the temple of science
with the soul of a money changer.    Thomas Browne

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