In R, . can be directly used in the name of a symbol, but it can also represent other things. For example, . in formula y ~ . represents variables other than y in a data frame. The following expression can be unambiguously evaluated but may be ambiguous to read:
. in the formula works in correct manner but may look ambiguous. A solution is to allow other variables to represent the piped object too. If lambda expression does not come in, .. may be an easy one.
In R,
.
can be directly used in the name of a symbol, but it can also represent other things. For example,.
in formulay ~ .
represents variables other thany
in a data frame. The following expression can be unambiguously evaluated but may be ambiguous to read:.
in the formula works in correct manner but may look ambiguous. A solution is to allow other variables to represent the piped object too. If lambda expression does not come in,..
may be an easy one.