Learn R Programming

diffobj (version 0.1.4)

ses: Shortest Edit Script

Description

Computes shortest edit script to convert a into b by removing elements from a and adding elements from b. Intended primarily for debugging or for other applications that understand that particular format. See http://www.gnu.org/software/diffutils/manual/diffutils.html#Detailed-Normal for how to interpret the symbols.

Usage

ses(a, b)

Arguments

a
character
b
character

Value

character

Examples

Run this code
ses(letters[1:3], letters[2:4])

Run the code above in your browser using DataLab