Learn R Programming

closeloop (version 0.1.0)

specify_weight: Title specify_weight

Description

Title specify_weight

Usage

specify_weight(var, weights)

Value

list

Arguments

var

Variables for which weights can be assigned

weights

weights in same sequence as variables

Author

Shubhram Pandey shubhram1992@gmail.com

Examples

Run this code
var = c("Male","Age")
weights = specify_weight(var, weights = c(0.5,0.5))
weights

Run the code above in your browser using DataLab