<!-- Generated by pkgdown: do not edit by hand -->
<!DOCTYPE html>
<html lang="en">
  <head>
  <meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">

<title>Solve the Maximal Covering Location Problem — max_coverage • maxcovr</title>

<!-- jquery -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js" integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8=" crossorigin="anonymous"></script>
<!-- Bootstrap -->
<link href="https://cdnjs.cloudflare.com/ajax/libs/bootswatch/3.3.7/flatly/bootstrap.min.css" rel="stylesheet" crossorigin="anonymous" />

<script src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha256-U5ZEeKfGNOja007MMD3YBI0A3OSZOQbeG6z2f2Y0hu8=" crossorigin="anonymous"></script>

<!-- Font Awesome icons -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css" integrity="sha256-eZrrJcwDc/3uDhsdt61sL2oOBY362qM3lon1gyExkL0=" crossorigin="anonymous" />

<!-- clipboard.js -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/2.0.4/clipboard.min.js" integrity="sha256-FiZwavyI2V6+EXO1U+xzLG3IKldpiTFf3153ea9zikQ=" crossorigin="anonymous"></script>

<!-- sticky kit -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/sticky-kit/1.1.3/sticky-kit.min.js" integrity="sha256-c4Rlo1ZozqTPE2RLuvbusY3+SU1pQaJC0TjuhygMipw=" crossorigin="anonymous"></script>

<!-- pkgdown -->
<link href="../pkgdown.css" rel="stylesheet">
<script src="../pkgdown.js"></script>



<meta property="og:title" content="Solve the Maximal Covering Location Problem — max_coverage" />

