Displaying 1 result from an estimated 1 matches for "toptot".
Did you mean:
toplot
2012 Sep 18
4
Conditional operations in R
...10%
C 10%
D 9%
E 8%
F 6%
G 4%
I need to come up w/ a monthly list of clients that make 50% or just above
it every month so I can pass them to the rest of the program. In this case
the list would contain the first 4 rows.
top <- client[c(1,4),]
toptot <- sum(top$PCTTOT)
How can I make this automatic? In SAS I would use macro w/ a do while.
Thanks for your help.
--
View this message in context: http://r.789695.n4.nabble.com/Conditional-operations-in-R-tp4643497.html
Sent from the R help mailing list archive at Nabble.com.