Skip to content

How to plot a matrix with 18 rows by row vs. a vector in a single graph, resulting 18 lines with different colors?

1 message · Liaw, Andy

#
See ?matplot.  E.g.,

matplot(time, t(gene), type="b", lty=1)

Andy