search for: anviron

Displaying 1 result from an estimated 1 matches for "anviron".

Did you mean: environ
2009 Feb 10
2
Problem with retrieving updated variables after attach()
Hello, suppose I have a data frame: > mat id age 1 NA NA 2 NA NA 3 NA NA 4 NA NA 5 NA NA Then I attach the data frame: > attach(mat) I assign some new values... > id <<- sample(100,5) > age <<- rnorm(5,mean=30) Then I want to create a new data frame from the variables id and age which still are attached to position 2 of the R environment... > new_mat <-