I run the following in the "actuar" package  while trying to discretize the
lognormal distribution  which i had fitted using the "fitdistrplus" package.

fx <- discretize(plnorm(11.69,2.1),from = 0, to = 22, step = 0.5, method =
"upper")
Error in discretize(plnorm(11.69, 2.1), from = 0, to = 22, step = 0.5,  :
  'cdf' must be a function or an expression containing 'x'

Because of this error am unable to fit a compound distribution between the
negative binomial and lognormal.  Is there another way besides using
"actuar".

I have just started using actuar. Kindly assist.

Charles.

	[[alternative HTML version deleted]]

