Re: [R] Creating a .png with just an expression() in it

From: David Winsemius <dwinsemius_at_comcast.net>
Date: Fri, 04 Mar 2011 10:12:33 -0500

On Mar 4, 2011, at 8:31 AM, Alexx Hardt wrote:

> Hey,
> I'm trying to create an image file with the results of a regression
> analysis. In TeX, the line would be something like:
> $ size = 0.34 + 4.3 var_1 $
>
> Can I create a plot window with just this line in it? I tried
> playing around with plot.new() or dev.new(), but didn't really find
> something that worked.

plot(NULL, xlim=c(0,1), ylim=c(0,1), ylab="") abline(0.34, 4.3)

-- 
David Winsemius, MD
Heritage Laboratories
West Hartford, CT

______________________________________________
R-help_at_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.
Received on Fri 04 Mar 2011 - 15:16:41 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Fri 04 Mar 2011 - 16:10:19 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive