Learn R Programming

FSAtools (version 2.0.5)

plot.fsaModel: Plot method for "fsaModel" objects

Description

Plots a fsaModel object.

Usage

# S3 method for fsaModel
plot(x, xlab = "Score", lwd = 3, ...)

Value

Invisibly returns TRUE on success.

Arguments

x

The fsaModel object to plot.

xlab

To be passed to plot.

lwd

To be passed to plot.

...

Further arguments to be passed to plot.

Author

Sylvain Mareschal

See Also

train

Examples

Run this code
  # Example FSA file provided
  fsa <- read.fsa(system.file("extdata/fsa_GEP/A5918.fsa", package="FSAtools"))
  
  # Add model from design file
  design <- designFile(system.file("extdata/design_GEP.conf", package="FSAtools"))
  fsa <- add.model(fsa, model=design$GLOBALS$MODEL)
  
  # Plot model
  plot(attr(fsa, "model"))

Run the code above in your browser using DataLab