[R] Computing plot size in Sweave
BXC (Bendix Carstensen)
bxc at steno.dk
Mon Feb 20 16:15:55 CET 2012
Sometimes you want to compute the physical size of a plot based on data.
In R itself this is no problem.
But is there a way to compute the values of height and width in S-weave, say:
<<graph,fig=TRUE,height=xx,width=yy>>=
where xx and yy are computed and not physically written in the document?
Bendix
______________________________________________
Bendix Carstensen
Senior Statistician
Epidemiology
Steno Diabetes Center A/S
Niels Steensens Vej 2-4
DK-2820 Gentofte
Denmark
+45 44 43 87 38 (direct)
+45 30 75 87 38 (mobile)
bxc at steno.dk http://BendixCarstensen.com
www.steno.dk
This e-mail (including any attachments) is intended for ...{{dropped:8}}
More information about the R-help
mailing list