Learn R Programming

pander (version 0.6.5)

check_digits: Check if vector parameter for round/digits and adjust accodingly

Description

Check if vector parameter for round/digits and adjust accodingly

Usage

check_digits(param, name, n)

Arguments

param

vector to be checked

name

parameter name

n

needed size of vector

Value

original vector if size is good, vector of default values otherwise