Dear R Helpers,
I need help with a slightly unusual situation in which I am trying to
select some columns from a data frame. I know how to use the subset
statement with column names as in:
x=as.data.frame(matrix(c(1,2,3,
1,2,3,
1,2,2,
1,2,2,
Hello,
It works for me if I replace
ImportantVars - as.character(ImportantVars)
by
ImportantVars - ImportantVars$Vars
Hope this helps,
Pascal
2013/5/17 Sparks, John James jspa...@uic.edu
Dear R Helpers,
I need help with a slightly unusual situation in which I am trying to
select
On May 17, 2013, at 12:02 , peter dalgaard wrote:
On May 17, 2013, at 08:51 , Sparks, John James wrote:
Dear R Helpers,
I need help with a slightly unusual situation in which I am trying to
select some columns from a data frame. I know how to use the subset
statement with column
On May 17, 2013, at 08:51 , Sparks, John James wrote:
Dear R Helpers,
I need help with a slightly unusual situation in which I am trying to
select some columns from a data frame. I know how to use the subset
statement with column names as in:
Notice that subset() is a convenience
4 matches
Mail list logo