Closed sneumann closed 7 years ago
Hi!
My guess is, that the following lines in the function getNormalizedResponse produce Nas if min and max have the same value: norm_group_ratio <- (group_ratio - min(group_ratio)) / (max(group_ratio) - min(group_ratio)) norm_ARTS <- (ARTS - min(ARTS)) / (max(ARTS) - min(ARTS))
I updated the code to prevent Nas from these two lines: norm_group_ratio[is.na(norm_group_ratio)] <- 0 norm_ARTS[is.na(norm_ARTS)] <- 0
I'll update the repository later today.
best regards,
Hi,
does the latest version work for your dataset?
Cheers, Gunnar
Hi,
I get Error in lm.fit(x, y, offset = offset, singular.ok = singular.ok, ...) : 0 (non-NA) cases when doing:
Traceback shows: