Learn R Programming

rapport (version 0.51)

guess.l: Guess length-like fields

Description

Since length, nchar, nlevels and limit have (almost) same format,

Usage

guess.l(len,
    type = c("length", "nchar", "nlevels", "limit"),
    input.name = NULL,
    limit.class = c("numeric", "integer"))

Arguments

len
length field value, either a number or a named list
type
type of length-like field
input.name
input name
limit.class
input class to perform limit-specific checks