Displaying 1 result from an estimated 1 matches for "newgrowth".
2010 Sep 29
1
next step in randomly sampling
...t R to read my
data called growth which is the age and length for 10 fish:
> growth
Age Length
1 2 200
2 5 450
3 6 600
4 7 702
5 8 798
6 5 453
7 4 399
8 1 120
9 2 202
Then I believe I converted my data to a three vectors by:
newgrowth<-c(growth)
Now I want to randomly select the values from this dataset to create a new
dataset. I want to do this many times, however, for now I am just trying to
get it to randomly select from the dataset only once. The trick is that I
need to keep the columns together. Each age correspon...