{"vid":"105066","uid":"21","title":"Displacement Model: Foraging Seabirds","log":"Edited by Drew.","status":"1","comment":"1","promote":"0","sticky":"0","ds_switch":"","nid":"13572","type":"generic_information_page","language":"und","created":"1450791718","changed":"1506086935","tnid":"0","translate":"0","revision_timestamp":"1506086935","revision_uid":"21","field_description":{"und":[{"value":"<p>This is a model, written in R, to simulate the effects of offshore wind farms upon seabird foraging behaviour, and the ultimate consequences of this for adult and chick survival.</p>\r\n\r\n<p>It is called the \u201csimplified\u201d model to distinguish it from the displacement model that has already been developed by CEH which is more biologically realistic in a number of ways, but substantially more computationally-intensive to run.</p>\r\n\r\n<p>The model has been designed for use with four specific proposed offshore wind farms in the Forth-Tay region, and for use with five specific species (guillemot, kittiwake, puffin, gannet and razorbill). Much of the code can be readily-applied to different species, wind farms and SPAs, but some cannot \u2013 we have attempted to make the code as generic as possible, but it does not, and was not designed to, provide general code for modelling the effects of any wind farm in any geographical area. &nbsp;The model can be downloaded from the table below.</p>\r\n","format":"filtered_html","safe_value":"<p>This is a model, written in R, to simulate the effects of offshore wind farms upon seabird foraging behaviour, and the ultimate consequences of this for adult and chick survival.</p>\n<p>It is called the \u201csimplified\u201d model to distinguish it from the displacement model that has already been developed by CEH which is more biologically realistic in a number of ways, but substantially more computationally-intensive to run.</p>\n<p>The model has been designed for use with four specific proposed offshore wind farms in the Forth-Tay region, and for use with five specific species (guillemot, kittiwake, puffin, gannet and razorbill). Much of the code can be readily-applied to different species, wind farms and SPAs, but some cannot \u2013 we have attempted to make the code as generic as possible, but it does not, and was not designed to, provide general code for modelling the effects of any wind farm in any geographical area. \u00a0The model can be downloaded from the table below.</p>\n"}]},"field_infomration_images":{"und":[{"fid":"417","uid":"21","filename":"guillemot_SNH.jpg","uri":"public://guillemot_SNH.jpg","filemime":"image/jpeg","filesize":"70998","status":"1","timestamp":"1458826230","type":"image","field_tags":[],"field_file_image_alt_text":{"und":[{"value":"Several Guillemots at a cliff edge","format":null,"safe_value":"Several Guillemots at a cliff edge"}]},"field_file_image_title_text":{"und":[{"value":"Guillemot - Copyright \u00a9 SNH","format":null,"safe_value":"Guillemot - Copyright \u00a9 SNH"}]},"_drafty_revision_requested":"FIELD_LOAD_CURRENT","rdf_mapping":[],"title":"Guillemot - Copyright \u00a9 SNH","alt":"Several Guillemots at a cliff edge","metadata":[],"width":"800","height":"532"}]},"field_infomration_data_link":{"und":[{"target_id":"13614"}]},"field_information_map_link":[],"field_theme":{"und":[{"tid":"956"},{"tid":"47"}]},"field_google_plus_gallery":[],"field_tags":{"und":[{"tid":"950"},{"tid":"951"},{"tid":"630"}]},"field_footer_text":{"und":[{"value":"<p><strong>Technical Details of the Model</strong></p>\r\n\r\n<p>This simplified model includes three options for quantifying the magnitude of barrier effects. One option is to assume that they come from a normal distribution with mean 20 km and standard deviation 5 km; this corresponds to the way that barrier effects are specified in the full model. The remaining two options assume that the bird will incur an additional flight cost by flying around the wind farm rather than straight through it and quantify this additional cost by assuming that the wind farm is circular. The two options specify the radius of the circle in two ways:</p>\r\n\r\n<ol>\r\n\t<li>To ensure that the set of bearings from the SPA that encounter the circle is the same that encounter the actual wind farm; or</li>\r\n\t<li>To ensure that the area of the circle is the same as that of the actual wind farm.</li>\r\n</ol>\r\n\r\n<p><strong>Input Files</strong></p>\r\n\r\n<p>The model requires six input files; one file to provide species-specific information about the spatial distribution of the species within the region of interest, one file to provide parameter values for the model, and four files to provide meta-information.</p>\r\n\r\n<p>The four meta-information files contain:</p>\r\n\r\n<p>colonies.csv : locations of each colony (with columns \u2018colony\u2019, \u2018longname\u2019, \u2018long\u2019, \u2018lat\u2019)</p>\r\n\r\n<p>colonysize.csv : size of each colony, in terms of number of pairs (with columns \u2018SPA\u2019, \u2018Colony\u2019, \u2018Guillemot\u2019, \u2018Razorbill\u2019, \u2018Kittiwake\u2019, \u2018Puffin\u2019, \u2018Gannet\u2019). Note that SPAs may contain more than one colony.</p>\r\n\r\n<p>wfinfo.csv : locations, on the 0.5 x 0.5 km GEBCO grid, that are contained within the core and buffer regions for each wind farm. Columns are:&nbsp; \u2018WFcode\u2019, \u2018Longitude\u2019, \u2018Latitude\u2019. Ten options are currently used for WFcode: \u2018IC-footprint\u2019 (Inchcape footprint), \u2018IC-buffer\u2019 (Inchcape buffer), and so on for NnG, R3A, R3B and R3AB.</p>\r\n\r\n<p>wfstats.csv :&nbsp; summaries of the relationship between each wind farm and each SPA.&nbsp; Columns are: SPA, WindFarm, Dist, AngleMid, large.anglerange, large.radius, large.MAD, small.anglerange, small.radius, small.MAD. \u2018Dist\u2019 is the distance, in km, between the central colony of the SPA and the centre of the wind farm. The remaining columns refer to the sets of bearings from the SPA that would include the wind farm.</p>\r\n\r\n<p>The parameter.csv file contains parameter values to use in running the displacement model \u2013 an example is provided. Information is required for all rows and all species. The \u2018Version\u2019 column is used when performing sensitivity analysis, and should be left blank otherwise.</p>\r\n\r\n<table border=\"1\">\r\n\t<thead>\r\n\t\t<tr>\r\n\t\t\t<th scope=\"col\">\r\n\t\t\t<p><strong>Input file</strong></p>\r\n\t\t\t</th>\r\n\t\t\t<th scope=\"col\">\r\n\t\t\t<p><strong>Specific to a particular set of colonies?</strong></p>\r\n\t\t\t</th>\r\n\t\t\t<th scope=\"col\">\r\n\t\t\t<p><strong>Specific to a particular set of wind farms?</strong></p>\r\n\t\t\t</th>\r\n\t\t\t<th scope=\"col\">\r\n\t\t\t<p><strong>Specific to a particular species or set of species?</strong></p>\r\n\t\t\t</th>\r\n\t\t</tr>\r\n\t</thead>\r\n\t<tbody>\r\n\t\t<tr>\r\n\t\t\t<td>\r\n\t\t\t<p>colonies.csv</p>\r\n\t\t\t</td>\r\n\t\t\t<td>\r\n\t\t\t<p class=\"rtecenter\">Yes</p>\r\n\t\t\t</td>\r\n\t\t\t<td>\r\n\t\t\t<p>&nbsp;</p>\r\n\t\t\t</td>\r\n\t\t\t<td>\r\n\t\t\t<p>&nbsp;</p>\r\n\t\t\t</td>\r\n\t\t</tr>\r\n\t\t<tr>\r\n\t\t\t<td>\r\n\t\t\t<p>colonysize.csv</p>\r\n\t\t\t</td>\r\n\t\t\t<td>\r\n\t\t\t<p class=\"rtecenter\">Yes</p>\r\n\t\t\t</td>\r\n\t\t\t<td>\r\n\t\t\t<p>&nbsp;</p>\r\n\t\t\t</td>\r\n\t\t\t<td>\r\n\t\t\t<p>&nbsp;</p>\r\n\t\t\t</td>\r\n\t\t</tr>\r\n\t\t<tr>\r\n\t\t\t<td>\r\n\t\t\t<p>wfinfo.csv</p>\r\n\t\t\t</td>\r\n\t\t\t<td>\r\n\t\t\t<p class=\"rtecenter\">&nbsp;</p>\r\n\t\t\t</td>\r\n\t\t\t<td>\r\n\t\t\t<p class=\"rtecenter\">Yes</p>\r\n\t\t\t</td>\r\n\t\t\t<td>\r\n\t\t\t<p>&nbsp;</p>\r\n\t\t\t</td>\r\n\t\t</tr>\r\n\t\t<tr>\r\n\t\t\t<td>\r\n\t\t\t<p>wfstats.csv</p>\r\n\t\t\t</td>\r\n\t\t\t<td>\r\n\t\t\t<p class=\"rtecenter\">Yes</p>\r\n\t\t\t</td>\r\n\t\t\t<td>\r\n\t\t\t<p class=\"rtecenter\">Yes</p>\r\n\t\t\t</td>\r\n\t\t\t<td>\r\n\t\t\t<p>&nbsp;</p>\r\n\t\t\t</td>\r\n\t\t</tr>\r\n\t\t<tr>\r\n\t\t\t<td>\r\n\t\t\t<p>parameters.csv</p>\r\n\t\t\t</td>\r\n\t\t\t<td>\r\n\t\t\t<p>&nbsp;</p>\r\n\t\t\t</td>\r\n\t\t\t<td>\r\n\t\t\t<p class=\"rtecenter\">&nbsp;</p>\r\n\t\t\t</td>\r\n\t\t\t<td>\r\n\t\t\t<p class=\"rtecenter\">Yes</p>\r\n\t\t\t</td>\r\n\t\t</tr>\r\n\t\t<tr>\r\n\t\t\t<td>\r\n\t\t\t<p>spatial.csv</p>\r\n\t\t\t</td>\r\n\t\t\t<td>\r\n\t\t\t<p class=\"rtecenter\">Yes</p>\r\n\t\t\t</td>\r\n\t\t\t<td>\r\n\t\t\t<p class=\"rtecenter\">&nbsp;</p>\r\n\t\t\t</td>\r\n\t\t\t<td>\r\n\t\t\t<p class=\"rtecenter\">Yes</p>\r\n\t\t\t</td>\r\n\t\t</tr>\r\n\t</tbody>\r\n</table>\r\n\r\n<p><strong>Model Functions</strong></p>\r\n\r\n<p>Three functions are used to directly run the model and process the output; the actual calculations are performed by a number of additional functions, but these are not called directly by the user.</p>\r\n\r\n<p>\u201c<strong>vsdm.runmodel</strong>\u201d runs the model for a single set of parameter values. The arguments are:</p>\r\n\r\n<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; dat : spatial distribution of the species</p>\r\n\r\n<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; species : species name</p>\r\n\r\n<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; meta : meta information about SPAs and wind farms</p>\r\n\r\n<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; pars.full : parameter values</p>\r\n\r\n<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; pars.version : which version of the parameters to use (default is to use pars.version=0, which corresponds to&nbsp;none of the alternative versions being used)</p>\r\n\r\n<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ppop : which proportion of the population to use for simulation (default is to use ppop = 1, which corresponds to 100% of the population)</p>\r\n\r\n<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;min.prey.adjust : ratio to use for adjusting minimum prey values</p>\r\n\r\n<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; seedval.location : random seeds to use for simulating locations; set automatically if not specified</p>\r\n\r\n<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; seedval.behaviour : random seed to use for simulation foraging behaviour; set automatically if not specified</p>\r\n\r\n<p>\u201c<strong>vsdm.sensitivity</strong>\u201d runs the model for all parameter sets listed in the \u2018parameters.csv\u2019 file. The arguments are identical to those for \u201c<strong>vsdm.runmodel</strong>\u201d except that \u2018pars.version\u2019 is no longer an option (since the model is now run for all versions).</p>\r\n\r\n<p>\u201c<strong>getsummary.zones</strong>\u201d summarizes the output from \u201c<strong>vsdm.sensitivity</strong>\u201d in a format that can be used to create a CSV file (spreadsheet). The sole argument is \u2018out\u2019, the output from running \"<strong>vsdm.sensitivity</strong>\".</p>\r\n\r\n<p><strong>Example</strong></p>\r\n\r\n<p>The following contains the R code used to run the analysis for kittiwake.</p>\r\n\r\n<p>setwd(\"~/Work/Project/CEH/Displacement/SimplifiedModel/CurrentModel/\")</p>\r\n\r\n<p>source(\"Simplified-Displacement-Model-Version17.R\")</p>\r\n\r\n<p>pars.full &lt;- (read.csv(\"Parameters/parameters-gps.csv\"))[,3:9]</p>\r\n\r\n<p>meta &lt;- list(wf = read.csv(\"Meta/wfinfo.csv\"), colony = read.csv(\"Meta/colonies.csv\"), colonysize = read.csv(\"Meta/colonysize.csv\"), wfstats = read.csv(\"Meta/wfstats.csv\"))</p>\r\n\r\n<p>levels(meta$colony$colony) &lt;- c(\"ForthIslands\", \"Boddam\", \"FAR\", \"Fowlsheugh\", \"ForthIslands\", \"StAbbsHead\", \"TPL\")</p>\r\n\r\n<p>levels(meta$wfstats$SPA)[3] &lt;- \"ForthIslands\"</p>\r\n\r\n<p>## Species-specific part :</p>\r\n\r\n<p>dat &lt;- read.csv(\"/tmpshare/adam/projects/seabirds/Displacement/out-sixth/kittiwake.csv\")</p>\r\n\r\n<p>levels(dat$Site)[3] &lt;- \"ForthIslands\"</p>\r\n\r\n<p>out.kittiwake &lt;- vsdm.sensitivity(dat, species = \"Kittiwake\", meta = meta, pars.full = pars.full,&nbsp; ppop = 1/3)</p>\r\n\r\n<p>&nbsp;write.csv(getsummary.zones(out.kittiwake), file=\"Output/sensitivity-kittiwake.csv\", quote=FALSE, row.names=FALSE)</p>\r\n","format":"full_html","safe_value":"<p><strong>Technical Details of the Model</strong></p>\n<p>This simplified model includes three options for quantifying the magnitude of barrier effects. One option is to assume that they come from a normal distribution with mean 20 km and standard deviation 5 km; this corresponds to the way that barrier effects are specified in the full model. The remaining two options assume that the bird will incur an additional flight cost by flying around the wind farm rather than straight through it and quantify this additional cost by assuming that the wind farm is circular. The two options specify the radius of the circle in two ways:</p>\n<ol>\n<li>To ensure that the set of bearings from the SPA that encounter the circle is the same that encounter the actual wind farm; or</li>\n<li>To ensure that the area of the circle is the same as that of the actual wind farm.</li>\n</ol>\n<p><strong>Input Files</strong></p>\n<p>The model requires six input files; one file to provide species-specific information about the spatial distribution of the species within the region of interest, one file to provide parameter values for the model, and four files to provide meta-information.</p>\n<p>The four meta-information files contain:</p>\n<p>colonies.csv : locations of each colony (with columns \u2018colony\u2019, \u2018longname\u2019, \u2018long\u2019, \u2018lat\u2019)</p>\n<p>colonysize.csv : size of each colony, in terms of number of pairs (with columns \u2018SPA\u2019, \u2018Colony\u2019, \u2018Guillemot\u2019, \u2018Razorbill\u2019, \u2018Kittiwake\u2019, \u2018Puffin\u2019, \u2018Gannet\u2019). Note that SPAs may contain more than one colony.</p>\n<p>wfinfo.csv : locations, on the 0.5 x 0.5 km GEBCO grid, that are contained within the core and buffer regions for each wind farm. Columns are:\u00a0 \u2018WFcode\u2019, \u2018Longitude\u2019, \u2018Latitude\u2019. Ten options are currently used for WFcode: \u2018IC-footprint\u2019 (Inchcape footprint), \u2018IC-buffer\u2019 (Inchcape buffer), and so on for NnG, R3A, R3B and R3AB.</p>\n<p>wfstats.csv :\u00a0 summaries of the relationship between each wind farm and each SPA.\u00a0 Columns are: SPA, WindFarm, Dist, AngleMid, large.anglerange, large.radius, large.MAD, small.anglerange, small.radius, small.MAD. \u2018Dist\u2019 is the distance, in km, between the central colony of the SPA and the centre of the wind farm. The remaining columns refer to the sets of bearings from the SPA that would include the wind farm.</p>\n<p>The parameter.csv file contains parameter values to use in running the displacement model \u2013 an example is provided. Information is required for all rows and all species. The \u2018Version\u2019 column is used when performing sensitivity analysis, and should be left blank otherwise.</p>\n<table border=\"1\">\n<thead>\n<tr>\n<th scope=\"col\">\n<p><strong>Input file</strong></p>\n</th>\n<th scope=\"col\">\n<p><strong>Specific to a particular set of colonies?</strong></p>\n</th>\n<th scope=\"col\">\n<p><strong>Specific to a particular set of wind farms?</strong></p>\n</th>\n<th scope=\"col\">\n<p><strong>Specific to a particular species or set of species?</strong></p>\n</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>\n<p>colonies.csv</p>\n</td>\n<td>\n<p class=\"rtecenter\">Yes</p>\n</td>\n<td>\n<p>\u00a0</p>\n</td>\n<td>\n<p>\u00a0</p>\n</td>\n</tr>\n<tr>\n<td>\n<p>colonysize.csv</p>\n</td>\n<td>\n<p class=\"rtecenter\">Yes</p>\n</td>\n<td>\n<p>\u00a0</p>\n</td>\n<td>\n<p>\u00a0</p>\n</td>\n</tr>\n<tr>\n<td>\n<p>wfinfo.csv</p>\n</td>\n<td>\n<p class=\"rtecenter\">\u00a0</p>\n</td>\n<td>\n<p class=\"rtecenter\">Yes</p>\n</td>\n<td>\n<p>\u00a0</p>\n</td>\n</tr>\n<tr>\n<td>\n<p>wfstats.csv</p>\n</td>\n<td>\n<p class=\"rtecenter\">Yes</p>\n</td>\n<td>\n<p class=\"rtecenter\">Yes</p>\n</td>\n<td>\n<p>\u00a0</p>\n</td>\n</tr>\n<tr>\n<td>\n<p>parameters.csv</p>\n</td>\n<td>\n<p>\u00a0</p>\n</td>\n<td>\n<p class=\"rtecenter\">\u00a0</p>\n</td>\n<td>\n<p class=\"rtecenter\">Yes</p>\n</td>\n</tr>\n<tr>\n<td>\n<p>spatial.csv</p>\n</td>\n<td>\n<p class=\"rtecenter\">Yes</p>\n</td>\n<td>\n<p class=\"rtecenter\">\u00a0</p>\n</td>\n<td>\n<p class=\"rtecenter\">Yes</p>\n</td>\n</tr>\n</tbody>\n</table>\n<p><strong>Model Functions</strong></p>\n<p>Three functions are used to directly run the model and process the output; the actual calculations are performed by a number of additional functions, but these are not called directly by the user.</p>\n<p>\u201c<strong>vsdm.runmodel</strong>\u201d runs the model for a single set of parameter values. The arguments are:</p>\n<p>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 dat : spatial distribution of the species</p>\n<p>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 species : species name</p>\n<p>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 meta : meta information about SPAs and wind farms</p>\n<p>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 pars.full : parameter values</p>\n<p>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 pars.version : which version of the parameters to use (default is to use pars.version=0, which corresponds to\u00a0none of the alternative versions being used)</p>\n<p>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 ppop : which proportion of the population to use for simulation (default is to use ppop = 1, which corresponds to 100% of the population)</p>\n<p>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0min.prey.adjust : ratio to use for adjusting minimum prey values</p>\n<p>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 seedval.location : random seeds to use for simulating locations; set automatically if not specified</p>\n<p>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 seedval.behaviour : random seed to use for simulation foraging behaviour; set automatically if not specified</p>\n<p>\u201c<strong>vsdm.sensitivity</strong>\u201d runs the model for all parameter sets listed in the \u2018parameters.csv\u2019 file. The arguments are identical to those for \u201c<strong>vsdm.runmodel</strong>\u201d except that \u2018pars.version\u2019 is no longer an option (since the model is now run for all versions).</p>\n<p>\u201c<strong>getsummary.zones</strong>\u201d summarizes the output from \u201c<strong>vsdm.sensitivity</strong>\u201d in a format that can be used to create a CSV file (spreadsheet). The sole argument is \u2018out\u2019, the output from running \"<strong>vsdm.sensitivity</strong>\".</p>\n<p><strong>Example</strong></p>\n<p>The following contains the R code used to run the analysis for kittiwake.</p>\n<p>setwd(\"~/Work/Project/CEH/Displacement/SimplifiedModel/CurrentModel/\")</p>\n<p>source(\"Simplified-Displacement-Model-Version17.R\")</p>\n<p>pars.full &lt;- (read.csv(\"Parameters/parameters-gps.csv\"))[,3:9]</p>\n<p>meta &lt;- list(wf = read.csv(\"Meta/wfinfo.csv\"), colony = read.csv(\"Meta/colonies.csv\"), colonysize = read.csv(\"Meta/colonysize.csv\"), wfstats = read.csv(\"Meta/wfstats.csv\"))</p>\n<p>levels(meta$colony$colony) &lt;- c(\"ForthIslands\", \"Boddam\", \"FAR\", \"Fowlsheugh\", \"ForthIslands\", \"StAbbsHead\", \"TPL\")</p>\n<p>levels(meta$wfstats$SPA)[3] &lt;- \"ForthIslands\"</p>\n<p>## Species-specific part :</p>\n<p>dat &lt;- read.csv(\"/tmpshare/adam/projects/seabirds/Displacement/out-sixth/kittiwake.csv\")</p>\n<p>levels(dat$Site)[3] &lt;- \"ForthIslands\"</p>\n<p>out.kittiwake &lt;- vsdm.sensitivity(dat, species = \"Kittiwake\", meta = meta, pars.full = pars.full,\u00a0 ppop = 1/3)</p>\n<p>\u00a0write.csv(getsummary.zones(out.kittiwake), file=\"Output/sensitivity-kittiwake.csv\", quote=FALSE, row.names=FALSE)</p>\n"}]},"field_data_owner":[],"field_multimedia":[],"field_information_related_data":[],"rdf_mapping":{"rdftype":["sioc:Item","foaf:Document"],"title":{"predicates":["dc:title"],"type":"property"},"created":{"predicates":["dc:date","dc:created"],"datatype":"xsd:dateTime","callback":"date_iso8601"},"changed":{"predicates":["dc:modified"],"datatype":"xsd:dateTime","callback":"date_iso8601"},"body":{"predicates":["content:encoded"]},"uid":{"predicates":["sioc:has_creator"],"type":"rel"},"name":{"predicates":["foaf:name"]},"comment_count":{"predicates":["sioc:num_replies"],"datatype":"xsd:integer"},"last_activity":{"predicates":["sioc:last_activity_date"],"datatype":"xsd:dateTime","callback":"date_iso8601"}},"path":"https://marine.gov.scot/?q=information/displacement-model-foraging-seabirds","name":"Drew","picture":"0","data":"a:5:{s:16:\"ckeditor_default\";s:1:\"t\";s:20:\"ckeditor_show_toggle\";s:1:\"t\";s:14:\"ckeditor_width\";s:4:\"100%\";s:13:\"ckeditor_lang\";s:2:\"en\";s:18:\"ckeditor_auto_lang\";s:1:\"t\";}","workbench_moderation":{"current":{"hid":"92546","vid":"105066","nid":"13572","from_state":"published","state":"published","uid":"21","stamp":"1506086935","published":"1","is_current":1,"title":"Displacement Model: Foraging Seabirds","timestamp":"1506086935"},"published":{"hid":"92546","vid":"105066","nid":"13572","from_state":"published","state":"published","uid":"21","stamp":"1506086935","published":"1","is_current":1,"title":"Displacement Model: Foraging Seabirds","timestamp":"1506086935"},"my_revision":{"hid":"92546","vid":"105066","nid":"13572","from_state":"published","state":"published","uid":"21","stamp":"1506086935","published":"1","is_current":1,"title":"Displacement Model: Foraging Seabirds","timestamp":"1506086935"}}}