(edited by tshianza on 2018-09-28 09:12)
Posting: # 19335
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
(edited by yjlee168 on 2018-09-28 10:32)
Posting: # 19336
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.6:- created by Hsin-ya Lee & Yung-jin Lee
Kaohsiung, Taiwan http://pkpd.kmu.edu.tw/bear
Download link (updated) -> here