Generic method for obtaining the number of parameters of distribution-like object x.

nparams(x)

Arguments

x

the object to obtain the number of parameters for