python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
Why I am having troubles with the pipe operator?
I have been using this code multiple times, it worked two weeks ago as usual, but now, when I run the first line, R does not change the dataset I don't know why. As soon as I remove the pipe operator ...
Sebastian Merizalde
Votes: 0
Answers: 1
What does 'x' do in curve/dnorm, and why does it work in my function?
I am making a function Prop.Histogram() that plots data as a histogram showing the proportions with a normal distribution curve added to it. Addition of the curve was difficult for me to achieve, but ...
BartOverflow
Votes: 0
Answers: 1
Count the number of non-zero elements of each column- Piping Friendly
I am a behavioral ecologist using R. I am trying to count the non-zero elements across several columns. Normally when I do this I have successfully employed colSums with the !=0 operator, as has been ...
N.F.F.
Votes: 0
Answers: 5
What are the differences between R's new native pipe `|>` and the old native pipe `->.;`?
In R 4.1 a native pipe operator was introduced that is "more streamlined" than previous implementations. See this post about it.
This is a question inspired by the thread "What are the ...
Claudiu Papasteri
Votes: 0
Answers: 0