Description Usage Arguments Details Methods Author(s)

Methods `plot`

in package 'plrs'

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, ...)
``` |

`x` |
An object of 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 |

`lwd` |
See |

`cex` |
See |

`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 |

`lty` |
See |

`lin` |
Logical. Whether the simple linear model should also be plotted |

`...` |
Other arguments, see |

`plot.plrs`

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

`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.

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

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

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.