as.data.from: remove discretes.as.factor for consistency