Learn R Programming

closeloop (version 0.1.0)

is_prop: Function to check if columns are proportions

Description

Function to check if columns are proportions

Usage

is_prop(df, col_names)

Value

list

Arguments

df

a data frame to be checked

col_names

column names to be checked

Author

Shubhram Pandey shubhram1992@gmail.com

Examples

Run this code
#' attach(exampleData)
result <- is_prop(exampleData,c("Male","Age"))
result

Run the code above in your browser using DataLab