I am using the forestplot() function, like so:
tabletext <- cbind(c("Studies","Group 1 ","Group 2 ",NA,"Summary"),
c("OR ","1.05 [0.90,1.20]","1.30 [1.20,1.40]",NA,"1.20 [1.10,1.30]"))
m <- c(NA,0.05,0.30,NA,0.175)
l <- c(NA,-0.10,0.20,NA,0.05)
u <-...
I want to make a string variable with a number of 0's (say 842 for example).
This works:
*Macro to make a string var of specified length;
%macro zerofill(strname, strlength);
length &strname $100.;
%let strtemp=%eval(&strlength);
%do %while (&strtemp>0);
substr(&strname, &strtemp, 1)="0";
%let...