[R] Fitdistrplus package : Error messages

varin sacha v@r|n@@ch@ @end|ng |rom y@hoo@|r
Wed May 29 10:46:26 CEST 2019


Dear R-Experts,

Here is a toy example, reproducible example, I get error messages. I have tried to fix it by myself using "google is my friend", but I did not get it. If somebody can help me to fix these errors, would be highly appreciated.

##########################
install.packages("fitdistrplus")
library(fitdistrplus)

x=c(3,3.5,4.5,5,5.5,5.5,4.5,3.5,5,6,3,4,5,4.5,4,5.5,3.5,3,3)  

##Poisson distribution
f2p=fitdist(x, "pois")
plot(f2p)
summary(f2p)

##negative binomial distribution
f2n=fitdist(x,"nbinom")
plot(f2n)
summary(f2n)
####################################



More information about the R-help mailing list