Displaying 20 results from an estimated 2000 matches similar to: "Please help me"
2008 Jan 25
2
Help Me to Adjust the R Code
Hi,
The following code, from Angelo Canty article on line "Resampling Methods in R: the boot Package, 2002", works fine for Angelo Canty using R 2.6.0 on Windows XP.
It also works for me using R 1.2.1 and S-PLUS 2000 on Windows XP after installing the S-PLUS bootstrap library, with slight differences in my outputs.
> library(boot)
> library(survival)
>
2008 Jan 26
0
Who can tell me how I adjust the R code for bootstrapping the Cox model?
Hi,
The following code, from Angelo Canty article on line "Resampling Methods in R: the boot Package, 2002", works fine for Angelo Canty using R 2.6.0 on Windows XP.
It also works for me using R 1.2.1 and S-PLUS 2000 on Windows XP after installing the S-PLUS bootstrap library, with slight differences in my outputs.
> library(boot)
> library(survival)
>
2008 Jan 26
1
(no subject)
Hi, The following code, from Angelo Canty article on line "Resampling Methods in R: the boot Package, 2002", works fine for Angelo Canty using R 2.6.0 on Windows XP.
It also works for me using R 1.2.1 and S-PLUS 2000 on Windows XP after installing the S-PLUS bootstrap library, with slight differences in my outputs.
> library(boot)
>
2004 Jun 07
1
Censboot Warning and Error Messages
Good day R help list!!!
I've been trying to do Bootstrap in R on Censored data. I encountered
WARNING/ERROR messages which I could not find explanation.
I've been searching on the literature for two days now and still can't find
answers. I hope there's anyone out there who can help me
with these two questions:
1. If the "Loglik converged before variable..." message
2004 Apr 21
1
Boot package
Dear mailing list,
I tried to run the example for the conditional bootstap written in the help file
of censboot. I got the following result:
STRATIFIED CONDITIONAL BOOTSTRAP FOR CENSORED DATA
Call:
censboot(data = aml, statistic = aml.fun, R = 499, F.surv = aml.s1,
G.surv = aml.s2, strata = aml$group, sim = "cond")
Bootstrap Statistics :
original bias std. error
t1*
2007 Aug 06
1
(Censboot, Z-score, Cox) How to use Z-score as the statistic within censboot?
Dear R Help list,
My question is regarding extracting the standard error or Z-score from a
cph or coxph call. My Cox model is: -
modz=cph(Surv(TSURV,STATUS)~RAGE+DAGE+REG_WTIME_M+CLD_ISCH+POLY_VS,
data=kidneyT,method="breslow", x=T, y=T)
I've used names(modz) but can't see anything that will let me extract
the Z scores for each coefficient or the standard errors in the same
2005 Dec 19
0
Package "boot": How to construct CI from censboot object?
Dear all,
I run the example of "censboot" contained in "boot" package. But, I can't
find the confidence interval of the resulted "censboot" object. Any idea ?
> aml.fun <- function(data) {
+ surv <- survfit(Surv(time, cens)~group, data=data)
+ out <- NULL
+ st <- 1
+ for (s in 1:length(surv$strata)) {
+
2008 Feb 11
2
Viable Approach to Parallel R?
All,
We are researching approaches to parallel R with the end goal of running
R in a distributed manner on a Linux cluster. We expect of course to do
some work decomposing our problems to be task-parallel or data-parallel,
but wouldn't mind getting an initial boost working with "embarrassingly
parallel" code sections and one of the approaches below.
Incidentally our environment
2000 Mar 21
3
loading data in packages
Hi,
I'm new to R and have a question which seems like it should be easy.
I loaded the R port of my boot library and installed it. All of the
functions and help files are available but I can't seem to access the
data. The data directory was created and contains files with the
extension .rda. I tried to use the data() function but I get
> data(city)
Error: restore file corrupted -- no
2000 Apr 10
2
Increasing memory size in ESS
I am having a problem using ESS with R. In particular I have large
data objects which exceed the 6Mb default heap memory. Outside of
ESS I can run R by specifying large values of --vsize and --nsize
but I can't figure out how to do this in ESS.
Any help would be much appreciated.
--
****************************************************
** Angelo J. Canty **
2003 Apr 28
4
plot(pam.object) error with R-1.7.0 on Red-Hat 8.0 i686
I don't know if there is some fault in compiling or a bug of the new
R-1.7.0 version:
cl.pam.2 <- pam(as.dist(1-cor(mel.data)),2)
plot(cl.pam.2)
perform a right partitioning and silhouette plot on the old R-1.6.2
instead
"Error in clusplot.default(x$diss,...... ;
x is not numeric"
is the output on the new R-1.7.0.
Same platform: RH8.0 i686.
Some suggestions?
A.S.
2003 Oct 31
2
Summing elements in a list
Hi,
Suppose that I have a list where each component is a list of two
matrices. I also have a vector of weights. How can I collapse my
list of lists into a single list of two matrices where each matrix
in the result is the weighted sum of the corresponding matrices.
I could use a loop but this is a nested calculation so I was hoping
there is a more efficient way to do this. To help clarify,
2003 Jun 23
1
erase.screen bug?
Hi,
I'm using R 1.7.1 on a Windows 2K computer. For some reason erase.screen
does not seem to be working correctly. That is it does not erase the
requested screen. That is the old graphic is still visible and any
subsequent graphics are superimposed over it making them impossible to
read. What is worse is that they print out this way also. The same
behaviour happens with a Windows XP
2010 Jan 29
1
help on drawing right colors within a grouped xyplot (Lattice)
Hi,
I've lost my mind on it... I have to scatterplot two vectors, grouped by a third variable, with two different dimensions according to whether each cell line in the plot is sensitive or resistant to a given drug, and with a different color for each of 9 tissues of origin.
Here's what I've done:
2018 Mar 18
1
selectFGR - variable selection in fine gray model for competing risks
Dear All,
I would like to use R function 'selectFGR' of fine gray model in competing risks model. I used the 'Melanoma' data in 'riskRegression' package. Some of the variables are factor. I get solution for full model but not in variable selection model. Any advice how to use factor variable in 'selectFGR' function. The following R code is produced below
2004 Aug 01
1
Problem with RGui and MASS
Hi,
Using R1.9.1 for Windows with Windows 2000 (also XP), I have come
across the following problem that I have not seen before and am at
a loss to explain. If I create an object using rlm from library(MASS)
and then save the workspace, I cannot reopen it using RGUI by double
clicking on the .RData file as I normally do. If I double click on
the icon, R starts and then gives the following
2010 May 23
3
"order" issue
Hi everybody, this is a real dummy thing.
I sorted a matrix based on a given column, and what I get is right, until it comes to columns of negative and positive values; than, "order" orders everything from max to min in the negative values, and then AGAIN from max to min in the positive values!!!
Why isn't everything order from max to min, and that's it?
Thank you!!!
Attached
2018 Mar 21
0
selectFGR - variable selection in fine gray model for competing risks
Dear Raja,
A Fine and Gray model can be fitted using the standard coxph function with
weights that correct for right censoring and left truncation. Hence I
guess any function that allows to perform stepwise regression with coxph
should work. See e.g. my article in Biometrics
https://doi.org/10.1111/j.1541-0420.2010.01420.x, or the vignette
"Multi-state models and competing risks" in the
2000 Jun 02
3
graphical parameters in plot
I'm using plot to make a simple plot but I want to control where
the tick marks go on bot axes. The graphical parameters xaxp and
yaxp seem to be ignored by the plot function so I tried setting them
using
op <- par(no.readonly=T)
par(xaxp=c(-2.4,-2.2,5), yaxp=c(-2500,10000,6))
plot(...)
par(op)
but they are still ignored.
Next I tried to use the axis function as follows
op <-
2004 Apr 26
1
names attribute of data.frames after rbind
Hi,
If columns of a data.frame have a names attribute and we rbind two
similar data.frames together, the names of the column of the resulting
data.frame only has the correct values for the first component and
has "" in all other positions. Is this a documented "feature" or
a bug? If it is intentional, why? Here is a small example to
show what I mean. The same behaviour