[R] Setting plots margin
Uwe Ligges
ligges at statistik.uni-dortmund.de
Sat Nov 13 22:27:57 CET 2004
Anne Piotet wrote:
> I have a problem with plot for summary
>
> s<-summary(response~ x1+x2+x3+x4+x5+x6+x7+
> + x8+ x9+x10)
>
>>plot(s)
>
>
> Error in plot.new() : Figure margins too large
> I tried to set the margins to null with par(mai=c(0,0,0,0))
>
> but keep getting the same error message....
>
> What is wrong?
Anne, at first, we can only see that your specification of the problem
is obviously wrong:
response <- 1:10
x1 <- 1:10
x2 <- 1:10
summary(response ~ x1 + x2)
# Length Class Mode
# 3 formula call
plot(summary(response ~ x1 + x2))
# Error in plot.table(summary(response ~ x1 + x2)) :
# invalid table `x'
What do you expect?
Uwe Ligges
>
> Thanks
> Anne
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
More information about the R-help
mailing list