search for: sum_pos

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

Did you mean: src_pos
2010 May 07
2
smooth line overlap with histogram
Hi r-users,   I would like to overlap a smooth line on the histogram.  I tried using spline but it does not work. sq     <- seq(0,900,by=50) sq.50  <- as.character(sq) datobs <- sum_pos ## first, plot histogram histo <- hist(datobs,breaks=sq,freq=F) ## extract counts from histogram and calculate the probability in ## each specified interval. Also check the length of the interval is ## the same with the length of the fitted model. hct   <- c(0,histo$counts)/length(datobs)...