We simply have to specify na.rm = TRUE within the IQR command. Let’s do this:IQR(vec, na.rm = TRUE) # 4.5As you can see, the RStudio console now returns the IQR of our example vector (i.e. 4.5).Video & Further ResourcesIn case you need more explanations on the code of this...