Answer the question
In order to leave comments, you need to log in
How can I explain some of the code in my R plotting variant?
I draw graphs comparing two distributions: normal and binomial. Here is part of the code:
df1<-tibble(x = sort(rnorm(1e5)),
cumulative = cumsum(abs(10-x)/sum(abs(10-x)))/2.5)
df2<-tibble(x1 = sort(rbinom(1e5,1e5, 0.001)/1e5))
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question