search for: distance_code2

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

2010 Dec 19
1
Random selection from a subsample
Dear Mailing List I have a data set (data4) consisting of a number of factors and a response variable. I wish to randomly sample from a combination of two of those factors (GIS_station and Distance_code2) and return a new dataframe containing the original data structure (i.e. all the columns) but only containing the randomly selected rows. The number of rows in each combination of GIS_station and Distance_code2 vary (widely) and some combinations are absent. This is getting there:: with (data...