- 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 normal probability plot in R with confidence interval bands?
To create normal probability plot in R with confidence interval bands, we can use qqPlot function of QTLRel package. We simply need to pass the vector name that contains normal distribution values inside qqPlot function or directly introduce the vector inside the function as shown in the below given examples.
Example 1
Use the following code to create normal probability plot −
library("QTLRel") qqPlot(rnorm(10))
Output
If you execute the above given snippet, it generates the following Output −
Example 2
Add the following code to the above snippet to create normal probability plot −
qqPlot(rnorm(500))
Output
If you execute the above given snippet, it generates the following Output −
Example 3
Add the following code to the above snippet to create normal probability plot −
qqPlot(rnorm(5000))
Output
If you execute the above given snippet, it generates the following Output −
- Related Articles
- How to create a qqplot with confidence interval in R?
- How to plot the confidence interval of the regression model using ggplot2 with transparency in R?
- How to find bootstrap confidence interval in R?
- How to find confidence interval for binomial distribution in R?
- How to find 95% confidence interval for binomial data in R?
- Plot 95% confidence interval errorbar Python Pandas dataframes in Matplotlib
- How to create normal quantile-quantile plot for a logarithmic model in R?
- How to find the 95% confidence interval for the glm model in R?
- How to visualize 95% confidence interval in Matplotlib?
- How to find the 95% confidence interval for the slope of regression line in R?
- How to find the confidence interval for the predictive value using regression model in R?
- How to create a plot in R with gridlines using plot function?
- How to find the less than probability using normal distribution in R?
- How to create a plot with cross sign in R?
- How to create normal random variables with specific correlation between them in R?
