.validateInputs {GenomicDistributions} | R Documentation

## Checks class of the list of variables. To be used in functions

### Description

Checks class of the list of variables. To be used in functions

### Usage

    .validateInputs(checkList)

### Arguments

`checkList` | list of object to check, e.g. list(varname=c("data.frame", "numeric")). Multiuple strings in the vector are treated as OR.

### Value

A warning if the wrong input class is provided.

### Examples

    x <- function(var1) {
        cl = list(var1=c("numeric","character"))
        .validateInputs(cl)
        return(var1^2)
    }

[Package GenomicDistributions version 1.2.0 Index]