Statistics and R

Many fantastic things can be done in R. A beautiful resume or CV can leave a good impression of you to others. People usually make their resume or CV in word. HTML is also an extraordinary typesetting tool, which is one of the motivations Yihui created a series packages about html. Don’t worry if you don’t know much about HTML or CSS. You are able to write a beautiful resume or CV in R easily.
2021-07-10
2 min read
In practice, we always find the function in a published R package can not meet our needs very well. However, it’s not necessary to write a new function all over. It would be more convenient if we can modify the function directly. Let’s look at an example. We check the source code of sd() function in the stats package. The source code is as following: library(stats) sd function (x, na.rm = FALSE) sqrt(var(if (is.
2021-05-10
1 min read
R
R code for bootstrap and permutation test.
2021-04-17
1 min read