DYM {DYM}R Documentation

DYM

Description

You might mistype an object name. The package suggests the correct spell of the object you meant.

If the function is called after an error of 'object not found', the function tries to tell you the name of the correct name that you meant.

Usage

DYM(threshold = 2, max_n = 10, ignoreCase = FALSE)

Arguments

threshold

The maximum distance between the misspell (x) and the correct answer (in name).

max_n

An integer limiting the number of results. Passed to head.

ignoreCase

A logical value indicating whether differences in case should be ignored when matching. Passed to adist.

Examples

## Not run: 
options(error = DYM::DYM())
logg(10)

# For fewer or more suggestions, change threshold, max_n and ignoreCase
options(error = DYM::DYM(threshold = 3, max_n = 25, ignoreCase = TRUE))
logg(10)

## End(Not run)

[Package DYM version 0.2 Index]