Learn R Programming

CEGO (version 2.4.3)

distanceStringHamming: Hamming Distance for Strings

Description

Number of unequal letters in two strings.

Usage

distanceStringHamming(x, y)

Value

numeric distance value $$d(x,y)$$

Arguments

x

first string (class: character)

y

second string (class: character)

Examples

Run this code
distanceStringHamming("ABCD","AACC")

Run the code above in your browser using DataLab