removed reference to nrow
if a variable is in obs_by or in newdata and obs_by = TRUE then the base value for this variable is also an observed value