We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6807036 commit dca104aCopy full SHA for dca104a
R/plot.r
@@ -48,7 +48,7 @@
48
#' }
49
plot.SCGLR <- function(x, ..., style=getOption("plot.SCGLR"), plane=c(1, 2)) {
50
data <- x
51
- if (class(data) != "SCGLR")
+ if (!inherits(data, "SCGLR"))
52
stop("This plot function need an SCGLR result")
53
54
if (dim(data$compr)[2] < 2)
0 commit comments