- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I'm using proc mixed to get estimates and the plots for model validity check.
ods graphics on;
ods output lsmeans=estimate
diffs=diff;
proc mixed data = mydata (where=(treatn in (1,2,3))) plots=all;
by estremn estrem atypen atype paramcd param avisitn avisit ;
class treatn;
model aval = treatn base/residual outp=resid;
lsmeans treatn / pdiff=control('1');
lsmeans treatn / pdiff=control('2');
run;
ods output close;
ods graphics off;
Help is needed to create a file in the "Output" folder where all the plots go instead of going to the user area folder
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Specify a statement like the following to direct the displayed results to an rtf file:
ods rtf file='tmp.rtf';
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
You might just need to close the Listing destination:
ods listing close;
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Related to your question, in SAS 9.4M6 the ODS destination for Word has been added as a preproduction destination. This destination creates Microsoft Word documents (.docx).
"The ODS destination for Word standard format is richer than the intermediate text formats of ODS RTF reports. Although Microsoft Word reads the intermediate text format reports, some SAS reporting elements might get lost in translation because the intermediate formats of the RTF-generated report are not as rich as the standard formats required by the ODS destination for Word."
ods word file="pagexofy.docx"
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
In ODS, you can control the image location (path) for ODS Graphics output and you can also specify the format of the image. Here's an example:
ods graphics
/ reset
width=5in /* width of the image = 5 inches */
imagename="fitplot"
imagefmt=png /* Format of the image */;
ods listing
gpath="path" /*path of the destination folder of the image */
image_dpi=200 /* Dot per inch resolution */
style=analysis /* ODS Style */;