search for: keep_ord

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

Did you mean: keep_order
2012 Jan 15
0
patching ?merge to allow the user to keep the order of one of the two data.frame objects merged
...dear R-devel list members. Following an old (2002) thread from R-help (and having myself needing to solve the same question): https://stat.ethz.ch/pipermail/r-help/2002-October/026249.html I patched the {base} function "merge.data.frame" to have it work with a new parameter called "keep_order", and I hope you might consider including this patch (or some variation of it) in some future R release. Here is some explanation that might be added to the help file: keep_order can accept the numbers 1 or 2, in which case it will make sure > the resulting merged data.frame will be ord...
2012 Feb 11
3
Counting occurences of variables in a dataframe
Hi everybody, I have a large dataframe similar to this one: knames <-c('ab', 'aa', 'ac', 'ad', 'ab', 'ac', 'aa', 'ad','ae', 'af') kdate <- as.Date( c('20111001', '20111102', '20101001', '20100315', '20101201', '20110105', '20101001', '20110504',