12345678910111213141516171819202122232425 |
- % Generated by roxygen2: do not edit by hand
- % Please edit documentation in R/sul.R
- \name{convert.to.sul}
- \alias{convert.to.sul}
- \title{Peform SUL calculation}
- \usage{
- convert.to.sul(x, var, sulVar, genderVar = "gender", bmiVar = "bmi")
- }
- \arguments{
- \item{x}{a data frame that contains var, genderVar and bmi columns}
- \item{var}{a variable measured in SUV that should be converted to SUL}
- \item{sulVar}{target variable to store converted values}
- \item{genderVar}{a variable denoting gender (1=female, 2=male)}
- \item{bmiVar}{a variable with body mass index values}
- }
- \value{
- data frame x with added sulVar column
- }
- \description{
- Peform SUL calculation
- }
|