search for: no_of_increments

Displaying 1 result from an estimated 1 matches for "no_of_increments".

2012 Feb 24
1
Telling plot() the max y value to expect when plotting one distribution and then using lines() to add more distributions
...ors <- c("red", "blue", "darkgreen", "gold", "black") labels <- c("1", "2","3") pdf("C:\\Users\\Frank\\Documents\\R\\Scripts\\pt4_Graph.pdf") ## load Pearson package library(PearsonDS) ##range for x axis no_of_increments<- 100 x <- seq(-0.06, +0.06, length=no_of_increments) ##parameters for the plots of three distributions mx<- c(1.95, 18.35,1.93) nux<- c(0.08,-1.02,0.25) locationx<- c(0.0048,-0.00254,0.00189) scalex<- c(0.0115,0.082187,0.026675) ## calculate probability density function hx1<-...