Could you at least show how you were plotting it when you got the error. It is not clear what you are trying to plot. The statement plot("insert_file_name_here") did not make sense.
On Fri, Jan 15, 2010 at 5:48 PM, cobbler_squad <la.f...@gmail.com> wrote: > > Hello, > > As a result of running linear discriminant analysis, I need to be able to > plot the resulting file. I am not sure what the best way to do this is. So > far I have tried regular plot("insert_file_name_here") command but the > error > it gives me is Error in plot.new() : figure margins too large > > here is sample LDA code I am working with .... > > > library(MASS) > > example <- data.frame(as.matrix(t(read.table(file="trial.txt"))),syll = > c(rep("one",3),rep("two",3),rep("three",3))) > > table(lda(syll ~ ., example, CV =TRUE)$class,example$syll) > > what is the best way to plot the example file? > > sample "trial.txt" contents... > > 0.004764 -0.008445 0.015045 0.014658 0.004095 > -0.001678 0.011231 -0.003612 > 0.011409 > 0.010761 -0.009416 0.006008 0.001603 -0.004214 > -0.015367 0.014689 -0.003415 > -0.001983 > 0.004339 -0.018069 -0.001695 0.002632 0.011438 > -0.013996 0.012927 -0.002597 > -0.005044 > > thank you for your help. > -- > View this message in context: > http://n4.nabble.com/plotting-in-R-tp1015355p1015355.html > Sent from the R help mailing list archive at Nabble.com. > > ______________________________________________ > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide > http://www.R-project.org/posting-guide.html<http://www.r-project.org/posting-guide.html> > and provide commented, minimal, self-contained, reproducible code. > -- Jim Holtman Cincinnati, OH +1 513 646 9390 What is the problem that you are trying to solve? [[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.