# NOT RUN {
exampleland <- landscape.new.example()
af <- list('0'=list('1'=c('1'=0.5,'2'=0.25,'5'=0.25),
'2'=c('1'=0.5,'2'=0.25,'3'=0.25)),
'2'=list('1'=c('1'=0.5,'2'=0.35,'5'=0.15),
'2'=c('1'=0.10,'2'=0.15,'3'=0.75)))
landscape.allelefreq(exampleland)
landscape.allelefreq(landscape.setallelefreq(exampleland, af))
# }
Run the code above in your browser using DataLab