I noticed a R function, and below is part of code of function. May some one help to to understand why the author uses "rlang::syms(groupvars)" and "group_by(!!!groupvars)" in the code? what do the "!!!" and "!!" mean in code?
Thanks
....
groupvars <- rlang::syms(groupvars)
measurevar <- rlang::sym(measurevar)
datac <- data %>%
dplyr::group_by(!!!groupvars) %>%
dplyr::summarise(
N = length2(!!measurevar, na.rm = na.rm),
sd = sd (!!measurevar, na.rm = na.rm),
!!measurevar := mean (!!measurevar, na.rm = na.rm),
...