# NOT RUN {
#('Repetitions' set as 100 for a fast example)
# }
# NOT RUN {
indices.table = indices.simulation(5,0.5,0.3,repetitions=10)
# }
# NOT RUN {
head(indices.table)
# }
# NOT RUN {
#Normalized indices (between 0 and 1)
# }
# NOT RUN {
indices.table = indices.simulation(5,0.5,0.3,repetitions=10,norm=TRUE)
# }
# NOT RUN {
head(indices.table)
# }
# NOT RUN {
#Without specifying alpha and gamma
# }
# NOT RUN {
indices.list = indices.simulation(5,repetitions=100)
# }
# NOT RUN {
#by default alpha=seq(0,1,0.1) and gamma=seq(0,alpha,0.1), thus
# }
# NOT RUN {
length(indices.list) #=66
# }
# NOT RUN {
#all the elements of the list have a name that identifies its parameters
# }
# NOT RUN {
indices.list$a0.5g0.3
# }
# NOT RUN {
indices.list$a0.7g0.2
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab