[R] data frame to workspace

2011-11-03 Thread playballa23
Is there a way to import a data frame into a workspace? I created a data frame and from my understanding, a data frame is a type of object, and that the workspace stores the current session's objects. Wondering why my data frame is not showing up... Any thoughts/suggestions? -- View this message

Re: [R] Persp3d default view

2011-10-31 Thread playballa23
http://r.789695.n4.nabble.com/file/n3956027/myplot.png -- View this message in context: http://r.789695.n4.nabble.com/Persp3d-default-view-tp3956000p3956027.html Sent from the R help mailing list archive at Nabble.com. __ R-help@r-project.org mailing

[R] Persp3d default view

2011-10-31 Thread playballa23
Is there a way to default the view of the graph to a certain angle depending on a data set? If my z values are increasing, can I have the graph open up to an optimal way of viewing it, instead of actually turning the graph? How about if my z values are decreasing? -- View this message in context

Re: [R] 3d graph to show matrix of z matrix values

2011-10-28 Thread playballa23
> Hello, > > I'm not getting a great looking 3d graph when plotting my z values: > > x<- seq(0.0, max(d1), max(d1)/20) > y<- seq(0.0, max(d2), max(d2)/20) > z<- matrix(NA, length(x), length(y)) > > persp3d(x, y, z, phi=30, theta=30, scale=TRUE,shade = 0.75, > col=pal[col.ind], xlab=v

[R] 3d graph to show matrix of z matrix values

2011-10-28 Thread playballa23
Hello, I'm not getting a great looking 3d graph when plotting my z values: x <- seq(0.0, max(d1), max(d1)/20) y <- seq(0.0, max(d2), max(d2)/20) z <- matrix(NA, length(x), length(y)) persp3d(x, y, z, phi=30, theta=30, scale=TRUE,shade = 0.75, col=pal[col.ind], xlab=var.name[1], ylab