Re: [R] Adding text to existing PDF's created with R

2020-10-07 Thread Urs Kleinholdermann
I don't know if R is capable of doing that.  What you want to do should be possible using pdftk with the multistamp option though: 1. create another pdf (pagenumbers.pdf) of the same length (same number of pages) which just has the page numbers on it 2. merge with existing, unnumbered text.pdf

[R] adding predictor to linear model without changing existing coefficients

2017-05-17 Thread Urs Kleinholdermann
Dear list members, I want to add a predictor to a linear model without changing the coefficients of the existing model. How is that done with R? So if I have a response y and predictors x1, x2, x3 I want to make a model lm1 like lm1 = lm(y~x1+x2) After this model is computed I want to add x3 l