search for: prodlim

Displaying 8 results from an estimated 8 matches for "prodlim".

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,
2017 Sep 18
0
help matching rows of a data frame
Hi Terry, I take your question to mean how to label distinct rows of a data frame. If that is not your question please clarify. I found the row.match() function in the package prodlim that can be used to solve this. However since your request requires no additional dependencies I borrowed the relevant code from the row.match function. Here is some obfuscated code to provide your answer in one line, per your request. (less obfuscated code just below that. Assuming your data fram...
2014 Dec 08
2
CRAN packages mis-using \donttest : falsy
...e should be runnable ... yours is > not. > > One issue showing is that the examples use undeclared packages: this > is showing on the CRAN check pages for packages > > Distance GLDreg RECA TreePar complmrob disposables egcm enigma > extrafont falsy ggplot2 imputeYn investr lava prodlim randomForestSRC > rbison separationplot shiny smoother vcdExtra > > With R-devel the \donttest examples can be run by R CMD check > --run-donttest: we have done that and found failures in packages most > of those above, plus > > BNSP DCGL EIAdata ExtDist FeedbackTS FlexParamCur...
2013 Jul 06
1
problem with BootCV for coxph in pec after feature selection with glmnet (lasso)
Hi, I am attempting to evaluate the prediction error of a coxph model that was built after feature selection with glmnet. In the preprocessing stage I used na.omit (dataset) to remove NAs. I reconstructed all my factor variables into binary variables with dummies (using model.matrix) I then used glmnet lasso to fit a cox model and select the best performing features. Then I fit a coxph model
2017 Sep 18
6
help matching rows of a data frame
This question likely has a 1 line answer, I'm just not seeing it. (2, 3, or 10 lines is fine too.) For a vector I can do group <- match(x, unqiue(x)) to get a vector that labels each element of x. What is an equivalent if x is a data frame? The result does not have to be fast: the data set will have < 100 elements. Since this is inside the survival package, and that package is on
2010 Nov 16
1
simulate survival data using median survival time
Dear All, I like to know how to simulate survival data using median (or mean) survival time. Any help will be greatly appreciated. Best wishes, Kere Kerenaftali Klein PhD| Biostatistician | Queensland Clinical Trials & Biostatistics Centre The University of Queensland | School of Population Health | Building 33, Level 1| Princess Alexandra Hospital |Ipswich Road | Woolloongabba QLD 4102 |
2009 Feb 27
2
Competing risks adjusted for covariates
Dear R-users Has anybody implemented a function/package that will compute an individual's risk of an event in the presence of competing risks, adjusted for the individual's covariates? The only thing that seems to come close is the cuminc function from cmprsk package, but I would like to adjust for more than one covariate (it allows you to stratify by a single grouping vector). Any
2014 Dec 08
0
CRAN packages mis-using \donttest : falsy
...gt; > not. > > > > One issue showing is that the examples use undeclared packages: this > > is showing on the CRAN check pages for packages > > > > Distance GLDreg RECA TreePar complmrob disposables egcm enigma > > extrafont falsy ggplot2 imputeYn investr lava prodlim randomForestSRC > > rbison separationplot shiny smoother vcdExtra > > > > With R-devel the \donttest examples can be run by R CMD check > > --run-donttest: we have done that and found failures in packages most > > of those above, plus > > > > BNSP DCGL EIAd...