search for: asyl

Displaying 1 result from an estimated 1 matches for "asyl".

Did you mean: asyh
2012 Mar 06
1
sourcearg function is there a better way already built into R
...(arg){ su=sprintf("%s\n",arg) sink("TMPTMPRarg") printf("%s\n",arg) # printf = cat(sprintf(....)) sink() source("TMPTMPRarg") return(su) } A trival invocation is given below but the next time I get data the names of assays might be Mg,MN,and Fe asyl=c("MG","MN") for(asy in asyl){ j=read.csv(sprintf("%sDUPS.csv",asy),head=T) attach(j) printf("plot(%s,DUP%s,log=\"xy\")",asy,asy) sourcearg(sprintf("plot(%s+0.01,DUP%s+0.01,log=\"xy\",main=\"Redacted %s\nOrg Log+0.01 vs Dup...