我正在使用Classtat(SDMtools包)来计算景观的限制区域(缓冲区)中的补丁类型(类)i的总边缘\边缘密度。问题是当我这样做时,缓冲区边界被认为是边缘。有一种方法可以使用R排除边界边缘吗?
答案 0 :(得分:0)
我也曾经遇到同样的问题,我们为此写了一个更正。如果您熟悉编码,请随时查看:https://github.com/dbahrdt/SDMTools/tree/ignore_invalid
否则,只需通过以下方式安装更正:
<?php
$paged = (get_query_var('paged')) ? get_query_var('paged') : 1;
$args = array(
'paged' => $paged,
'posts_per_page' => 3,
'category_name' => 'job',
'orderby' => 'post_date',
'order' => 'DESC',
'post_type' => 'post',
'post_status' => 'publish',
'suppress_filters' => true);
$job = new WP_Query($args);
?>
<form method="post" action="<?php echo $_SERVER['PHP_SELF']; ?>">
<select class="filterby">
<option>Search Location</option>
<option value="Perth">Perth</option>
<option value="Melbourne">Melbourne</option>
<option value="South-Perth">South Perth</option>
</select>
</form>
<div class="inline-block vertical-middle s-btn">
<input type="submit" value="Search" name="search">
</div>
<?php while ($job->have_posts()) : $job->the_post();?>
<section id="content-area" class="job clearfix">
<div class="container">
Job Details here
</div>
</section>
<?php endwhile;?>
<div class="paging">
<?php
$args = array(
'base' => @add_query_arg('paged','%#%'),
'format' => '?paged=%#%',
'current' => max( 1, get_query_var('paged') ),
'prev_text' => __('Previous'),
'next_text' => __('Next'),
'total' => $job->max_num_pages);
echo paginate_links( $args );
?>
</div>
这应该完全符合您的要求,从边缘密度的计算中排除缓冲区边界。