get_ntail | R Documentation |
Returns the number of data points greater than or equal to
current value of xmin. In the Clauset et al, paper this is
called ntail
.
get_ntail(m, prop = FALSE, lower = FALSE)
m |
a distribution object. |
prop |
default |
lower |
default |
################################################
# Load data and create example object
################################################
data(moby_sample)
m = displ$new(moby_sample)
m$setXmin(7)
################################################
# Get ntail
################################################
get_ntail(m)
sum(moby_sample >= 7)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.