<meta property="og:description" content="max_coverage solves the binary optimisation problem known as the
&quot;maximal covering location problem&quot; as described by Church
(http://www.geo .ucsb.edu/~forest/G294download/MAX_COVER_RLC_CSR.pdf).
This package was implemented to make it easier to solve this problem in the
context of the research initially presented by Chan et al
(http://circ.ahajournals.org/content/127/17/1801.short) to identify ideal
locations to place AEDs." />
<meta name="twitter:card" content="summary" />



<!-- mathjax -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js" integrity="sha256-nvJJv9wWKEm88qvoQl9ekL2J+k/RWIsaSScxxlsrv8k=" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/config/TeX-AMS-MML_HTMLorMML.js" integrity="sha256-84DKXVJXs0/F8OTMzX4UR909+jtl4G7SPypPavF+GfA=" crossorigin="anonymous"></script>

<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->


  </head>

  <body>
    <div class="container template-reference-topic">
      <header>
      <div class="navbar navbar-default navbar-fixed-top" role="navigation">
  <div class="container">
    <div class="navbar-header">
      <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false">
        <span class="sr-only">Toggle navigation</span>
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
      </button>
      <span class="navbar-brand">
        <a class="navbar-link" href="../index.html">maxcovr</a>
        <span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="Released version">0.1.3.9200</span>
      </span>
    </div>

    <div id="navbar" class="navbar-collapse collapse">
      <ul class="nav navbar-nav">
        <li>
  <a href="../index.html">
    <span class="fa fa-home fa-lg"></span>
     
  </a>
</li>
<li>
  <a href="../reference/index.html">Reference</a>
</li>
<li class="dropdown">
  <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">
    Articles
     
    <span class="caret"></span>
  </a>
  <ul class="dropdown-menu" role="menu">
    <li>
      <a href="../articles/cross_validation_with_maxcovr.html">Using Cross Validation with maxcovr</a>
    </li>
    <li>
      <a href="../articles/intro_to_maxcovr.html">Using maxcovr</a>
    </li>
    <li>
      <a href="../articles/using_max_coverage_relocation.html">Using max_coverage_relocation</a>
    </li>
  </ul>
</li>
<li>
  <a href="../news/index.html">Changelog</a>
</li>
      </ul>
      
      <ul class="nav navbar-nav navbar-right">
        <li>
  <a href="https://github.com/njtierney/maxcovr">
    <span class="fa fa-github fa-lg"></span>
     
  </a>
</li>
      </ul>
      
    </div><!--/.nav-collapse -->
  </div><!--/.container -->
</div><!--/.navbar -->

      
      </header>

<div class="row">
  <div class="col-md-9 contents">
    <div class="page-header">
    <h1>Solve the Maximal Covering Location Problem</h1>
    <small class="dont-index">Source: <a href='https://github.com/njtierney/maxcovr/blob/master/R/max_coverage.R'><code>R/max_coverage.R</code></a></small>
    <div class="hidden name"><code>max_coverage.Rd</code></div>
    </div>

    <div class="ref-description">
    
    <p><code>max_coverage</code> solves the binary optimisation problem known as the
"maximal covering location problem" as described by Church
(http://www.geo .ucsb.edu/~forest/G294download/MAX_COVER_RLC_CSR.pdf).
This package was implemented to make it easier to solve this problem in the
context of the research initially presented by Chan et al
(http://circ.ahajournals.org/content/127/17/1801.short) to identify ideal
locations to place AEDs.</p>
    
    </div>

    <pre class="usage"><span class='fu'>max_coverage</span>(<span class='no'>existing_facility</span>, <span class='no'>proposed_facility</span>, <span class='no'>user</span>, <span class='no'>distance_cutoff</span>,
  <span class='no'>n_added</span>, <span class='kw'>solver</span> <span class='kw'>=</span> <span class='st'>"glpk"</span>)</pre>
    
    <h2 class="hasAnchor" id="arguments"><a class="anchor" href="#arguments"></a>Arguments</h2>
    <table class="ref-arguments">
    <colgroup><col class="name" /><col class="desc" /></colgroup>
    <tr>
      <th>existing_facility</th>
      <td><p>data.frame containing the facilities that are
already in existing, with columns names lat, and long.</p></td>
    </tr>
    <tr>
      <th>proposed_facility</th>
      <td><p>data.frame containing the facilities that are
being proposed, with column names lat, and long.</p></td>
    </tr>
    <tr>
      <th>user</th>
      <td><p>data.frame containing the users of the facilities, along with
column names lat, and long.</p></td>
    </tr>
    <tr>
      <th>distance_cutoff</th>
      <td><p>numeric indicating the distance cutoff (in metres)
you are interested in. If a number is less than distance_cutoff, it will be
1, if it is greater than it, it will be 0.</p></td>
    </tr>
    <tr>
      <th>n_added</th>
      <td><p>the maximum number of facilities to add.</p></td>
    </tr>
    <tr>
      <th>solver</th>
      <td><p>character "glpk" (default) or "lpSolve". "gurobi" is currently
in development, see <a href='https://github.com/njtierney/maxcovr/issues/25'>https://github.com/njtierney/maxcovr/issues/25</a></p></td>
    </tr>
    </table>
    
    <h2 class="hasAnchor" id="value"><a class="anchor" href="#value"></a>Value</h2>

    <p>dataframe of results</p>
    

    <h2 class="hasAnchor" id="examples"><a class="anchor" href="#examples"></a>Examples</h2>
    <pre class="examples"><div class='input'>
<span class='fu'><a href='https://www.rdocumentation.org/packages/base/topics/library'>library</a></span>(<span class='no'>dplyr</span>)

<span class='co'># already existing locations</span>
<span class='no'>york_selected</span> <span class='kw'>&lt;-</span> <span class='no'>york</span> <span class='kw'>%&gt;%</span> <span class='fu'><a href='https://dplyr.tidyverse.org/reference/filter.html'>filter</a></span>(<span class='no'>grade</span> <span class='kw'>==</span> <span class='st'>"I"</span>)

<span class='co'># proposed locations</span>
<span class='no'>york_unselected</span> <span class='kw'>&lt;-</span> <span class='no'>york</span> <span class='kw'>%&gt;%</span> <span class='fu'><a href='https://dplyr.tidyverse.org/reference/filter.html'>filter</a></span>(<span class='no'>grade</span> <span class='kw'>!=</span> <span class='st'>"I"</span>)

<span class='no'>mc_result</span> <span class='kw'>&lt;-</span> <span class='fu'>max_coverage</span>(<span class='kw'>existing_facility</span> <span class='kw'>=</span> <span class='no'>york_selected</span>,
                          <span class='kw'>proposed_facility</span> <span class='kw'>=</span> <span class='no'>york_unselected</span>,
                          <span class='kw'>user</span> <span class='kw'>=</span> <span class='no'>york_crime</span>,
                          <span class='kw'>distance_cutoff</span> <span class='kw'>=</span> <span class='fl'>100</span>,
                          <span class='kw'>n_added</span> <span class='kw'>=</span> <span class='fl'>20</span>)

<span class='no'>mc_result</span></div><div class='output co'>#&gt; 
#&gt; ------------------------------------------- 
#&gt; Model Fit: maxcovr fixed location model 
#&gt; ------------------------------------------- 
#&gt; model_used:        max_coverage 
#&gt; existing_facility: york_selected 
#&gt; proposed_facility: york_unselected 
#&gt; user:              york_crime 
#&gt; distance_cutoff:   100 
#&gt; n_added:           20 
#&gt; solver:            lpSolve 
#&gt; -------------------------------------------</div><div class='input'>
<span class='fu'><a href='https://www.rdocumentation.org/packages/base/topics/summary'>summary</a></span>(<span class='no'>mc_result</span>)</div><div class='output co'>#&gt; 
#&gt; ------------------------------------------- 
#&gt; Model Fit: maxcovr fixed location model 
#&gt; ------------------------------------------- 
#&gt; Distance Cutoff: 100m 
#&gt; Facilities: 
#&gt;     Added:       20 
#&gt; Coverage (Previous): 
#&gt;     # Users:     540    (339) 
#&gt;     Proportion:  0.2977 (0.1869) 
#&gt; Distance (m) to Facility (Previous): 
#&gt;     Avg:         886 (1400) 
#&gt;     SD:          986 (1597) 
#&gt; -------------------------------------------</div><div class='input'>
<span class='co'># get the facilities chosen</span>
<span class='no'>mc_result</span>$<span class='no'>facility_selected</span></div><div class='output co'>#&gt; [[1]]
#&gt; <span style='color: #555555;'># A tibble: 20 x 7</span><span>
#&gt;     long   lat object_id desig_id pref_ref name                            grade
#&gt;    </span><span style='color: #555555;font-style: italic;'>&lt;dbl&gt;</span><span> </span><span style='color: #555555;font-style: italic;'>&lt;dbl&gt;</span><span>     </span><span style='color: #555555;font-style: italic;'>&lt;int&gt;</span><span> </span><span style='color: #555555;font-style: italic;'>&lt;chr&gt;</span><span>       </span><span style='color: #555555;font-style: italic;'>&lt;int&gt;</span><span> </span><span style='color: #555555;font-style: italic;'>&lt;chr&gt;</span><span>                           </span><span style='color: #555555;font-style: italic;'>&lt;chr&gt;</span><span>
#&gt; </span><span style='color: #555555;'> 1</span><span> -</span><span style='color: #BB0000;'>1.09</span><span>  54.0      </span><span style='text-decoration: underline;'>5</span><span>978 DYO1383    </span><span style='text-decoration: underline;'>462</span><span>917 </span><span style='color: #BB0000;'>NA</span><span>                              II   
#&gt; </span><span style='color: #555555;'> 2</span><span> -</span><span style='color: #BB0000;'>1.08</span><span>  54.0      </span><span style='text-decoration: underline;'>5</span><span>909 DYO1297    </span><span style='text-decoration: underline;'>463</span><span>072 </span><span style='color: #BB0000;'>NA</span><span>                              II   
#&gt; </span><span style='color: #555555;'> 3</span><span> -</span><span style='color: #BB0000;'>1.08</span><span>  54.0      </span><span style='text-decoration: underline;'>5</span><span>872 DYO1244    </span><span style='text-decoration: underline;'>463</span><span>186 </span><span style='color: #BB0000;'>NA</span><span>                              II   
#&gt; </span><span style='color: #555555;'> 4</span><span> -</span><span style='color: #BB0000;'>1.08</span><span>  54.0      </span><span style='text-decoration: underline;'>5</span><span>847 DYO1216    </span><span style='text-decoration: underline;'>463</span><span>242 </span><span style='color: #BB0000;'>NA</span><span>                              II   
#&gt; </span><span style='color: #555555;'> 5</span><span> -</span><span style='color: #BB0000;'>1.12</span><span>  54.0      </span><span style='text-decoration: underline;'>5</span><span>759 DYO1108    </span><span style='text-decoration: underline;'>463</span><span>434 FORMER JUNIOR SCHOOL BUILDING … II   
#&gt; </span><span style='color: #555555;'> 6</span><span> -</span><span style='color: #BB0000;'>1.08</span><span>  54.0      </span><span style='text-decoration: underline;'>5</span><span>748 DYO1096    </span><span style='text-decoration: underline;'>463</span><span>469 </span><span style='color: #BB0000;'>NA</span><span>                              II   
#&gt; </span><span style='color: #555555;'> 7</span><span> -</span><span style='color: #BB0000;'>1.08</span><span>  54.0      </span><span style='text-decoration: underline;'>5</span><span>745 DYO1093    </span><span style='text-decoration: underline;'>463</span><span>465 </span><span style='color: #BB0000;'>NA</span><span>                              II   
#&gt; </span><span style='color: #555555;'> 8</span><span> -</span><span style='color: #BB0000;'>1.08</span><span>  54.0      </span><span style='text-decoration: underline;'>5</span><span>739 DYO1086    </span><span style='text-decoration: underline;'>463</span><span>457 CHURCH OF ST GEORGE AND ATTACH… II   
#&gt; </span><span style='color: #555555;'> 9</span><span> -</span><span style='color: #BB0000;'>1.10</span><span>  54.0      </span><span style='text-decoration: underline;'>5</span><span>642 DYO960     </span><span style='text-decoration: underline;'>463</span><span>695 </span><span style='color: #BB0000;'>NA</span><span>                              II   
#&gt; </span><span style='color: #555555;'>10</span><span> -</span><span style='color: #BB0000;'>1.09</span><span>  53.9      </span><span style='text-decoration: underline;'>5</span><span>606 DYO920     </span><span style='text-decoration: underline;'>463</span><span>771 PRESS STAND AT YORK RACECOURSE  II   
#&gt; </span><span style='color: #555555;'>11</span><span> -</span><span style='color: #BB0000;'>1.06</span><span>  54.0      </span><span style='text-decoration: underline;'>5</span><span>592 DYO903     </span><span style='text-decoration: underline;'>463</span><span>788 </span><span style='color: #BB0000;'>NA</span><span>                              II   
#&gt; </span><span style='color: #555555;'>12</span><span> -</span><span style='color: #BB0000;'>1.07</span><span>  54.0      </span><span style='text-decoration: underline;'>5</span><span>588 DYO899     </span><span style='text-decoration: underline;'>463</span><span>782 </span><span style='color: #BB0000;'>NA</span><span>                              II   
#&gt; </span><span style='color: #555555;'>13</span><span> -</span><span style='color: #BB0000;'>1.08</span><span>  54.0      </span><span style='text-decoration: underline;'>5</span><span>529 DYO829     </span><span style='text-decoration: underline;'>463</span><span>938 CHURCH OF ST THOMAS             II   
#&gt; </span><span style='color: #555555;'>14</span><span> -</span><span style='color: #BB0000;'>1.08</span><span>  54.0      </span><span style='text-decoration: underline;'>5</span><span>454 DYO705     </span><span style='text-decoration: underline;'>464</span><span>133 NUMBERS 45-51 (ODD) AND ATTACH… II   
#&gt; </span><span style='color: #555555;'>15</span><span> -</span><span style='color: #BB0000;'>1.03</span><span>  54.0      </span><span style='text-decoration: underline;'>5</span><span>373 DYO1644        </span><span style='color: #BB0000;'>NA</span><span> War Memorial                    II   
#&gt; </span><span style='color: #555555;'>16</span><span> -</span><span style='color: #BB0000;'>1.12</span><span>  54.0      </span><span style='text-decoration: underline;'>5</span><span>349 DYO572     </span><span style='text-decoration: underline;'>464</span><span>451 POPPLETON ROAD SCHOOL           II   
#&gt; </span><span style='color: #555555;'>17</span><span> -</span><span style='color: #BB0000;'>1.08</span><span>  54.0      </span><span style='text-decoration: underline;'>5</span><span>328 DYO544     </span><span style='text-decoration: underline;'>464</span><span>508 WOODS MILL                      II   
#&gt; </span><span style='color: #555555;'>18</span><span> -</span><span style='color: #BB0000;'>1.00</span><span>  54.0      </span><span style='text-decoration: underline;'>3</span><span>215 DYO1581    </span><span style='text-decoration: underline;'>491</span><span>367 STOCKTON GRANGE AND ATTACHED O… II   
#&gt; </span><span style='color: #555555;'>19</span><span> -</span><span style='color: #BB0000;'>1.08</span><span>  54.0      </span><span style='text-decoration: underline;'>3</span><span>213 DYO1580    </span><span style='text-decoration: underline;'>490</span><span>659 NEW CHAPEL AT ST JOHN'S COLLEGE II   
#&gt; </span><span style='color: #555555;'>20</span><span> -</span><span style='color: #BB0000;'>1.08</span><span>  54.0      </span><span style='text-decoration: underline;'>4</span><span>803 DYO1734        </span><span style='color: #BB0000;'>NA</span><span> The Swan Public House           II   
#&gt; </div><div class='input'>
<span class='co'># get the users affected</span>
<span class='no'>mc_result</span>$<span class='no'>user_affected</span></div><div class='output co'>#&gt; [[1]]
#&gt; </span><span style='color: #555555;'># A tibble: 201 x 16</span><span>
#&gt;    user_id user_chosen facility_id distance category persistent_id date    lat
#&gt;      </span><span style='color: #555555;font-style: italic;'>&lt;dbl&gt;</span><span>       </span><span style='color: #555555;font-style: italic;'>&lt;int&gt;</span><span>       </span><span style='color: #555555;font-style: italic;'>&lt;dbl&gt;</span><span>    </span><span style='color: #555555;font-style: italic;'>&lt;dbl&gt;</span><span> </span><span style='color: #555555;font-style: italic;'>&lt;chr&gt;</span><span>    </span><span style='color: #555555;font-style: italic;'>&lt;chr&gt;</span><span>         </span><span style='color: #555555;font-style: italic;'>&lt;chr&gt;</span><span> </span><span style='color: #555555;font-style: italic;'>&lt;dbl&gt;</span><span>
#&gt; </span><span style='color: #555555;'> 1</span><span>       1           1          66     166. anti-so… 62299914865f… 2016…  54.0
#&gt; </span><span style='color: #555555;'> 2</span><span>       5           1          25     536. anti-so… 6139f131b724… 2016…  54.0
#&gt; </span><span style='color: #555555;'> 3</span><span>      13           1           6    </span><span style='text-decoration: underline;'>2</span><span>334. anti-so… c2aac5cdf98e… 2016…  54.0
#&gt; </span><span style='color: #555555;'> 4</span><span>      14           1           2   </span><span style='text-decoration: underline;'>12</span><span>687. anti-so… c0908b075c68… 2016…  54.1
#&gt; </span><span style='color: #555555;'> 5</span><span>      15           1          24     620. anti-so… 40c8c061c48b… 2016…  54.0
#&gt; </span><span style='color: #555555;'> 6</span><span>      21           1          60    </span><span style='text-decoration: underline;'>1</span><span>286. anti-so… 45ce21c8785e… 2016…  53.9
#&gt; </span><span style='color: #555555;'> 7</span><span>      23           1          </span><span style='color: #BB0000;'>NA</span><span>      </span><span style='color: #BB0000;'>NA</span><span>  </span><span style='color: #BB0000;'>NA</span><span>       </span><span style='color: #BB0000;'>NA</span><span>            </span><span style='color: #BB0000;'>NA</span><span>     </span><span style='color: #BB0000;'>NA</span><span>  
#&gt; </span><span style='color: #555555;'> 8</span><span>      24           1          </span><span style='color: #BB0000;'>NA</span><span>      </span><span style='color: #BB0000;'>NA</span><span>  </span><span style='color: #BB0000;'>NA</span><span>       </span><span style='color: #BB0000;'>NA</span><span>            </span><span style='color: #BB0000;'>NA</span><span>     </span><span style='color: #BB0000;'>NA</span><span>  
#&gt; </span><span style='color: #555555;'> 9</span><span>      27           1          </span><span style='color: #BB0000;'>NA</span><span>      </span><span style='color: #BB0000;'>NA</span><span>  </span><span style='color: #BB0000;'>NA</span><span>       </span><span style='color: #BB0000;'>NA</span><span>            </span><span style='color: #BB0000;'>NA</span><span>     </span><span style='color: #BB0000;'>NA</span><span>  
#&gt; </span><span style='color: #555555;'>10</span><span>      29           1           2     375. anti-so… db6cacd76d97… 2016…  54.0
#&gt; </span><span style='color: #555555;'># … with 191 more rows, and 8 more variables: long </span><span style='color: #555555;font-style: italic;'>&lt;dbl&gt;</span><span style='color: #555555;'>, street_id </span><span style='color: #555555;font-style: italic;'>&lt;chr&gt;</span><span style='color: #555555;'>,
#&gt; #   street_name </span><span style='color: #555555;font-style: italic;'>&lt;chr&gt;</span><span style='color: #555555;'>, context </span><span style='color: #555555;font-style: italic;'>&lt;chr&gt;</span><span style='color: #555555;'>, id </span><span style='color: #555555;font-style: italic;'>&lt;chr&gt;</span><span style='color: #555555;'>, location_type </span><span style='color: #555555;font-style: italic;'>&lt;chr&gt;</span><span style='color: #555555;'>,
#&gt; #   location_subtype </span><span style='color: #555555;font-style: italic;'>&lt;chr&gt;</span><span style='color: #555555;'>, outcome_status </span><span style='color: #555555;font-style: italic;'>&lt;chr&gt;</span><span>
#&gt; </div><div class='input'>
<span class='co'># get the summaries</span>
<span class='no'>mc_result</span>$<span class='no'>summary</span></div><div class='output co'>#&gt; [[1]]
#&gt; </span><span style='color: #555555;'># A tibble: 2 x 8</span><span>
#&gt;   n_added distance_within n_cov pct_cov n_not_cov pct_not_cov dist_avg dist_sd
#&gt;     </span><span style='color: #555555;font-style: italic;'>&lt;dbl&gt;</span><span>           </span><span style='color: #555555;font-style: italic;'>&lt;dbl&gt;</span><span> </span><span style='color: #555555;font-style: italic;'>&lt;int&gt;</span><span>   </span><span style='color: #555555;font-style: italic;'>&lt;dbl&gt;</span><span>     </span><span style='color: #555555;font-style: italic;'>&lt;int&gt;</span><span>       </span><span style='color: #555555;font-style: italic;'>&lt;dbl&gt;</span><span>    </span><span style='color: #555555;font-style: italic;'>&lt;dbl&gt;</span><span>   </span><span style='color: #555555;font-style: italic;'>&lt;dbl&gt;</span><span>
#&gt; </span><span style='color: #555555;'>1</span><span>       0             100   339   0.187      </span><span style='text-decoration: underline;'>1</span><span>475       0.813    </span><span style='text-decoration: underline;'>1</span><span>400.   </span><span style='text-decoration: underline;'>1</span><span>597.
#&gt; </span><span style='color: #555555;'>2</span><span>      20             100   540   0.298      </span><span style='text-decoration: underline;'>1</span><span>274       0.702     886.    986.
#&gt; </div><div class='input'>
</div></span></pre>
  </div>
  <div class="col-md-3 hidden-xs hidden-sm" id="sidebar">
    <h2>Contents</h2>
    <ul class="nav nav-pills nav-stacked">
      <li><a href="#arguments">Arguments</a></li>
      
      <li><a href="#value">Value</a></li>
      
      <li><a href="#examples">Examples</a></li>
    </ul>

  </div>
</div>

      <footer>
      <div class="copyright">
  <p>Developed by Nicholas Tierney.</p>
</div>

<div class="pkgdown">
  <p>Site built with <a href="https://pkgdown.r-lib.org/">pkgdown</a> 1.3.0.</p>
</div>
      </footer>
   </div>

  

  </body>
</html>

