search for: combdframe

Displaying 2 results from an estimated 2 matches for "combdframe".

2010 Feb 05
2
ifelse on a series of rows for multiple criteria
...ve values should be counted, and if the mean is <0 then only negative values should be counted. In cases where the mean is equal to zero, the value -99999 should be returned. The following is an example of the data frame I'm working on (all values are of class 'numeric'). > head(combdframe) ???????? V1?????? V2??????? V3???????? V4?????? V5??????? V6 1 -328.0999 3404.038? 791.7602? 211.23932 513.0479 -1178.079 2 -383.4249 3207.306? 808.7268? 141.20352 424.2388 -1164.402 3 -295.9050 2930.754? 918.1146?? 11.74804 464.2448 -1133.109 4 -326.8606 2703.638 1052.2824 -104.17344 246.2851 -11...
2010 Feb 05
1
Finding ranges on a per-row basis from several objects
Dear all, I'm attemping to find the overall range of values from column 5 of a series of 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]))) ???