search for: range_models

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

2010 Feb 05
1
Finding ranges on a per-row basis from several objects
...data frames, on a per-row basis, and assign the results to a new object. At present, I'm only able to receive the overall range of all values, whereas I'm intending to get the results of the range for each corresponding row. This is what I have so far: for (i in seq(nrow(dframe[1]))) ??? range_models <- rbind(range(c(dframe1[i,5]), range(dframe2[i,5]), range(dframe3[i,5]), range(dframe4[i,5]), range(dframe5[i,5]), range(dframe6[i,5]))) ??? } If it's of any help, the structure of each of the data frames is: > str(dframe1) 'data.frame':??? 61538 obs. of? 6 variables: ?$...