I have a problem!
I want to define a function to select variable of a df
like that
select_var <- function(var1, var2)
{
require(dplyr)
select(df=df,var1,var2)
}
using select_var
like select_var(var_name_1,var_name_2)
without ""
.
I want to my df my variable !
Then I want to add var 3
var 4
but there are OPTIONNALS SETTING you!thank you !
select
does? Here is a good read for how to program withdplyr
.