- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
Physics
Chemistry
Biology
Mathematics
English
Economics
Psychology
Social Studies
Fashion Studies
Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
How to create boxplot in base R with higher width of the box lines?
To create boxplot in base R with higher width of the box lines, we can use the boxlwd argument inside boxplot function. For example, if we have a vector called x then we can create the boxplot with higher width of the box lines using the command −
boxplot(x,boxlwd=5)
Example
x<-rnorm(10000) boxplot(x,boxlwd=5)
Output
Example
y<-rnorm(100,5,1) boxplot(y,boxlwd=10)
Output
- Related Articles
- How to change the color of box of boxplot in base R?
- How to create a boxplot with log of the variable in base R?
- How to create a horizontal boxplot in base R?
- How to change the width of whisker lines in a boxplot using ggplot2 in R?
- How to create boxplot with horizontal lines on the minimum and maximum in R?
- How to create a boxplot without frame in base R?
- How to create side-by-side boxplot in base R?
- How to create boxplot for multiple categories in base R?
- How to create boxplot in base R without axes labels?
- How to create a rectangle inside boxplot in base R?
- How to create boxplot for multiple categories with long names in base R?
- How to increase the width of the lines in the boxplot created by using ggplot2 in R?
- Create histogram with horizontal boxplot on top in base R.
- How to create boxplot using ggplot2 without box border in R?
- How to increase the width of lines for histogram like plots in base R?

Advertisements