Displaying 3 results from an estimated 3 matches for "mpward".
Did you mean:
upward
2010 Jul 26
1
After writing data in MMF using SEXP structure, can i reference in R?
...m)
25. How to generate a sequence of dates without hardcoding the
year (Felipe Carrillo)
26. Re: How to generate a sequence of dates without hardcoding
the year (Henrique Dallazuanna)
27. Re: Trouble retrieving the second largest value from each row
of a data.frame ([4]mpward at illinois.edu)
28. Re: (no subject) (Paul Smith)
29. Re: How to generate a sequence of dates without hardcoding
the year (jim holtman)
30. Re: glm - prediction of a factor with several levels (zachmohr)
31. Re: Trouble retrieving the second largest value from each row...
2010 Jul 24
4
Trouble retrieving the second largest value from each row of a data.frame
I have a data frame with a couple million lines and want to retrieve the largest and second largest values in each row, along with the label of the column these values are in. For example
row 1
strongest=-11072
secondstrongest=-11707
strongestantenna=value120
secondstrongantenna=value60
Below is the code I am using and a truncated data.frame. Retrieving the largest value was easy, but I have
2011 Aug 10
2
using if then statements in a dataframe
I used this service several months ago and was very pleased with the response.
I have a dataframe with several thousand lines and to each line I need to apply a series of "if else" statements. For each row I need either a value or a blank/NA. Below is the series of if else statements I have been trying without success to integrate into a function such as "apply".
if