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