Skip to content

Search Archives

Search tips
from:Name Search by author name, e.g. from:Duncan Murdoch "exact phrase" Match an exact phrase word1 word2 Match messages containing both words Date range Use the date pickers to filter results to a time period

Use the list dropdown to narrow results to a specific mailing list. Combine from: with other terms to filter by author and content.

7 results for “from:Dickison, Daniel”

aggregate.formula implicitly removes rows containing NA
Dickison, Daniel · Jan 11, 2011 · r-help

The documentation for `aggregate` makes it sound like aggregate.formula should behave identically to aggregate.data.frame (apart from the way the parameters are passed). But it looks like aggregate.formula is quietly removing rows where any of the "output...

Bug in agrep computing edit distance?
Dickison, Daniel · Nov 16, 2010 · r-help

The documentation for agrep says it uses the Levenshtein edit distance, but it seems to get this wrong in certain cases when there is a combination of deletions and substitutions. For example: > agrep("abcd", "abcxyz", max.distance=1) [1] 1...

Bug in agrep computing edit distance?
Dickison, Daniel · Nov 17, 2010 · r-devel

On 11/17/10 6:06 PM, "Joris Meys" <jorismeys at gmail.com> wrote: >Indeed, I get it. If the pattern is "xx", it is only matched against 2 >letters at the same time. All the rest doesn't matter...

aggregate.formula implicitly removes rows containing NA
Dickison, Daniel · Jan 11, 2011 · r-help

Oh wow, that would be it. Not sure how I missed that. Thanks for the tip. Sent from my iPhone On Jan 11, 2011, at 18:56, "David Winsemius" <dwinsemius at comcast.net> wrote: > > On Jan 11, 2011, at 5...

Bug in agrep computing edit distance?
Dickison, Daniel · Nov 17, 2010 · r-devel

I posted this yesterday to r-help and Ben Bolker suggested reposting it here... Dickison, Daniel <ddickison <at> carnegielearning.com> writes: > > The documentation for agrep says it uses the Levenshtein edit distance, > but it seems to get this wrong in...

Bug in agrep computing edit distance?
Dickison, Daniel · Nov 18, 2010 · r-devel

A followup to this. I got R to compile, and the following patch seems to fix this issue (I don't think my previous attachment worked so it's pasted inline). There is still a quirk, where tail insertions seem...

Bug in agrep computing edit distance?
Dickison, Daniel · Nov 17, 2010 · r-devel

I downloaded and compiled the standalone TRE agrep command line program, and I think I have a slightly better idea of what's going on. Basically R's agrep, like the command line tool, is matching all strings that *contain...

Can't find what you're looking for? Try searching with Google .