Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

get_n

Sample size


Description

Returns the sample size of the data set contained within the distribution object.

Usage

get_n(m)

Arguments

m

a distribution object.

Examples

################################################
# Load data and create example object
################################################
data(moby_sample)
m = displ$new(moby_sample)
################################################
# get_n and length should return the same value
################################################
get_n(m)
length(moby_sample)

poweRlaw

Analysis of Heavy Tailed Distributions

v0.70.6
GPL-2 | GPL-3
Authors
Colin Gillespie [aut, cre] (<https://orcid.org/0000-0003-1787-0275>)
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.