tshianza ☆ South Africa, 2018-09-28 10:16 (2400 d 14:45 ago) Posting: # 19335 Views: 3,613 |
|
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 |
yjlee168 ★★★ ![]() ![]() Kaohsiung, Taiwan, 2018-09-28 11:49 (2400 d 13:11 ago) @ tshianza Posting: # 19336 Views: 2,824 |
|
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.9.2:- created by Hsin-ya Lee & Yung-jin Lee Kaohsiung, Taiwan https://www.pkpd168.com/bear Download link (updated) -> here |