Commit de8430e5 authored by Monnet Jean-Matthieu's avatar Monnet Jean-Matthieu

Print changed to warning in ABAmodel (2)

parent 7b507821
......@@ -58,7 +58,7 @@ ABAmodel <- function(variable, predictors, transform="none", nmax=3, test=c("par
# remove variable with non-finite values if present
if (!all(testfini))
{
print(paste("Remove variables because of non-finite values after log transform: ",paste(names(donneest[which(!testfini)]))))
warning(paste("Remove variables because of non-finite values after log transform: ",paste(names(donneest[which(!testfini)]))))
}
# add variables with non-finite values to vector of columns to be removed before model building
tempvar <- c(tempvar, which(!testfini))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment