# NOT RUN {
#
# these examples are commented-out because they consume
# cpu time when checking the package--just copy and paste
# them if you want to try them out...
#
# from a sampSurf object...
#
# }
# NOT RUN {
smTract = Tract(c(x=30,y=30), cellSize=0.5)
smbuffTr = bufferedTract(8,smTract)
ss.sa = sampSurf(10, smbuffTr, 'sausageIZ', plotRadius=3, estimate='Length')
m.sa = monte(ss.sa, n=c(10,20))
hist(m.sa)
# }
# NOT RUN {
#
# simple population...
#
# }
# NOT RUN {
mp = montePop(rnorm(100), n=c(10,30))
mt = monte(mp, mcSamples=250, R=150) #takes n from mp object
mt
# }
Run the code above in your browser using DataLab