search for: profile1

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

Did you mean: profile
2007 May 07
1
Predicted Cox survival curves - factor coding problems..
...o at least die gracefully -- but it's not). The simple solution is to not use factors. site1 <- 1*(coxsnps$sitenew==1) site2 <- 1*(coxsnps$sitenew==2) test1 <- coxph(Surv(time, censor) ~ snp1 + sex + site1 + site2 + gene + eth.self + strata(edu), data= coxsnps) output profile1 <- data.frame(snp1=c(0,1), site2=c(0,0), sex=c(0,0), site1=c(0,0), site2=c(0,0), geno=c(0,0) eth.self=c(0,0)) plot(survfit(test1, newdata=profile1)) Note that you do not have to explicitly make "edu" a factor. Since it is included in a strata statement, the coxph r...
2007 May 04
0
Predicted Cox survival curves - factor coding problems...
...0.0604 1.062 0.0915 0.660 5.1e-01 sitenew1 0.5128 1.670 0.1381 3.712 2.1e-04 sitenew2 0.2688 1.308 0.1313 2.047 4.1e-02 geno 0.9702 2.639 0.0663 14.630 0.0e+00 eth_self 0.0871 1.091 0.1088 0.801 4.2e-01 profile1 <- data.frame(snp1=factor(c(0,1), levels=c("0", "1")), sex=0, sitenew=0, geno=0, eth_self=0) plot(survfit(test1, newdata=profile1)) Putting sitenew=0 in the dataframe produces the error Error in x2 %*% coef : non-conformable arguments implying the rows and column...
2002 Jan 09
3
R package-building
...uilding the package under unix. $cwd/RadioSonde/R/*.R # including getsonde.R $cwd/RadioSonde/man/*.Rd $cwd/RadioSonde/data/ExampleSonde.txt $cwd <prompt> R CMD check RadioSonde [works fine, I can build] In order to get the examples to "check" correctly they must be: profile1 <- getsonde("RadioSonde/data/ExampleSonde.txt") but then this is inappropriate for the installed version, which really should key off the .path.package() ... > system("pwd") /home/thoar > .path.package("RadioSonde") [1] "/contrib/R-1.3.0/lib/R/library/...
2006 Mar 10
4
many servers and mobile users - "always use the most fresh user profile" - ideas?
I have a situation like below: Samba servers in many cities; one "backup" server in the central location that fetches user profiles each night (changes really with rsync). Users work in many locations; sometimes one user can work in city A, and a day later he can work in city B. This means that they have problems with their profiles - user profile for city A will be different from