plot: Plot LLLMs

Description Usage Arguments Details Value Author(s)

Description

Generates stacked relative frequency diagrams for local log-linear or VGAM capture recapture models

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
## S3 method for class 'lllcrc'
plot(x, cont.var = "x.con.1", selection = NULL,
  main = "Set the main argument for the title", xlab = "x",
  label.offset = 0.01, text.size = 0.7, x.range = NULL, subtitle = NULL,
  padj.adj = -0.3, lr = 1, lr.global = NULL, ylim = NULL, ...)

## S3 method for class 'vgam.crc'
plot(x, cont.var = "x.con.1", selection = NULL,
  main = "Set the main argument for the title", xlab = "x",
  label.offset = 0.01, text.size = 0.7, x.range = NULL, subtitle = NULL,
  padj.adj = -0.3, lr = 1, lr.global = NULL, ylim = NULL, ...)

Arguments

x

Output of the function for LLLMs, lllcrc, or the CRC wrapper function for VGAM, vgam.crc

cont.var

The name (in the form x.dis ... – see format.data) of a continuous variable that will be used for the x-axis of the plot. By default, it is x.con.1, the first continuous variable

selection

See the same argument in extract.CI

main

Plot title

xlab

x-axis label

label.offset

Controls the distance between the capture-pattern labels and corresponding curves

text.size

Controls text size of capture pattern labels

x.range

The range of the primary continuous variable that is included in the plot

subtitle

An optional subtitle

padj.adj

Controls the vertical positioning of the subtitle if it is defined

lr

Has value 1 or -1; controls the left-right (or right-left) alternating pattern of the capture pattern labels

lr.global

NULL by default; if specified, it must be -1 or 1, causing all capture pattern labels to appear on the left or the right, without alternating

ylim

Optional argument of the form c(a,b), where a and b are numbers.

...

Additional parameters to be passed into plot

Details

The capture pattern relative frequencies are plotted in a stacked form, summing to 1 over each vertical cross-section. On top, the rate of missingness is plotted for the all-zero capture pattern, along with 95 percent confidence curves if a boots entry is included in x, the first argument

Value

Returns nothing, but makes a plot if you're paying attention

Author(s)

Zach Kurtz


lllcrc documentation built on May 2, 2019, 3:34 p.m.