# NOT RUN {
#Default example
library(cpcens)
ans<-MA1.data()
#example (right censoring)
# The size of series(n) should be greater than 200.
ans<-MA1.data ( n=500 , N = 100 , K = 5 , eps = 1 , rho=0.2,
mu = 0, siga = 1, rates = c(NA,0.4), Mrate=0 )
# }
Run the code above in your browser using DataLab