python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
Edit distance for a four-digit sequential ranking in R? (stringdist)
Right now, I am trying to create scale scores for participants who ranked four job candidates (A, B, C, and D) to a role from best fit to worst fit. The correct order is A, D, C, B. As far as my dataf...
xenotharm
Votes: 0
Answers: 0
Matching strings with abbreviations; fuzzy matching
I am having trouble matching character strings. Most of the difficulty centers on abbreviation
I have two character vectors. I am trying to match words in vector A (typos) to the closes match in vecto...
YouLocalRUser
Votes: 0
Answers: 2
Match two columns based on string distance in R
I have two very large dataframes containing names of people. The two dataframes report different information on these people (i.e. df1 reports data on health status and df2 on socio-economic status). ...
srocco
Votes: 0
Answers: 1
Convert to matrix but keep one diagonal to NULL in R
I have a huge dataset and that look like this.
To save some memory I want to calculate the pairwise distance but leave the
upper diagonal of the matrix to NULL.
library(tidyverse)
library(stringdist)
...
LDT
Votes: 0
Answers: 2