Last data update: 2014.03.03

R: Plotting an Object of Class bss
plot.bssR Documentation

Plotting an Object of Class bss

Description

Plots the estimated sources resulting from an bss method. If the bss method is based on second order assumptions and returned the sources as a time series object it will plot the sources using plot.ts, otherwise it will plot a scatter plot matrix using pairs.

Usage

## S3 method for class 'bss'
plot(x, ...)

Arguments

x

object of class bss.

...

further arguments to be passed to or from methods.

Author(s)

Klaus Nordhausen

See Also

plot.ts, pairs

Examples

A<- matrix(rnorm(9),3,3)
s1 <- arima.sim(list(ar=c(0.3,0.6)),1000)
s2 <- arima.sim(list(ma=c(-0.3,0.3)),1000)
s3 <- arima.sim(list(ar=c(-0.8,0.1)),1000)

S <- cbind(s1,s2,s3)
X <- S %*% t(A)

res1 <- AMUSE(X)
plot(res1)
# not so useful:
plot(res1, plot.type = "single", col=1:3)

# not meaningful for this data
res2 <- JADE(X)
plot(res2)

Results


R version 3.3.1 (2016-06-21) -- "Bug in Your Hair"
Copyright (C) 2016 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

> library(JADE)
> png(filename="/home/ddbj/snapshot/RGM3/R_CC/result/JADE/plot.bss.Rd_%03d_medium.png", width=480, height=480)
> ### Name: plot.bss
> ### Title: Plotting an Object of Class bss
> ### Aliases: plot.bss
> ### Keywords: methods
> 
> ### ** Examples
> 
> A<- matrix(rnorm(9),3,3)
> s1 <- arima.sim(list(ar=c(0.3,0.6)),1000)
> s2 <- arima.sim(list(ma=c(-0.3,0.3)),1000)
> s3 <- arima.sim(list(ar=c(-0.8,0.1)),1000)
> 
> S <- cbind(s1,s2,s3)
> X <- S %*% t(A)
> 
> res1 <- AMUSE(X)
> plot(res1)
> # not so useful:
> plot(res1, plot.type = "single", col=1:3)
> 
> # not meaningful for this data
> res2 <- JADE(X)
> plot(res2)
> 
> 
> 
> 
> 
> dev.off()
null device 
          1 
>