On 12-04-03 4:35 PM, dnewbold wrote:
Hi, Im doing a simple non parametric regression using two variables(ie
regressing one on the the other), how would I counstruct my persp plot for
it with there only be two variables in total, . Any help would be much
appreciated.
You can't. persp() plots a
The persp function expects z to be a matrix, so you could reshape your data so
that z is a matrix (the reshape function or package may help). Or the
wireframe function in the lattice package expects data more like what you show,
that may be the easiest solution.
--
Gregory (Greg) L. Snow Ph.D
2 matches
Mail list logo