Displaying 1 result from an estimated 1 matches for "sonl".
Did you mean:
sol
2005 Jul 15
1
2D contour predictions
...sion models and would now like to produce some
contour & image plots from the predictors.
Is there an easy way to do this? My current (newbie) experience with R
would suggest there is but that it's not always easy to find it!
f3 <- lm( fc ~ poly( speed, 2 ) + poly( torque, 2 ) + poly( sonl, 2 ) +
poly( p_rail, 2 ) + poly( pil_sep, 2 ) + poly( maf, 2 ) + (speed + torque +
sonl + p_rail + pil_sep + maf)^2 )
hat <- predict( f3 )
contour( sonl, maf, hat )
Error in contour.default(sonl, maf, hat) :
increasing 'x' and 'y' values expected
image(sonl, maf, hat)
Er...