Re: [R] Fit non-lineair 3D Data

2005-12-19 Thread Antonio, Fabio Di Narzo
2005/12/18, Bart Joosen [EMAIL PROTECTED]: Hi, I have a problem with fitting a model: I made a dataframe with this data: a - 1:3 b - 1:3 c - c(3, 2, 3, 2, 1, 2, 3, 2, 3) df - expand.grid(a,b) df$result - c names(df) - c(A,B, result) Although I can make a graph

[R] Fit non-lineair 3D Data

2005-12-18 Thread Bart Joosen
Hi, I have a problem with fitting a model: I made a dataframe with this data: a - 1:3 b - 1:3 c - c(3, 2, 3, 2, 1, 2, 3, 2, 3) df - expand.grid(a,b) df$result - c names(df) - c(A,B, result) Although I can make a graph of the data: require(lattice)