Hi All,

I have 4000 case which have string variables in them, i want to do some
fuzzy matching and create a new variable that is of the same length with 0
or 1's
if i use the code
test<- agrep("web Klick",ETC$Exposure.Type , max = 2, ignore.case = TRUE)
it works but i get
> length(test)
[1] 3127

This returns the case values that do match, can someone tell me how to match
this on the dataset (ETC) that i have as 1 and 0 ?

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to