mrom34
3/20/2018 - 10:23 PM

Convert a string containing ";" separated numeric value to a vector. than transform vector to matrix so it is possible to plot multiple line

Convert a string containing ";" separated numeric value to a vector. than transform vector to matrix so it is possible to plot multiple lines on the same plot. Vectors contain data for multiple lines with hte same number of parameter

v2=as.numeric(unlist(strsplit(ds2$RFU_nobck, ";")))
v3<-matrix(v2,nrow = 9,ncol = 50,byrow = TRUE)
matplot(t(v3), type="l")