get_stability_plot: get stability plot from stability results.

View source: R/get_stability_plot.R

get_stability_plotR Documentation

get stability plot from stability results.

Description

get stability plot from stability results.

Usage

get_stability_plot(
  stability,
  prefix = "",
  path = ".",
  device = "pdf",
  width = 10,
  height = 7,
  get.table = TRUE,
  ...
)

Arguments

stability

output from quickNet::Stability.

prefix

the prefix of output plot files.

path

the path of output files, can be either a relative or absolute path.

device

'pdf' or 'svg', deciding the output plot format.

width

the width of plot, in inch.

height

the height of plot, in inch.

get.table

logical. whether get the csv file of CS-coefficient. Default is TRUE.

...

other parameter from pdf or svg.

Value

four plot files will be output to the specified path, if the bridge stability is calculated, the outputs will also contain the bridge stability plot.

Examples

data('mtcars')
stability <- Stability(mtcars,nboot = 100)
get_stability_plot(stability,prefix = 'test')


LeiGuo0812/quickNet documentation built on May 1, 2024, 10:42 p.m.