Learn R Programming

conjurer (version 1.1.0)

genFirstPairs: Extracts the First Two Alphabets of the String

Description

For a given string, this function extracts the first two alphabets. This function is further used by genMatrix function.

Usage

genFirstPairs(s)

Arguments

s

A string. This is the string from which the first two alphabets are to be extracted.

Value

First two alphabets of the string input.