Displaying 4 results from an estimated 4 matches for "ticksize".
Did you mean:
tick_size
2008 Apr 02
1
Two datasets on one histogram
I have two .txt files with lists of generated data I want to plot them on the same histogram. I'm aware of the histbackback function, but that is not really what I am looking for, I just want them on the same histogram but so they are still grouped separately (different colours, different norm curves etc). Does anyone know how to do this? Thank you.
[[alternative HTML version deleted]]
2010 Nov 24
2
Is there an equivalent to predict(..., type="linear") of a Proportional hazard model for a Cox model instead?
...365.25, type = "l", ylim = c(0, 2), xlab = "age", ylab =
"expected lifetime (years)")
lines(0:82, exp(zz$fit+1.96*zz$se.fit)/365.25, lty = 3, col = 2)
lines(0:82, exp(zz$fit-1.96*zz$se.fit)/365.25, lty = 3, col = 2)
rug(Aidsp$age + runif(length(Aidsp$age), -0.5, 0.5), ticksize = 0.015)
Is it possible to achieve something similar with a Cox model instead?
Is there a more detailed explanation of the "type" option for predict.coxph than
what's in the help of predict.coxph? e.g. type=c("lp", "risk", "expected",
"terms"...
2008 May 05
2
axis and tick widths decoupled (especially in rugs!)
Hi!
(a complete newby, but will not give up easily!)
I was wondering if there is any way to decouple the axis and tick mark
widths? As I understand they are both controlled by the lwd setting, and
cannot be controlled independently? For example I might want to create major
and minor ticks, which I now know how to do by superimposing two axes with
different at settings, but what if I also wanted
2010 Mar 22
0
superfluous distribution found with mclust
...almost the same mean:
myModel$parameters$mean
1 2 3 4
52.33903 52.33948 57.14263 68.54754
Graphically, I don't see a reason for the distribution with mean=52.33903 to be there:
hist(my.data, breaks=99, freq=F, main="", border=grey(0.5))
rug(my.data, ticksize = 0.01, quiet = TRUE)
newx <- seq(from = min(my.data), to = max(my.data), length = 500)
Dens <- dens(modelName = myModel$modelName, data = newx,
parameters = myModel$parameters)
lines(newx, Dens, col="blue")
Do you know why I get this first distribution with no member?
Tha...