[R-es] PROMEDIO POR INTERVALOS

2016-08-21 Thread javier valdes
HOLA a TODOS. tengo la siguiente tabla de datos como ejemplo: FECHAHORA minutos Pp. temperatura 2-2-2014 00:10 1 13 2-2-2014 00:20 1 13,5 2-2-2014 00:30 1 13,4 tengo los datos cada diez minutos. La idea es obtener: promedio DIARIO por intervalos, es

[R] Intercept in Model Matrix (Parameters not what I expected)

2016-08-21 Thread Justin Thong
I have something which has been bugging me and I have even asked this on cross validated but I did not get a response. Let's construct a simple example. Below is the code. A<-gl(2,4) #factor of 2 levels B<-gl(4,2) #factor of 4 levels df<-data.frame(y,A,B) As you can see, B is nested within A.

Re: [R] problem concernig Survsplit, package survival

2016-08-21 Thread David Winsemius
> On Aug 20, 2016, at 1:31 PM, Jeff Newmiller wrote: > > Your link did not take me to the code you reference... Google does not make > entire books available online which may have something to do with my > difficulty. This is one reason the Posting Guide asks you to