<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div><span style="color: rgb(69, 69, 69); font-family: Helvetica, Arial, sans-serif; font-size: 12px;"> Hi all,</span><br style="color: rgb(69, 69, 69); font-family: Helvetica, Arial, sans-serif; font-size: 12px;"><span style="color: rgb(69, 69, 69); font-family: Helvetica, Arial, sans-serif; font-size: 12px;"> I got these set of codes to compute mcp which worked well in drawing the polygons but I don't have any idea about how the get the areas of the various polygons calculated for each study site. Here is what I did using version 2.15.2; data for location 1 attached with mail.</span><br style="color: rgb(69, 69, 69); font-family: Helvetica, Arial, sans-serif; font-size: 12px;"><br style="color: rgb(69, 69, 69); font-family: Helvetica, Arial, sans-serif; font-size: 12px;"><span style="color: rgb(69, 69, 69);
font-family: Helvetica, Arial, sans-serif; font-size: 12px;"> library(ggplot2)</span><br style="color: rgb(69, 69, 69); font-family: Helvetica, Arial, sans-serif; font-size: 12px;"><span style="color: rgb(69, 69, 69); font-family: Helvetica, Arial, sans-serif; font-size: 12px;"> library(plyr)</span><br style="color: rgb(69, 69, 69); font-family: Helvetica, Arial, sans-serif; font-size: 12px;"><br style="color: rgb(69, 69, 69); font-family: Helvetica, Arial, sans-serif; font-size: 12px;"><span style="color: rgb(69, 69, 69); font-family: Helvetica, Arial, sans-serif; font-size: 12px;"> ##Location 1</span><br style="color: rgb(69, 69, 69); font-family: Helvetica, Arial, sans-serif; font-size: 12px;"><span style="color: rgb(69, 69, 69); font-family: Helvetica, Arial, sans-serif; font-size: 12px;">mcpyankari<-read.csv("mcpyankari.csv")</span><br style="color: rgb(69, 69, 69); font-family: Helvetica, Arial, sans-serif; font-size:
12px;"><span style="color: rgb(69, 69, 69); font-family: Helvetica, Arial, sans-serif; font-size: 12px;">head(mcpyankari)</span><br style="color: rgb(69, 69, 69); font-family: Helvetica, Arial, sans-serif; font-size: 12px;"><span style="color: rgb(69, 69, 69); font-family: Helvetica, Arial, sans-serif; font-size: 12px;"><br></span></div><div style="color: rgb(69, 69, 69); font-size: 12px; font-family: Helvetica, Arial, sans-serif; background-color: transparent; font-style: normal;"><span style="color: rgb(69, 69, 69); font-family: Helvetica, Arial, sans-serif; font-size: 12px;"> find_hully <- function(mcpyankari) mcpyankari[chull(mcpyankari$long, mcpyankari$lat), ]</span><br><span style="color: rgb(69, 69, 69); font-family: Helvetica, Arial, sans-serif; font-size: 12px;"> hullsy <- ddply(mcpyankari, "mcpyankari$Individual", find_hully)</span><br style="color: rgb(69, 69, 69); font-family: Helvetica, Arial, sans-serif; font-size:
12px;"><br style="color: rgb(69, 69, 69); font-family: Helvetica, Arial, sans-serif; font-size: 12px;"><span style="color: rgb(69, 69, 69); font-family: Helvetica, Arial, sans-serif; font-size: 12px;"> plot <- ggplot(data = hullsy, aes(x = long, y = lat, colour=Individual, fill = Individual)) +</span><br style="color: rgb(69, 69, 69); font-family: Helvetica, Arial, sans-serif; font-size: 12px;"><span style="color: rgb(69, 69, 69); font-family: Helvetica, Arial, sans-serif; font-size: 12px;"> geom_point() + geom_polygon(data = hullsy, alpha= 0.5) + labs(x = "Longitude", y = "Latitude")</span><br style="color: rgb(69, 69, 69); font-family: Helvetica, Arial, sans-serif; font-size: 12px;"><span style="color: rgb(69, 69, 69); font-family: Helvetica, Arial, sans-serif; font-size: 12px;"> plot </span><br style="color: rgb(69, 69, 69); font-family: Helvetica, Arial, sans-serif; font-size: 12px;"><br style="color: rgb(69, 69, 69);
font-family: Helvetica, Arial, sans-serif; font-size: 12px;"><span style="color: rgb(69, 69, 69); font-family: Helvetica, Arial, sans-serif; font-size: 12px;"> ##Location 2</span><br style="color: rgb(69, 69, 69); font-family: Helvetica, Arial, sans-serif; font-size: 12px;"><span style="color: rgb(69, 69, 69); font-family: Helvetica, Arial, sans-serif; font-size: 12px;"> mcpkainji<-read.csv("mcpkainji.csv")</span><br style="color: rgb(69, 69, 69); font-family: Helvetica, Arial, sans-serif; font-size: 12px;"><span style="color: rgb(69, 69, 69); font-family: Helvetica, Arial, sans-serif; font-size: 12px;"> head(mcpkainji)</span><br style="color: rgb(69, 69, 69); font-family: Helvetica, Arial, sans-serif; font-size: 12px;"><br style="color: rgb(69, 69, 69); font-family: Helvetica, Arial, sans-serif; font-size: 12px;"><span style="color: rgb(69, 69, 69); font-family: Helvetica, Arial, sans-serif; font-size: 12px;"> find_hullk <-
function(mcpkainji) mcpkainji[chull(mcpkainji$long, mcpkainji$lat), ]</span><br style="color: rgb(69, 69, 69); font-family: Helvetica, Arial, sans-serif; font-size: 12px;"><span style="color: rgb(69, 69, 69); font-family: Helvetica, Arial, sans-serif; font-size: 12px;"> hullsk <- ddply(mcpkainji, "mcpkainji$Individual", find_hullk)</span><br style="color: rgb(69, 69, 69); font-family: Helvetica, Arial, sans-serif; font-size: 12px;"><br style="color: rgb(69, 69, 69); font-family: Helvetica, Arial, sans-serif; font-size: 12px;"><span style="color: rgb(69, 69, 69); font-family: Helvetica, Arial, sans-serif; font-size: 12px;"> plot <- ggplot(data = hullsk, aes(x = long, y = lat, colour=Individual, fill = Individual)) +</span><br style="color: rgb(69, 69, 69); font-family: Helvetica, Arial, sans-serif; font-size: 12px;"><span style="color: rgb(69, 69, 69); font-family: Helvetica, Arial, sans-serif; font-size: 12px;"> geom_point() +
geom_polygon(data = hullsk, alpha = 0.5) + labs(x = "Longitude", y = "Latitude")</span><br style="color: rgb(69, 69, 69); font-family: Helvetica, Arial, sans-serif; font-size: 12px;"><span style="color: rgb(69, 69, 69); font-family: Helvetica, Arial, sans-serif; font-size: 12px;"> plot</span><br style="color: rgb(69, 69, 69); font-family: Helvetica, Arial, sans-serif; font-size: 12px;"><br style="color: rgb(69, 69, 69); font-family: Helvetica, Arial, sans-serif; font-size: 12px;"><span style="color: rgb(69, 69, 69); font-family: Helvetica, Arial, sans-serif; font-size: 12px;"> Thanks </span><br style="color: rgb(69, 69, 69); font-family: Helvetica, Arial, sans-serif; font-size: 12px;"><span style="color: rgb(69, 69, 69); font-family: Helvetica, Arial, sans-serif; font-size: 12px;"> Chima</span></div><div id="wrchoverdiv"><div id="wrccontainer"><div id="wrcheader"><div id="wrctitle"> WebRep</div></div><div
class="wrchorizontal"></div><div id="wrccurrentvote">Overall rating</div><div class="wrchorizontal"></div><div id="wrcrating"></div><div id="wrcratingtext">This site has no rating</div><div id="wrcweighttext">(not enough votes)</div><div id="wrcflags"><div id="wrcicon_shopping" class="wrcicon"></div><div id="wrcicon_social" class="wrcicon"></div><div id="wrcicon_news" class="wrcicon"></div><div id="wrcicon_it" class="wrcicon"></div><div id="wrcicon_corporate" class="wrcicon"></div><div id="wrcicon_pornography" class="wrcicon"></div><div id="wrcicon_violence" class="wrcicon"></div><div id="wrcicon_gambling" class="wrcicon"></div><div id="wrcicon_drugs" class="wrcicon"></div><div id="wrcicon_illegal" class="wrcicon"></div></div><div class="wrchorizontal"></div></div></div><div id="wrchoverdiv"><div id="wrccontainer"><div id="wrcheader"><div id="wrctitle"> WebRep</div></div><div class="wrchorizontal"></div><div id="wrccurrentvote">Overall rating</div><div
class="wrchorizontal"></div><div id="wrcrating"></div><div id="wrcratingtext">This site has no rating</div><div id="wrcweighttext">(not enough votes)</div><div id="wrcflags"><div id="wrcicon_shopping" class="wrcicon"></div><div id="wrcicon_social" class="wrcicon"></div><div id="wrcicon_news" class="wrcicon"></div><div id="wrcicon_it" class="wrcicon"></div><div id="wrcicon_corporate" class="wrcicon"></div><div id="wrcicon_pornography" class="wrcicon"></div><div id="wrcicon_violence" class="wrcicon"></div><div id="wrcicon_gambling" class="wrcicon"></div><div id="wrcicon_drugs" class="wrcicon"></div><div id="wrcicon_illegal" class="wrcicon"></div></div><div class="wrchorizontal"></div></div></div><div id="wrchoverdiv"><div id="wrccontainer"><div id="wrcheader"><div id="wrctitle"> WebRep</div></div><div class="wrchorizontal"></div><div id="wrccurrentvote">Overall rating</div><div class="wrchorizontal"></div><div id="wrcrating"></div><div
id="wrcratingtext">This site has no rating</div><div id="wrcweighttext">(not enough votes)</div><div id="wrcflags"><div id="wrcicon_shopping" class="wrcicon"></div><div id="wrcicon_social" class="wrcicon"></div><div id="wrcicon_news" class="wrcicon"></div><div id="wrcicon_it" class="wrcicon"></div><div id="wrcicon_corporate" class="wrcicon"></div><div id="wrcicon_pornography" class="wrcicon"></div><div id="wrcicon_violence" class="wrcicon"></div><div id="wrcicon_gambling" class="wrcicon"></div><div id="wrcicon_drugs" class="wrcicon"></div><div id="wrcicon_illegal" class="wrcicon"></div></div><div class="wrchorizontal"></div></div></div><div id="wrchoverdiv"><div id="wrccontainer"><div id="wrcheader"><div id="wrctitle"> WebRep</div></div><div class="wrchorizontal"></div><div id="wrccurrentvote">Overall rating</div><div class="wrchorizontal"></div><div id="wrcrating"></div><div id="wrcratingtext">This site has no rating</div><div id="wrcweighttext">(not
enough votes)</div><div id="wrcflags"><div id="wrcicon_shopping" class="wrcicon"></div><div id="wrcicon_social" class="wrcicon"></div><div id="wrcicon_news" class="wrcicon"></div><div id="wrcicon_it" class="wrcicon"></div><div id="wrcicon_corporate" class="wrcicon"></div><div id="wrcicon_pornography" class="wrcicon"></div><div id="wrcicon_violence" class="wrcicon"></div><div id="wrcicon_gambling" class="wrcicon"></div><div id="wrcicon_drugs" class="wrcicon"></div><div id="wrcicon_illegal" class="wrcicon"></div></div><div class="wrchorizontal"></div></div></div><div id="wrchoverdiv"><div id="wrccontainer"><div id="wrcheader"><div id="wrctitle"> WebRep</div></div><div class="wrchorizontal"></div><div id="wrccurrentvote">Overall rating</div><div class="wrchorizontal"></div><div id="wrcrating"></div><div id="wrcratingtext">This site has no rating</div><div id="wrcweighttext">(not enough votes)</div><div id="wrcflags"><div id="wrcicon_shopping"
class="wrcicon"></div><div id="wrcicon_social" class="wrcicon"></div><div id="wrcicon_news" class="wrcicon"></div><div id="wrcicon_it" class="wrcicon"></div><div id="wrcicon_corporate" class="wrcicon"></div><div id="wrcicon_pornography" class="wrcicon"></div><div id="wrcicon_violence" class="wrcicon"></div><div id="wrcicon_gambling" class="wrcicon"></div><div id="wrcicon_drugs" class="wrcicon"></div><div id="wrcicon_illegal" class="wrcicon"></div></div><div class="wrchorizontal"></div></div></div><div id="wrchoverdiv"><div id="wrccontainer"><div id="wrcheader"><div id="wrctitle"> WebRep</div></div><div class="wrchorizontal"></div><div id="wrccurrentvote">Overall rating</div><div class="wrchorizontal"></div><div id="wrcrating"></div><div id="wrcratingtext">This site has no rating</div><div id="wrcweighttext">(not enough votes)</div><div id="wrcflags"><div id="wrcicon_shopping" class="wrcicon"></div><div id="wrcicon_social" class="wrcicon"></div><div
id="wrcicon_news" class="wrcicon"></div><div id="wrcicon_it" class="wrcicon"></div><div id="wrcicon_corporate" class="wrcicon"></div><div id="wrcicon_pornography" class="wrcicon"></div><div id="wrcicon_violence" class="wrcicon"></div><div id="wrcicon_gambling" class="wrcicon"></div><div id="wrcicon_drugs" class="wrcicon"></div><div id="wrcicon_illegal" class="wrcicon"></div></div><div class="wrchorizontal"></div></div></div><div id="wrchoverdiv"><div id="wrccontainer"><div id="wrcheader"><div id="wrctitle"> WebRep</div></div><div class="wrchorizontal"></div><div id="wrccurrentvote">Overall rating</div><div class="wrchorizontal"></div><div id="wrcrating"></div><div id="wrcratingtext">This site has no rating</div><div id="wrcweighttext">(not enough votes)</div><div id="wrcflags"><div id="wrcicon_shopping" class="wrcicon"></div><div id="wrcicon_social" class="wrcicon"></div><div id="wrcicon_news" class="wrcicon"></div><div id="wrcicon_it"
class="wrcicon"></div><div id="wrcicon_corporate" class="wrcicon"></div><div id="wrcicon_pornography" class="wrcicon"></div><div id="wrcicon_violence" class="wrcicon"></div><div id="wrcicon_gambling" class="wrcicon"></div><div id="wrcicon_drugs" class="wrcicon"></div><div id="wrcicon_illegal" class="wrcicon"></div></div><div class="wrchorizontal"></div></div></div></div></body></html>