R/linearD.R

Defines functions linearD

Documented in linearD

#' linearD
#'
#' @description this function allows to allows to make a linear regression between Age and the explanatory variables(Age,Fams,Income,Expenditure with dummy Ocards and Online)
#' @export
#' @return the coefficient of the regression with the dummy variables
#' @import  stats
#' @examples  linearD()
linearD <- function(){
  lm(Accbl~Age+Fams+Income+Expenditure+Online+Ocards,accountbalance::accountbalance)
}
unimi-dse/2d3bd55d documentation built on Feb. 17, 2020, 4:16 a.m.