6 ms·
use R #copy data into a txt file without the first two lines from the xls par(mfrow = c(3,2)) dat <- read.table("data.txt", sep="\t", header = TRUE) for(let
by TheColonel 15y ago
use R
#copy data into a txt file without the first two lines from the xls
par(mfrow = c(3,2))
dat <- read.table("data.txt", sep="\t", header = TRUE)
for(let in c("A","B","C","D","E","F"))
plot(density(dat[,let]), main = let)
easy...(why doesnt HN recognise newlines?)
- Dove 15y agowhy doesnt HN recognise newlines? It treats single newlines as the same paragraph and double newlines as a new one. Alternatively, if you want to post code, you can indent it by four spaces. Like this: par(mfrow = c(3,2)) dat <- read.table("data.txt", sep="\t", header = TRUE) for(let in c("A","B","C","D","E","F")) plot(density(dat[,let]), main = let)
- TheColonel 15y agoThanks Dove. I probably should read the posting FAQ or something.
- Dove 15y agoNot your fault, actually. That particular quirk may be written down somewhere, but I've not found it in my three years here. I offer you knowledge obtained by sheer trial and error. :)