search for: sf1

Displaying 16 results from an estimated 16 matches for "sf1".

Did you mean: f1
2009 Jan 27
2
[RSpec] Error when returning multiple values from a stub
Hey guys. I''ve just found some odd behaviour within RSpec 1.1.12 , and would like to know whether this is a bug, or I''m doing something wrong. When I give multiple return values to a stub, like this: SubtitleFile.stub!(:new).and_return @sf1, @sf2 RSpec complains: Mock ''SubtitleFile_1001'' received unexpected message :size with (no args) However, if I break that into two stubs, like this: SubtitleFile.stub!(:new).and_return @sf1 SubtitleFile.stub!(:new).and_return @sf2 the spec passes. I''ve posted...
2007 Dec 09
2
Getting estimates from survfit.coxph
...keeps this example simple): test1 <- list(time= c(4, 3,1,1,2,2,3), status=c(1,NA,1,0,1,1,0), x= c(0, 2,1,1,1,0,0), sex= c(0, 0,0,0,1,1,1)) c1 <- coxph( Surv(time, status) ~ x + strata(sex), test1) #stratified model f1 <- survfit(c1) sf1 <- summary(f1) str(f1) print(f1) print(sf1) str(sf1) I'm sure I am missing something obvious. Apologies - but any help greatfully received! Best wishes, Mark P.S. I can get to diferrent estimates for median survival for different groups using simpler mechanisms, but they yield different...
2006 May 05
2
How to access results of survival analysis
...(l, split=' +')[[1]])) nres <- strsplit(ox[3],split=' +')[[1]][2:6] res <- matrix(as.numeric(tmp[,2:6]), ncol=5, dimnames=list(tmp[,1], nres)) res } # example: library(survival) fit1 <- survfit(Surv(time, status) ~ 1, data=aml) sf1 <- smed(fit1) sf1 fit <- survfit(Surv(time, status) ~ x, data=aml) sf <- smed(fit) sf -- Xiaochun Li, Ph.D. Research Scientist Department of Biostatistics and Computational Biology Dana Farber Cancer Institute Harvard School of Public Health M1B25 (617) 632 3602
2014 Sep 08
2
Samba4 AD -- Mac OS X clients uid:gid numbers not consistent
...42(MASS\prod),937332115(MASS\zip),943789798(MASS\lgo),1634451510(MASS\ao2),1777519165(MASS\swnartist),1907739953(MASS\cnb),1969236052(MASS\lite),2056039516(MASS\Domain Admins),79284988(MASS\tech),229719682(MASS\swnprod),389580424(MASS\cmm),413624907(MASS\ase_test),507063418(MASS\sup),511815653(MASS\sf1),12(everyone),62(netaccounts),885447622(MASS\AD_SUDO),1104925252(MASS\linuxproxy),1444867574(MASS\skp),1542738964(MASS\a02pmo),1769264895(MASS\rsm),1928644924(MASS\lib),2090666068(MASS\a02artist),401(com.apple.sharepoint.group.1),417919610(MASS\Denied RODC Password Replication Group) ###########...
2009 Jun 20
1
string splitting and testing for enrichment
...2     STAT4(57) HEB(251) TAF12     PAX3(53) YY1(92) BRCA(99) GLI(101) EIF3I     NERF(10) P300(10) TRAPPC3     HIC1(3) PAX5(17) PAX5(110) NRF1(119) HIC1(122) TRAPPC3     EGR(26) ZNF219(27) SP3(32) EGR(32) NFKAPPAB65(89) NFKAPPAB(89) RFX(121) ZTA(168) NDUFS5     WHN(14) ATF(57) EGR3(59) PAX5(99) SF1(108) NRSE(146) TIE1     NRSE(129) I would like to test the 2nd column (each value has letters followed by numbers in brackets) here for enrichment via fisher.test. To that end I am trying to create two factors made up of column 1 (Gene) and column 2 (TFBS) where each Gene would have several ent...
2017 Jan 18
4
[Bug 12527] New: Sender waits for timeout when fuzzy basis file found
...count=3 /home/prd/bkp/ [Receiver] change_dir(/home/prd/bkp) generator starting pid=48003 delta-transmission enabled recv_generator(.,0) set modtime of . to (1484751636) Wed Jan 18 16:00:36 2017 recv_generator(.,1) recv_generator(bf.iso,2) recv_generator(sf2.dmg,3) fuzzy basis selected for sf2.dmg: sf1.dmg send_files(0, /home/prd/bkp/.) ./ send_files(2, /home/prd/bkp/bf.iso) bf.iso 519,077,888 70% 8.14MB/s 0:00:25 [sender] io timeout after 30 seconds -- exiting rsync error: timeout in data send/receive (code 30) at io.c(195) [sender=3.1.2] [sender] _exit_cleanup(code=30, file=io.c, l...
2009 Dec 13
3
CRAN (and crantastic) updates this week
CRAN (and crantastic) updates this week New packages ------------ * Bergm (1.0) Alberto Caimo http://crantastic.org/packages/Bergm Functions implementing Bayesian estimation for exponential random graph models via exchange algorithm Updated packages ---------------- lmtest (0.9-26), logcondens (1.3.5), MTSKNN (0.0-4), pmml (1.2.21), r2lUniv (0.9.4), rattle (2.5.11), rgdal (0.6-23),
2018 Mar 16
3
Discrepancy: R sum() VS C or Fortran sum
...f(1, 1.2, 4) p <- runif(5, 3, 10) x <- c(e[-5], (sum(e*p)-sum(e[-5]*p[-5]))/p[5]) u <- a^(1/s)*x^((s-1)/s) dyn.load("sumF.so") u[1] <- u[1]+.0001 ### If we do not add .0001, all differences are 0 s1 <- sum(u) s2 <- .Fortran("sumf", as.double(u), as.integer(n), sf1=double(1), sf2=double(1))[3:4] s3 <- .C("sumc", as.double(u), as.integer(n), sC=double(1))[[3]] s1-s2[[1]] ## R versus compiler sum() (Fortran) [1] -7.105427e-15 s1-s2[[2]] ## R versus manual sum (Fortran [1] -7.105427e-15 s1-s3 ## R Versus manual sum in C [1] -7....
2005 Feb 19
0
[PATCH] check read/write return values
...n 2005-02-19 13:10:45.558410335 -0500 +++ xen-unstable/tools/python/xen/lowlevel/xc/xc.c 2005-02-19 14:21:19.323167162 -0500 @@ -461,8 +461,10 @@ static PyObject *pyxc_vmx_build(PyObject sf2 = PyString_AsString(f2); lf3 = PyLong_AsLong(f3); lf4 = PyLong_AsLong(f4); - sscanf(sf1, "%lx", &lf1); - sscanf(sf2, "%lx", &lf2); + if (sscanf(sf1, "%lx", &lf1) != 1) + return NULL; + if (sscanf(sf2, "%lx", &lf2) != 1) + return NULL; mem_map.map[i-1].addr = lf1; mem_map.map[i-1].size =...
2002 Sep 06
3
Histogram Ranking
Hello, This is not exactly an R question, but I suspect that there is an R procedure that does what I am calling (for lack of a better name) "histogram ranking". I'm trying to evaluate a set of regression features by segregating by target class and comparing the feature histograms. My idea is that if the histograms are the same for two different classes then there is no
2018 Mar 16
1
Discrepancy: R sum() VS C or Fortran sum
...(sum(e*p)-sum(e[-5]*p[-5]))/p[5]) >> u <- a^(1/s)*x^((s-1)/s) >> dyn.load("sumF.so") >> >> u[1] <- u[1]+.0001 ### If we do not add .0001, all differences are 0 >> s1 <- sum(u) >> s2 <- .Fortran("sumf", as.double(u), as.integer(n), sf1=double(1), >> sf2=double(1))[3:4] >> s3 <- .C("sumc", as.double(u), as.integer(n), sC=double(1))[[3]] >> >> s1-s2[[1]] ## R versus compiler sum() (Fortran) >> >> [1] -7.105427e-15 >> >> s1-s2[[2]] ## R versus manual sum (For...
2018 Mar 16
0
Discrepancy: R sum() VS C or Fortran sum
...0) > x <- c(e[-5], (sum(e*p)-sum(e[-5]*p[-5]))/p[5]) > u <- a^(1/s)*x^((s-1)/s) > dyn.load("sumF.so") > > u[1] <- u[1]+.0001 ### If we do not add .0001, all differences are 0 > s1 <- sum(u) > s2 <- .Fortran("sumf", as.double(u), as.integer(n), sf1=double(1), > sf2=double(1))[3:4] > s3 <- .C("sumc", as.double(u), as.integer(n), sC=double(1))[[3]] > > s1-s2[[1]] ## R versus compiler sum() (Fortran) > > [1] -7.105427e-15 > > s1-s2[[2]] ## R versus manual sum (Fortran > > [1] -7.105427e-15...
2011 Jun 29
0
XML parsing
...1" value="A5BE532D25997B71BE6D20C76561DDC4D5307DDD"/> <cvParam cvRef="IMS" accession="IMS:1000030" name="continuous" value=""/> </fileContent> <sourceFileList count="1"> <sourceFile id="sf1" name="Example.raw" location="C:\Users\Thorsten Schramm\Documents\Promotion\imzML\Website\files\Beispiel-Dateien\Example images\"> <cvParam cvRef="MS" accession="MS:1000563" name="Thermo RAW file" value=""/> &...
2010 Mar 14
3
CRAN (and crantastic) updates this week
...imings and investigate phylogenetic proximity by hiearchical clustering of the known and predicted event timings. * UScensus2000blkgrp (0.03) Zack W. Almquist http://crantastic.org/packages/UScensus2000blkgrp US Census 2000 Block Group shapefiles and additional demographic data from the SF1 100 percent files. This data set contains polygon files in lat/lon coordinates and the corresponding demographic data for a number of different variables. * vcdExtra (0.4-1) Michael Friendly http://crantastic.org/packages/vcdExtra Provides additional data sets, methods and documentation...
2012 Aug 27
2
Font size in geom_dl (using ggplot2)
Hey everyone, I am an R-newby... so sorry for bothering you with simple-to-solve questions;) I have the following issue: trying to add labels to my scatterplots (with geom_dl in ggplot2). Everything works fine, but after checking every resource I do not find a way to change the font size of my labels. I tried size, cex, fontsize at every position... but it always stays the same. ggplot()+
2011 Jun 30
0
help with interpreting what nnet() output gives:
...1" value="A5BE532D25997B71BE6D20C76561DDC4D5307DDD"/> <cvParam cvRef="IMS" accession="IMS:1000030" name="continuous" value=""/> </fileContent> <sourceFileList count="1"> <sourceFile id="sf1" name="Example.raw" location="C:\Users\Thorsten Schramm\Documents\Promotion\imzML\Website\files\Beispiel-Dateien\Example images\"> <cvParam cvRef="MS" accession="MS:1000563" name="Thermo RAW file" value=""/> &...