plot-methods: Plot functions in package 'plrs'

Description Usage Arguments Details Methods Author(s)

Description

Methods plot in package 'plrs'

Usage

1
2
3
4
5
6
## S3 method for class 'plrs'
plot(x, col.line = "black", col.pts = c("red", "blue","green2", "green4"),
col.cb = "yellow", xlim = c(floor(min(x@data$cghseg)),ceiling(max(x@data$cghseg))),
ylim = c(floor(min(x@data$expr)),ceiling(max(x@data$expr))),
pch = 16, lwd=4, cex = 1.2, xlab="", ylab="", main = "",                      
add = FALSE, lty = 1, lin = FALSE, ...)

Arguments

x

An object of class plrs-class or plrs.select-class

col.line

Color of the fitted line

col.pts

Vector of length 4, for colors associated with each state

col.cb

Color for the confidence band

xlim

The x limits of the plot

ylim

The y limits of the plot

pch

See par

lwd

See par

cex

See par

xlab

Title of the x-axis

ylab

Title of the y-axis

main

Main title for the plot

add

If the plot should be added to the current device. Default is FALSE

lty

See par

lin

Logical. Whether the simple linear model should also be plotted

...

Other arguments, see par

Details

plot.plrs plots the observed points, the fitted line and potentially the confidence band.

Methods

signature(x = "plrs")

Plot observed points and the fitted line

signature(x = "plrs.select")

Plot observed points and the fitted line of the selected model.

Author(s)

Gwenael G.R. Leday g.g.r.leday@vu.nl


plrs documentation built on April 28, 2020, 6:09 p.m.