xtR: Creat a possion process

Description Usage Arguments Value Examples

View source: R/xtR.R

Description

Estimate the number of the events when t=10.

Usage

1
xtR(N, lambda)

Arguments

N

the number of Tn.

lambda

the parameter of the exponential distribution.

Value

a estimate result n

Examples

1
2
3
4
5
6
7
## Not run: 
re2R=numeric(1e4)
for(i in 1:1e4){
re2R[i] = xtR(100,1)}
round(mean(re2R))

## End(Not run)

SC19089/qimo documentation built on Jan. 3, 2020, 12:11 a.m.