check_data {closeloop}R Documentation

Function to check if all values are numeric in data

Description

Function to check if all values are numeric in data

Usage

check_data(df, col_names = NULL)

Arguments

df

A data frame contains columns that represent covariates

col_names

A numeric vector of covariates that can be binary or continuous

Value

logical

Author(s)

Shubhram Pandey shubhram1992@gmail.com

Examples

attach(exampleData)
var = c("Age","Male")
x = check_data(df = exampleData, col_names = var)
x

[Package closeloop version 0.1.0 Index]