factor to numeric conversion

Hugo,

It seems the conversion from factor to numeric for the target variable requires a +1 instead of a -1. At least to get it correct in my case.

T
Merge pull request #4 from tverbeiren/patch-1

factor to numeric conversion