blend_words: Blend two words into a portmanteau

View source: R/blend.R

blend_wordsR Documentation

Blend two words into a portmanteau

Description

Combines the beginning of word1 with the end of word2.

Usage

blend_words(word1, word2, overlap = NULL)

Arguments

word1

Character. First word (contributes beginning)

word2

Character. Second word (contributes ending)

overlap

Integer. Desired overlap characters (auto-detected if NULL)

Value

Character. Blended word

Examples

blend_words("breakfast", "lunch")  # "brunch" or similar
blend_words("refute", "repudiate") # "refudiate" or similar

covfefe documentation built on Jan. 26, 2026, 5:08 p.m.