You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If an expression in a pipeline is character, then it should be cat() directly as side-effect, which is mostly used to indicate pipeline executing progress.
%>>% version:
data(diamonds, package="ggplot2")
library(pipeR)
library(dplyr)
diamonds %>>%
"filtering data ..." %>>%
filter(carat>= quantile(carat, 0.05) &carat<= quantile(carat, 0.95)) %>>%
"selecting variables ..." %>>%
select(carat, price, depth) %>>%
"estimating linear model ..." %>>%
lm(formula=carat~price+depth) %>>%
"summarizing model ..." %>>%
summary
pipeline version:
data(diamonds, package="ggplot2")
library(pipeR)
library(dplyr)
pipeline({
diamonds"filtering data ..."
filter(carat>= quantile(carat, 0.05) &carat<= quantile(carat, 0.95))
"selecting variables ..."
select(carat, price, depth)
"estimating linear model ..."
lm(formula=carat~price+depth)
"summarizing model ..."summary
})
The text was updated successfully, but these errors were encountered:
If an expression in a pipeline is
character
, then it should becat()
directly as side-effect, which is mostly used to indicate pipeline executing progress.%>>%
version:pipeline
version:The text was updated successfully, but these errors were encountered: