Llin.method.counts | R Documentation |
The Llin method for count data The Llin method, which is plotting binned counts on log-linear axes and then fitting a regression, for count data.
Llin.method.counts(valCounts, num.bins = NULL, binBreaks = NULL)
valCounts |
valCounts: data.frame (can be tbl_df) with columns |
num.bins |
number of bins to be used, though this is only a suggestion
since can get over-ridden by |
binBreaks |
breaks for the bins to be used to bin the data and then fit the regression. |
list containing:
mids
: midpoint of bins
log.counts
: log(counts)
in each bin
counts
: counts in each bin
lm
: results of the linear regression of log.counts ~ mids
slope
: slope of the linear regression fit
breaks
: bin breaks
confVals
: 95\
stdError
: standard error of the fitted slope
Andrew Edwards
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.