Displaying 9 results from an estimated 9 matches for "ttime".
Did you mean:
time
2008 Mar 07
5
Passing function to tapply as a string
Hi,
Was wondering if it is possible to pass function name as a parameter, smth
along this line
param.to.pass<-c(1,'max','h')
dd<-function(dfd, param=param.to.pass,...){
ttime.int <- format(ttime,fmt)
data.frame(
param[3] = tapply(dfd[,param[1]],ttime.int,param[3]),
...)
}
I know there is a as.formula expression but not quite sure if there is some
way to accomplish what i need.
Thanks
--
View this message in context: http://www.nabble.com/Passing...
2004 Nov 02
3
time dependency of Cox regression
Hi,
How can I specify a Cox proportional hazards model
with a covariate which i believe its strength on
survival changes/diminishes with time? The value of
the covariate was only recorded once at the beginning
of the study for each individual (e.g. at the
diagnosis of the disease), so I do not have the time
course data of the covariate for any given individual.
For example, I want to state at the
2001 Mar 30
1
Date format
...00:00"?
Thanks!!
=Example 1=====================================
> S <- 20010323120000
> sTime <- strptime(paste(S), format="%Y%m%d%H%M%S")
> sTime
[1] "2001-03-23 12:00:00"
=Example 2=====================================
> T <- 20010323000000
> tTime <- strptime(paste(T), format="%Y%m%d%H%M%S")
> tTime
[1] "NA"
__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail.
http://personal.mail.yahoo.com/?.refer=text
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-...
2010 Oct 06
4
problem with abline
Hi All,
I am running a scatter plot and trying to add a best fit line. I use an abline function, but get no line drawn over the points. I also get no error. I arm using V 2.10.0 on Windows 7.
Here is my code, including the SAS transport file import:
require (foreign)
require (chron)
require (Hmisc)
require (lattice)
clin <- sasxport.get("y:\\temp\\subset.xpt")
attach(clin)
2010 May 15
1
barplot: invalid 'xlim' value
...-td830743.html#a830744
But subplot disconnects the data from the existing coordinate system.
I've prepared my data to be easily uploaded, but the paste command into R
took about 10-20 sec. on my machine to complete (I did pare down the dataset
by 80% or so):
library(zoo)
#create a time series
ttime.80.2<-seq(as.POSIXlt("2000-06-12 02:00","%Y-%m-%d
%H:%M",tz=""),as.POSIXlt("2000-07-17 01:00","%Y-%m-%d
%H:%M",tz=""),by="hour")
#Load in the data for the base plot
well.80.2<-read.table(textConnection("row~ID~date~Rea...
2003 Mar 12
1
simulating 'non-standard' survival data
...(n,3,9)
#survival time and censoring variable:
obsTime<-rexp(n,1)
status<-ifelse(runif(n)>.2,1,0)
obsTime<-obsTime[order(obsTime)]
status<-status[order(obsTime)]
dati<-matrix(-99,n,(1+2))
#hazard ratio as function of the explanatory variable xx, and survival time.
HR<-function(ttime,xx){exp(.5)} #.5 is the log hazard ratio
P<-outer(obsTime,x,HR)
PP<-t(apply(P,1,function(x){sort(cumsum(sort(x,decreasing=T)),decreasing=T)}
))
Pok<-P/PP
for(i in 1:(n-1)){
j<- if(status[i]==1) sample(R,size=1,prob=Pok[i,]) else
sample(R,size=1)
ind<-which(R==j)...
2010 Mar 14
3
CRAN (and crantastic) updates this week
...m>>n of leaves is first reached. This
latter method is appropriate for m-tip trees generated under a big
class of models (details in the bd.gsa.taxa man page).
* tsne (0.1-1)
Unknown
http://crantastic.org/packages/tsne
A "pure R" implementation of the t-SNE algorithm.
* ttime (1.0)
Radhakrishnan Nagarajan
http://crantastic.org/packages/ttime
Translate neurodevelopmental event timing across species. Predict
unknown event timings and investigate phylogenetic proximity by
hiearchical clustering of the known and predicted event timings.
* UScensus2000blkgrp (0.0...
2010 Jul 18
6
CRAN (and crantastic) updates this week
...traitr
(0.7), tree (1.0-28), trio (1.1.10), trip (1.1-6), tripEstimation
(0.0-33), truncnorm (1.0-4), TSdbi (2010.5-1), tsDyn (0.7-30), TSfame
(2010.5-1), TShistQuote (2010.5-1), tsModel (0.5-3), TSMySQL
(2010.5-1), TSodbc (2010.5-1), TSpadi (2010.5-1), TSPostgreSQL
(2010.5-1), TSSQLite (2010.5-1), ttime (1.2), ttutils (1.0-1), tuneR
(0.3-0), twitteR (0.1.6), udunits (1.3.1), umlr (0.3.0), uncompress
(1.33), unmarked (0.8-6), untb (1.6-3), vardiag (0.1-3), varSelRF
(0.7-2), vbmp (1.16.0), vcdExtra (0.5-0), vegan (1.17-3), vegdata
(0.1.5), venneuler (1.0-2), VGAM (0.8-1), vowels (1.1), VPdtw (2.1-6)...
2006 Nov 17
1
gjournal on 6.x wont build
Hi all,
I was intending on trying out gjournal on a new disk i've added in my
desktop. I had a look to see what the most recent patch provided by
Pawel and found
http://people.freebsd.org/~pjd/patches/gjournal6_20061024.patch
I created the directories as per Pawel's original post
(http://lists.freebsd.org/pipermail/freebsd-fs/2006-June/001962.html)
and the patch succeeded with no failed