Hello, I have been using sink to create text file outputs. >sink("summ_model1and2.txt") > summary(model1) > summary(model2) > sink()
Q1: Is there a way I could add a line of the text above the summary to act like a title? Also, I have been using the following to save plots from the lm function: > pdf("small.bin.ENN_MN_withQ.pdf") > par(mfrow = c(2, 2), oma = c(0, 0, 2, 0)) > plot(small.bin.ENN_MN) > plot(small.bin.ENN_MN.q) > dev.off() Q2: Is there a way I could save the output from 'summary' into a c(2,2) window like I do with the plots? Thank you kindly, Cheers, M Just [[alternative HTML version deleted]] ______________________________________________ R-help@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.