It is trivial to create a boxplot in R with a full dataset. However, with limited access to the whole dataset, I just have 5 data point at min, 25%, 50% ,75%, and max. So is there any easy way to reproduce the boxplot with only these 5 values?
- Anybody can ask a question
- Anybody can answer
- The best answers are voted up and rise to the top
It's still pretty trivial. You can't reproduce the whiskers of a default boxplot effectively if the minimum and maximum values exceed Tukey's fences, but the box itself should remain unaltered. E.g., with
$\leftarrow$ full dataset vs. your five values $\rightarrow$