Skip to content
Prev 258 / 585 Next

converting string to a object name of a dataset

On Mar 18, 2011, at 11:18 AM, Madan Gopal Kundu wrote:

            
Did you mean to type:

  data1<- data.frame(x=c(1:4), y=rep(1, 4))  # ?

 > data1
   x y
1 1 1
2 2 1
3 3 1
4 4 1
David Winsemius, MD
West Hartford, CT