Hi
As you did not provide any data you probably can not get canned solution
> Hello everyone,
>
> I have two questions:
>
> 1)
>
> I want to create a subset of a data frame column-wise and simultaneously
> extract the row names into a "proper" variable. I tried this, but
received
> an error:
Hello everyone,
I have two questions:
1)
I want to create a subset of a data frame column-wise and simultaneously
extract the row names into a "proper" variable. I tried this, but received
an error:
> myleft<-mydata[c(id=row.names(mydata),"workshop","gender","q1","q2")]
Error in `[.data.frame`(
2 matches
Mail list logo