search for: mdanderson

Displaying 20 results from an estimated 74 matches for "mdanderson".

2004 Jul 16
3
rpart and TREE, can be the same?
...ing if it is possible to set parameters of 'rpart' and 'tree' such that they will produce the exact same tree? Thanks. Auston Wei Statistical Analyst Department of Biostatistics and Applied Mathematics The University of Texas MD Anderson Cancer Center Tel: 713-563-4281 Email: wwei@mdanderson.org [[alternative HTML version deleted]]
2006 Oct 02
2
Help with lrm function in package Design
...1 year 2006 month 06 day 01 svn rev 38247 language R version.string Version 2.3.1 (2006-06-01) Auston Wei Research Statistical Analyst Division of Quantitative Science The University of Texas MD Anderson Cancer Center Tel: 713-563-4281 Email: wwei@mdanderson.org [[alternative HTML version deleted]]
2015 Jan 28
2
[Q] Get formal arguments of my implemented S4 method
..., "recalc.after.sweep": sweep.cols, "?" } not those of the generic: { "object", "?" } From: Michael Lawrence <lawrence.michael at gene.com> Date: Wednesday, January 28, 2015 11:28 AM To: "Roebuck,Paul L" <PLRoebuck at mdanderson.org> Cc: R-devel <r-devel at r-project.org> Subject: Re: [Rd] [Q] Get formal arguments of my implemented S4 method Would you please clarify your exact use case? Thanks, Michael On Wed, Jan 28, 2015 at 9:02 AM, Roebuck,Paul L <PLRoebuck at mdanderson.org> wrote: Interrogating...
2005 Sep 20
2
why this postscript didn't work?
...c(2,2)) par(mfg=c(2,1)) hist(rnorm(50),col='blue') par(mfg=c(2,2)) hist(rnorm(60),col='blue') dev.off() Best, Auston Auston Wei Statistical Analyst Department of Biostatistics and Applied Mathematics The University of Texas MD Anderson Cancer Center Tel: 713-563-4281 Email: wwei@mdanderson.org [[alternative HTML version deleted]]
2006 Mar 10
1
error message in cph
...linux-gnu system i686, linux-gnu status major 2 minor 2.0 year 2005 month 10 day 06 svn rev 35749 language R Auston Wei Statistical Analyst Department of Biostatistics and Applied Mathematics The University of Texas MD Anderson Cancer Center Tel: 713-563-4281 Email: wwei@mdanderson.org [[alternative HTML version deleted]]
2015 Jan 29
0
[Q] Get formal arguments of my implemented S4 method
At this point I would just due: formals(body(method)[[2L]]) At some point we need to figure out what to do with this .local() confusion. On Wed, Jan 28, 2015 at 10:07 AM, Roebuck,Paul L <PLRoebuck at mdanderson.org> wrote: > I'm attempting to reflect the information for use with corresponding > fields in GUI (in a different package), to provide default values, > argname as key for UI label lookups, etc. > > So I want something much more like the formals of the implementation: > &...
2006 Apr 13
2
[R] S4 method dispatch matrixOrArray (fwd)
...s shaken >the foundations of what I thought I understood about >S4 methods. Even Gabor was surprised... > > >---------- Forwarded message ---------- >Date: Wed, 12 Apr 2006 18:24:46 -0400 >From: Gabor Grothendieck <ggrothendieck@gmail.com> >To: Paul Roebuck <roebuck@mdanderson.org> >Cc: R Help Mailing List <r-help@stat.math.ethz.ch> >Subject: Re: [R] S4 method dispatch matrixOrArray > >On 4/12/06, Paul Roebuck <roebuck@mdanderson.org> wrote: > > > >>On Wed, 12 Apr 2006, Gabor Grothendieck wrote: >> >> >> &...
2017 Mar 23
1
A question on stats::as.hclust.dendrogram
...)) instead of stopifnot(length(s) == 2L, all( vapply(unlist(s), is.integer, NA) ))? I appreciate your time and I'm looking forward to your response. Cheers, Man Chun John Ma, PhD Postdoctoral Fellow Unit 0903 Dept Lymphoma & Myeloma Research 1515 Holcombe Blvd. Houston, TX 77030 MMa at mdanderson.org The information contained in this e-mail message may be ...{{dropped:14}}
2006 May 04
2
R 2.3.0 and rgl on OS X 10.4.6 (PR#8833)
...nary") : argument 'lib' is missing: using /Users/neely/Library/R/library > and does not fix the problem. The same problem occurs with some packages (e1071, svmpath) but not others (gdata, gplots, gtools). Any advice would be greatly appreciated. Neely Atkinson eatkinso at mdanderson.org 713-792-2619
2015 Jan 29
3
[Q] Get formal arguments of my implemented S4 method
...;- eval(b[[2]][[3]]) if(is.function(local)) return(formals(local)) warning("Expected a .local assignment to be a function. Corrupted method?") } genFormals } > > > > > On Wed, Jan 28, 2015 at 10:07 AM, Roebuck,Paul L <PLRoebuck at mdanderson.org> > wrote: > >> I'm attempting to reflect the information for use with corresponding >> fields in GUI (in a different package), to provide default values, >> argname as key for UI label lookups, etc. >> >> So I want something much more like the formal...
2015 Jan 28
2
[Q] Get formal arguments of my implemented S4 method
Interrogating some (of my own) code in another package. >norm.meth <- getMethod("normalize", "MatrixLike") >message("str(norm.meth)") >str(norm.meth) >message("show(norm.meth at .Data)") >show(norm.meth at .Data) Last show() displays this: function (object, ...) { .local <- function (object, method = c("median",
2012 Apr 12
1
R-2.15.0 and Exporting Methods Converted To S4 Generic
...;, image) exportClasses(....) exportMethods(image) If the problem is because of the exportMethods(), I'm left stumped as to how to work around this. Making our S4 objects useable externally was kind of the point. Source package available, if needed. oompa <- "http://bioinformatics.mdanderson.org/OOMPA/2.14" download.packages("SuperCurve", destdir=".", repos=oompa, type="source")
2011 Jan 12
2
Access R Help Content From R
Have UI that simplifies running code from another (internal) package, allowing user to set values on fields I basically grabbed from results of calls to formals() for various functions. That works fine for the most part. But it was requested to investigate some type of popup help or something for each field. Since I already wrote the information in the dot-Rd files for what should be displayed,
2004 Oct 04
2
how to change data type in data frame?
Hi, list, suppose i have such a data frame: trash <- data.frame(cbind(seq(1:5),c('a','a','b','a','b'),c('b','a','b','b','a'))) names(trash) <- c('age','typeI','typeII') and I want to change all 'a's to be 0 and 'b's to be 1. temp <- as.matrix(trash)
2014 Apr 18
3
Can the output of Sys.getenv() be improved?
Within an R session, type Sys.getenv() will list all the environment variables, but each one of them occupies about a page, so scrolling to find one is difficult. Is this because I don't know how to use it or something could be improved? Usually I'm not sure the exact name of a variable but want to look it up. Recently I installed rjags, with the JAGS-3.4.0's lib, include, modules
2005 Feb 17
3
help on deleting NAs
Dear R friends My goal is to eliminate this specific group(1) if the # of NAs in this group greater than 50%(specifically say greater than 3). Would you please show me how to do it. I have a sample data as following: Thanks a lot. Kevin Lin y group f1 f2 f3 30 NA 1 1 1 1 27 NA 1 1 2 2 48 NA 1 2 1 2 40 -0.6066416 1 2 2 1 24
2013 Mar 12
1
Request for more flexibility in heatmap() width / height ratio
...e user is requested to use a very large square device area (export to file becomes mandatory when the screen is not large enough), and thus to accommodate with very high rows and tiny columns. This flaw led several useRs to develop alternative functions in external packages : http://bioinformatics.mdanderson.org/Software/OOMPA/ClassDiscovery/html/aspectHeatmap.html http://hosho.ees.hokudai.ac.jp/~kubo/Rdoc/library/gplots/html/heatmap.2.html But after a quick look at the "stats" package sources, this seems quite easy to fix, without breaking backward compatibility : [ src/library/stats/R/de...
2009 Jun 29
2
How to read a list into R??
Dear R helpers: I have tried many times to find some way to read a list into R. But I faid. Here is an example: I have a file 'List.txt' which includes data as follows: [[1]] [1] 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.5 0.0 0.0 0.0 [19] 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 [[2]] [1] 0.0000000 0.5000000 0.0000000 0.0000000
2015 Jan 28
0
[Q] Get formal arguments of my implemented S4 method
Would you please clarify your exact use case? Thanks, Michael On Wed, Jan 28, 2015 at 9:02 AM, Roebuck,Paul L <PLRoebuck at mdanderson.org> wrote: > Interrogating some (of my own) code in another package. > > >norm.meth <- getMethod("normalize", "MatrixLike") > >message("str(norm.meth)") > >str(norm.meth) > > >message("show(norm.meth at .Data)") > &...
2004 Dec 15
0
AUC for logistic regression [was: (no subject)]
...example, suppose you fit a > model as follows: > > fit <- glm(y~x, famil=binomial()...) > > Then fit$aic returns the AIC. > > You may also wish to consider anova and anova.glm. > > hope this helps. spencer graves > > rrouzier at mdanderson.org wrote: > > >Dear R-helper, > > > >I would like to compare the AUC of two logistic regression > models (same > >population). Is it possible with R ? > > > >Thank you > > > >Roman Rouzier > > [[alternative HTML version deleted]] >...