Displaying 1 result from an estimated 1 matches for "crankshaw".
2018 Feb 24
3
Regression Tree Questions
...The error message is:
Error in model.frame.default(Terms, newdata, na.action = na.action, xlev = attr(object,  : 
factor Sq. Feet has new levels 1375, 1421, 1547, 1621, 1868, 2211, 2265, 2530, 2672, 3365
Does anybody know what is causing this?  I've pasted a snippet of my original dataset (Crankshaw) and my out-of-sample dataset below.  Below it appears all code which I entered leading up to that point.  The error message appears at the end of that code.
2.  How can I get the regression tree to display in a more "friendly" way?  Unfortunately I cannot paste a picture of it in this...