I'm not sure what you want when you refer to the "last value of f", but
perhaps this will help you out. I simplified your example since the other
parts of the code you submitted (par, grid, title, etc.) do not have
anything to do with your question.
# some fake data for f
f <- rnorm(20)
# save t
Hi, all
I have discovered that with abline(h=dataf,col="red") can add a line as I
want in this plot
fhist<-hist(f,plot=FALSE)
par(mar=c(6,0,6,6))
barplot(fhist$counts/ sum(fhist$counts),axes=FALSE,
space=0,horiz=TRUE,col="lightgray")
grid()
title("Marginal Distribution CDS vs. Ibex",font=4)
ablin
Hi all,
Several time ago I used to work with R, now I´m returning to study and work
and searching old file I see that I used this code:
gfhist<-hist(gf,plot=FALSE)
par(mar=c(6,0,6,6))
barplot(gfhist$counts,axes=FALSE, space=0,horiz=TRUE,col="lightgray")
grid()
title("Marginal Distribution La
3 matches
Mail list logo