Hello forum, I am using R to do some Exploratory analysis on my data resulting in the following 4 plots. #1- Histogram of the variable; #2- Kernel density estimation of the variable; #3- Normal Q-Q plot ; #4- Box-plot of the variable. The error message comes in when i try to plot # 2 above when there are missing values in a specific column. For other subjects with non missing values in each variable, i can plot using the code and then i can proceeed to the other plots using the code below: The code is as follows: Chair002OD<-read.csv("Chair002OD.csv", header=TRUE) attach(Chair002OD) names(Chair002OD) oldpar<-par(mfrow=c(2,2),oma=c(0,0,2,0) 0.1) truehist(SDANN5mins,SDANN5mins="FD",col="blue",main="Histogram of SDANN5mins", ylab="Frequency",prob=FALSE) box() plot(density(SDANN5mins,lwd=1, main="Density estimation",font.main=1) rug() Error in density.default(SDANN5mins) : 'x' contains missing values If there are no missing values, i can proceed with getting all 4 plots as needed. If i use na.action=na.omit, where do i put this for example: plot(density(SDANN5mins,lwd=1, main="Density estimation",font.main=1,na.action=na.omit) Any help would be appreciated. Thanks. MAA Doctoral candidate Newcastle University ******************************************************************************************************************** This message may contain confidential information. If yo...{{dropped:25}}