search for: times1

Displaying 4 results from an estimated 4 matches for "times1".

Did you mean: times
2005 Jan 26
2
reshape (a better way)
...s varying and then I merge the data together. This is taking a long time. my question is: How do I specify that there are multiple variables that are varying in reshape. Is there a way to do this? The idea is to have something like varying1, varying2,etc,... and each are assosiated with their own times1, times2. something like reshape(mydata, direction="long", varying1=varying1,varying2=varying2, varying3=varying3, split=list(regexp="[a-z][0-9]", include=TRUE), idvar="ID", times1=times1, times2=times2, times3=times3) Jean
2006 Mar 07
1
How to change time zones?
Say you have a POSIX object that is in UTC. How do you change the values to another timezone? If I do this: times <- strptime(times, "%H:%M:%S") times1 <- as.POSIXct(times, tz="UTC") times2 <- as.POSIXct(times, tz="CDT6CST") times1 id UTC, but times2 is still UTC, not CTD. Why? Is the only was to change time zones to add seconds to POSIX objects? [[alternative HTML version deleted]]
2006 Aug 26
1
problems with loop
...tmp[k,2]=1} if(tmp[k,1]==sim[n,1] && v[k]>sim[n,2]) {tmp[k,2]=0} } } return(tmp) } # The model to be fitted Model_1=function(beta0_mod,mu_mod,k_mod,I_mod) { parms = c(beta0=beta0_mod, mu=mu_mod, k=k_mod) my.atol = 1e-6 times1=c(0,0.002884615,0.003846154,0.005769231,0.009615385,0.01,0.019230769) times2=c(0.028846154,0.038461538,0.057692308, 0.076923077,0.083333333,0.096153846) times3=c(0.115384615,0.125,0.134615385,0.166666667,0.25,0.416666667,0.5) times4=c(0.58333333,0.666666667,0.75,0.83333333,0.9166...
2006 Mar 08
0
survival
...ime zones? To: R-help at stat.math.ethz.ch Message-ID: <5CB24417-5F1B-49AC-AACF-4FD5479BC7D6 at bu.edu> Content-Type: text/plain Say you have a POSIX object that is in UTC. How do you change the values to another timezone? If I do this: times <- strptime(times, "%H:%M:%S") times1 <- as.POSIXct(times, tz="UTC") times2 <- as.POSIXct(times, tz="CDT6CST") times1 id UTC, but times2 is still UTC, not CTD. Why? Is the only was to change time zones to add seconds to POSIX objects? [[alternative HTML version deleted]] ----------------------------...