text_to_morse_numeric: Converts a text into a binary representation of Morse code

Description Usage Arguments Value Examples

View source: R/morse.R

Description

Converts a text into a binary representation of Morse code

Usage

1

Arguments

text

The text to convert. Ignores anything except the letters a-z (both upper and lower case), numbers, and spaces.

Value

A numeric vector with a binary representation of Morse code (with 1 = dot, 111 = bar, 0 = separator).

Examples

1
text_to_morse_numeric("SOS SOS SOS")

xmarquez/morsecode documentation built on Jan. 23, 2022, 12:47 p.m.