An embedded and charset-unspecified text was scrubbed... Name: not available Url: https://stat.ethz.ch/pipermail/r-help/attachments/20071218/1ae59ea6/attachment.pl
3d plotting
3 messages · Brad B, Scionforbai
60,000
I hope that you actually haven't got any comma to separate the thousands... it separates fields in a csv files (as the "Comma Separated Values" name may suggest). If so, get rid of the commas.
the 3dplot function returns this error, (list) object cannot be coerced to 'double'
td<-read.csv("td.csv", header=TRUE)
price<-read.csv("price.csv", header=TRUE)
contractdate<-read.csv("contractdate.csv", header=TRUE)
You have to coerce the 1-column dataframes created by read.csv to numeric vectors or to a 60000x3 dataframe. solution 1: myData <- cbind(td,contractdate,price)
library(rgl)
plot3d(mydata) solution 2: td <- as.numeric(td) ... price <- as.numeric(price) plot3d(td,contractdate,price) Bye, ScionForbai
An embedded and charset-unspecified text was scrubbed... Name: not available Url: https://stat.ethz.ch/pipermail/r-help/attachments/20071218/1ec8c61f/attachment.pl