programming languages

What is the use of %>% in R  #angularjs #reactjs

  • If the answers do not fully address your question, please ask a new question .
  • marked as duplicate by Andrie r Users with the r badge can single-handedly close r questions as duplicates and reopen them as needed.
  • Browse other questions tagged r programming-languages symbols or ask your own question .
  • There are package (such as magrittr that give it special meaning.
  • While magrittr is perhaps the most common, any package or any user is free to define it how ever they like.

I am an entry level R user.May be this question sound like easy but it will be great if some one can help .
what is the meaning of this symbol in R-coding …

@ng_real_ninja: What is the use of %>% in R #angularjs #reactjs

I am an entry level R user.May be this question sound like easy but it will be great if some one can help . what is the meaning of this symbol in R-coding …

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

See this page – Kara Woo Jul 24 ’14 at 18:14

in base R. It is an infix operator defined by a package likely. Be clear what package you are using. – MrFlick Jul 24 ’14 at 18:14

@MrFlick: Let’s say if i dont have any package which use this symbol then what is the other substitute which can allow me to use the code containing %>% – nopainnogain Jul 24 ’14 at 18:18

is perhaps the most common, any package or any user is free to define it how ever they like. – MrFlick Jul 24 ’14 at 18:21

means whatever you want it to mean, in Base R anyway:

(which means that symbol is not defined.)

a * b

for example.

takes on a specific and well-defined meaning once you load the magrittr R package for example, where it is used as a pipe operator might be in a Unix shell to chain together a series of function calls.

programming languages