Learn R Programming

MetaLandSim (version 1.0.10)

mc_df: Modified patch occupancy data of Cabrera vole as a data frame

Description

One season patch occupancy dataset for Microtus cabrerae in SW Portugal (modified). This dataset is in a format directly used by convert.graph and converted to an object class 'metapopulation'.

Usage

data(mc_df)

Arguments

Format

A data frame with 685 observations on the following 5 variables.

ID

Patch Id.

x

X coordinate.

y

Y coordinate.

area

Patch area, in hectares.

mc

Occupancy state (0/1).

Details

To create this sample dataset the occupancy status of patches was scrambled, however the proportion of occupied patches was kept.

Examples

Run this code

##To be converted in a object of class "metapopulation":
#mc1 <- convert.graph(dframe=mc_df,mapsize=8200,dispersal=800)

data(mc_df)

#Check the columns:

head(mc_df)

#  ID        x       y  area mc
#1  1 1248.254   0.000 0.079  0
#2  2 1420.857  46.725 0.781  1
#3  3 1278.912  52.629 1.053  1
#4  4 6370.625  62.637 0.788  0
#5  5 1151.337  97.140 0.079  0
#6  6 1295.796 104.839 0.137  1


Run the code above in your browser using DataLab