getplsd: Get uncertainty estimates for power law parameters fitted to...

Description Usage Arguments Value Examples

View source: R/dd.getplsd.R

Description

Get uncertainty estimates for power law parameters fitted to the degree distribution of the language network.

Usage

1
getplsd(model, getraw = F)

Arguments

model

A power law model already fitted to the raw data.

Value

If getraw = F, returns the raw bootstrap output. Can be used for further analysis or visualization. If getraw = T, returns means and sds of the estimated parameters from the bootstrap.

Examples

1
2
3
4
5
6
getplsd(model.pl, getraw = F)
# xmin mean, xmin sd, alpha mean, alpha sd values will be listed
# these are the means and sds of the simulations, not the actual data
# if the fitted alpha fits falls within the bootstrap distribution, then that's good
bsresults <- getplsd(model.pl, getraw = T)
# returns the raw outputs of the bootstrap

csqsiew/langnetr documentation built on May 14, 2019, 10:37 a.m.