rl1 <- import.shape(filename = 'yourshapefile.shp'
,path = 'C:/yourpath...'
,species.col= 'column with species'
,ID.col='column with patch Id'
,area.col='Column with area'
,dispersal=800#Mean dispersal ability of the species
#(used to generate patch clusters, or components)
)
Run the code above in your browser using DataLab