on 06/19/2008 11:28 PM Rolf Turner wrote:
On 20/06/2008, at 4:07 PM, Moshe Olshansky wrote:
If you know the value of k then you could do the following:
goodNames <- paste("V",1:k,sep="")
ind <- which(colnames(df) %in% goodNames)
df[,ind]
(where df is your dataframe).
P.S. I won't be surpris
On 20/06/2008, at 4:07 PM, Moshe Olshansky wrote:
If you know the value of k then you could do the following:
goodNames <- paste("V",1:k,sep="")
ind <- which(colnames(df) %in% goodNames)
df[,ind]
(where df is your dataframe).
P.S. I won't be surprised if df[,goodNames] is all right too (have
If you know the value of k then you could do the following:
goodNames <- paste("V",1:k,sep="")
ind <- which(colnames(df) %in% goodNames)
df[,ind]
(where df is your dataframe).
P.S. I won't be surprised if df[,goodNames] is all right too (have not checked).
--- On Fri, 20/6/08, Gundala Viswanath
3 matches
Mail list logo