About 263,000 results
Open links in new tab
  1. What does |> (pipe greater than) mean in R? - Stack Overflow

    May 28, 2021 · I have recently come across the code |> in R. It is a vertical line character (pipe) followed by a greater than symbol. Here is an example: mtcars |> head() What is the |> code …

  2. syntax - What does %>% function mean in R? - Stack Overflow

    Nov 25, 2014 · I have seen the use of %>% (percent greater than percent) function in some packages like dplyr and rvest. What does it mean? Is it a way to write closure blocks in R?

  3. magrittr - What does %>% mean in R - Stack Overflow

    The infix operator %>% is not part of base R, but is in fact defined by the package magrittr (CRAN) and is heavily used by dplyr (CRAN). It works like a pipe, hence the reference to Magritte's famous …

  4. The R %*% operator - Stack Overflow

    8 I created a question 'What is the calculation behind the %*% operator in R?' which was marked as a duplicate of this question. The %*% operator is used to multiply two matrices.

  5. Newest 'r' Questions - Stack Overflow

    2 days ago · Stack Overflow | The World’s Largest Online Community for Developers

  6. r - The difference between bracket [ ] and double bracket [ [ ]] for ...

    R provides two different methods for accessing the elements of a list or data.frame: [] and [[]]. What is the difference between the two, and when should I use one over the other?

  7. r - What are the differences between "=" and - Stack Overflow

    R's syntax contains many ambiguous cases that have to be resolved one way or another. The parser chooses to resolve the bits of the expression in different orders depending on whether = or <- was …

  8. What is the difference between \r\n, \r, and \n? [duplicate]

    What is difference in a string between \r\n, \r and \n? How is a string affected by each? I have to replace the occurrences of \r\n and \r with \n, but I cannot get how are they different in a stri...

  9. What's the differences between & and &&, | and || in R?

    ‘&’ and ‘&&’ indicate logical AND and ‘|’ and ‘||’ indicate logical OR. The shorter form performs elementwise comparisons in much the same way as arithmetic operators. The longer form evaluates …

  10. Difference between Boolean operators && and & and between || and

    According to the R language definition, the difference between &amp; and &amp;&amp; (correspondingly | and ||) is that the former is vectorized while the latter is not. According to the help …