Skip to content
Back to formatted view

Raw Message

Message-ID: <41967C5D.5010602@statistik.uni-dortmund.de>
Date: 2004-11-13T21:27:57Z
From: Uwe Ligges
Subject: Setting plots margin
In-Reply-To: <001301c4c807$58b74ab0$83dad10a@prod.omsv.ch>

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