R, Statistics

Monthly Archives: April, 2013

Draw an Ellipse Summary Plot in R

Correlation chart of two set (x and y) of data. Using Quantiles. Visualize the effect of factor.

April 29, 2013 · 11 Comments

Quantiles: median, quartiles, octiles, hexadeciles, …

Among statistical summaries, quantiles are alternatives to means and variances, and are prefered sometimes. The benefit of quantiles is derived by its simplicity of calculation. Only the order. No assumptions … Continue reading

April 28, 2013 · 3 Comments

How to know the reliability of integrate function in R

Adam Fleischhacker’s question was impressive for me, because I’m using the R numerical integrate function. But I have not thought deeply about that. Now the time to dig it.

April 23, 2013 · Leave a comment

Single script executable file in R for Windows

The scripting is flexible in Linux and Mac OS, but not in Windows. Executables in Windows OS depend on file name extension (the name after the last period). The RScript … Continue reading

April 20, 2013 · Leave a comment

How to color box and whisker plot

A few days ago, my colleague told me that he had a question about the double box plot. I was very glad and welcomed his question, but soon disappointed, a … Continue reading

April 18, 2013 · Leave a comment

Write file as UTF-8 encoding in R for Windows

While the R uses UTF-8 encoding as default on Linux and Mac OS, the R for Windows does not use UTF-8 as default. So reading and writing UTF-8 files are … Continue reading

April 17, 2013 · 4 Comments

Fix the encode of data frame

People in English speaking countries may not understand, but the character encoding is indeed troublesome. Fortunately, the R have iconv() function for converting text encoding, but what is for data … Continue reading

April 15, 2013 · Leave a comment