'LazyData' is specified without a 'data' directory
'LazyData' is specified without a 'data' directory
'LazyData' is specified without a 'data' directory
Running examples in ‘nlirms-Ex.R’ failed
The error most likely occurred in:

> ### Name: enc.PGA
> ### Title: Expected number of claims based on the Poisson-Gamma (Negetive
> ###   Binomial) model
> ### Aliases: PGA dPGA enc.PGA
> 
> ### ** Examples
> 
> dPGA(k=1, mu=.1, sigma=2)
[1] 0.08638376
> enc.PGA(time = 2, claim = 1, mu = .1, sigma = 2)
[1] 0.1363636
> time=1:5
> enc.PGA(time = time, claim = 1, mu = .1, sigma = 2)
Error in time == 0 && claim > 0 : 
  'length = 5' in coercion to 'logical(1)'
Calls: enc.PGA
Execution halted
'LazyData' is specified without a 'data' directory
Running examples in ‘nlirms-Ex.R’ failed
The error most likely occurred in:

> ### Name: enc.PGA
> ### Title: Expected number of claims based on the Poisson-Gamma (Negetive
> ###   Binomial) model
> ### Aliases: PGA dPGA enc.PGA
> 
> ### ** Examples
> 
> dPGA(k=1, mu=.1, sigma=2)
[1] 0.08638376
> enc.PGA(time = 2, claim = 1, mu = .1, sigma = 2)
[1] 0.1363636
> time=1:5
> enc.PGA(time = time, claim = 1, mu = .1, sigma = 2)
Error in time == 0 && claim > 0 : 
  'length = 5' in coercion to 'logical(1)'
Calls: enc.PGA
Execution halted
'LazyData' is specified without a 'data' directory
'LazyData' is specified without a 'data' directory
'LazyData' is specified without a 'data' directory
'LazyData' is specified without a 'data' directory
'LazyData' is specified without a 'data' directory
'LazyData' is specified without a 'data' directory
'LazyData' is specified without a 'data' directory
'LazyData' is specified without a 'data' directory
'LazyData' is specified without a 'data' directory