Displaying 2 results from an estimated 2 matches for "segfr".
Did you mean:
egfr
2011 Oct 27
2
help with paste
...and i am creating combinations for analysis in the
end i need these variables to be displayed like "LEPTIN+SAA+PTH". currently
i am using loop to perform this. I would appreciate any pointers to do it
without the loop.
> mols=c("LEPTIN","SAA","PTH","sEGFR")
> samples=mols[1:3]
> samples
[1] "LEPTIN" "SAA" "PTH"
> names1=samples[1]
> for (j in 2:length(samples)){ names1 = paste (names1, samples[j],
> sep="+")}
> names1
[1] "LEPTIN+SAA+PTH"
>
thanks
sharad
--
View thi...
2011 Oct 27
2
help with parallel processing code
....x, using foreach,
iterators,doMC.
library(scatterplot3d) # Loads 3D library.
library(fields)
library(MASS)
library(ROCR)
library(verification)
library(caret)
library(gregmisc)
##simulated data
d=replicate(9, rnorm(40)+10)
colnames(d)<-c("LEPTIN","SAA","PTH","sEGFR","IGFBP6","MMP2","OPG","IGFBP3","PDGFAABB")
mols=c("LEPTIN","SAA","PTH","sEGFR","IGFBP6","MMP2","OPG","IGFBP3","PDGFAABB")
####Name of the results output...