% Generated by roxygen2: do not edit by hand % Please edit documentation in R/modifyData.R \name{convert.to.date} \alias{convert.to.date} \title{Convert string variable to date using prescribed format} \usage{ convert.to.date(x, var, format = "\%Y-\%m-\%d") } \arguments{ \item{x}{data frame} \item{var}{variable to be converted} \item{format}{format of data variable as set by as.Date R function} } \value{ data frame with selected variable set as date } \description{ Convert string variable to date using prescribed format }