R provides powerful graphics functions. We can use it to draw very complicated and beautiful graphs. Here provides a complete solution to draw brick block graph in R. The function name is brickblock that takes a matrix, graph height, a vector of x-labels, and groupname as inputs. The length of vector should be same as [...]
24
2009
19
2009
Data visualization and outlier detection
Any dataset can potentially have outliers. To get good results through statistical analysis, outliers should be always excluded. There are multiple ways to do that. One way is to create box whisker plot and visually and manually find them.
Basic concept
What do the box and whiskers represent in box whisker plot? The box represents the [...]
18
2009
Summation in condition of another variable
Problem:
We have a large weather dataset that consists of more than 50 year weather. We want to know the distribution and average of accumulative rainfall in August and September during the history. We have to calculate the total rainfall in August and September for all years and then create a new variable for further analysis. [...]