Displaying 3 results from an estimated 3 matches for "day8".
Did you mean:
day
2004 Jul 19
3
why won't rq draw lines?
I've been trying to draw quantile linear regression lines across a scatterplot of my data using
attach(forrq)
plot(PREGNANT,DAY8,xlab="pregnant EPDS",ylab="postnatal EPDS",cex=.5)
taus <- c(.05,.1,.25,.75,.9,.95)
xx <- seq(min(PREGNANT),max(PREGNANT),100)
for(tau in taus){
f <- coef(rq(DAY8~PREGNANT,tau=tau))
yy <- (f[1]+f[2]*xx)
lines(xx,y...
2007 Jun 26
2
aggregating daily values
Hi,
I swear I have read almost all the posted messages about this issue, but
it's evident I couldn't find an answer (surely esay) to my problem. What
I want is the following:
Make 8 days aggregates from a daily series like this (dput output):
structure(c(6.91777181625366, 0.79051125049591, 9.00625133514404,
9.86966037750244, 14.4326181411743, 3.70155477523804, 9.67768573760986,
2009 Jun 01
1
Reshaping Data
Hi,
i did a mistake with my first post.
I have to reshape data from this matrix:
id x1 x2 x3 x4 day1 day2 day3 day4 day5 day6 day7 day8 day9
1 0.129 0.797 0.231 0.615 4 4 1 1 1 1 3 3 3
2 0.420 0.376 0.501 0.282 4 4 4 4 5 4 2 5 5
3 0.377 0.486 0.897 0.699 4 4 4 4 4 4 4 4...