Displaying 14 results from an estimated 14 matches for "minhan".
Did you mean:
minchan
2010 Apr 23
2
Problem with parsing a dataset - help earnestly sought
Dear fellow R-help members,
I hope to seek your advice on how to parse/manage a dataset with hundreds of
columns. Two examples of these columns, 'cancer.problems', and
'neuro.problems' are depicted below. Essentially, I need to parse this into
a useful dataset, and unfortunately, I am not familiar with perl or any such
language.
data <- data.frame(id=c(1:10))
2010 May 06
5
Apologies : question on transforming a table
Dear R-help list,
Apologies. I am trying to convert one table to another. It feels that it
should be a very straightforward answer with a single (or two) commands with
the right extensions, but I really can't figure this out right now. I have
several hundred pheno factors actually, so manually doing this line by line
is not an option.
My original table is approximately like this :
ID
2004 Dec 15
1
hclust and heatmap - slightly different dendrograms?
Good afternoon,
I ran heatmap and hclust on the same matrix x (strictly, I ran
heatmap(x), and hclust(dist(t(x))), and realized that the two
dendrograms were slightly different, in that the left-right
arrangement of one pair of subclusters (columns) was reversed in the
two functions (but all individual columns were grouped correctly).
Looking through the code for heatmap as a most definite
2004 Nov 03
3
Estimating survival?
Hi,
Sorry to trouble the list. I have a problem which I'm not sure how to resolve.
I have a Cox model with 1 independent variable with 2 categories (and
thus 2 survival curves on plotting survfit)
How can I get an estimate of survival for each category at a
particular time point, with standard error?
Looking through ?cph and ?coxph, I'm not quite sure how to go about
that. I would
2010 Mar 26
2
tapply syntax
Dear R-help members,
Apologies for the trouble.
I have a question :
Essentially, I have a dataset which stores genetic variations for individual
patients. Each individual patient can have more than one variation, and each
new record corresponds to a new variation (thus, both individual patients
and variations are non-unique).
So the dataset looks something like this ((letters = patients,
2004 Aug 25
1
brlr function
Hi,
I'm trying the brlr function in a penalized logistic regression function.
However, I am not sure why I am encountering errors. I hope to seek
your advice here. (output below)
Thank you! Your help is truly appreciated.
Min-Han
#No error here, the glm seems to work fine
>
2004 Aug 20
3
Loss of rownames and colnames
Hi,
I am working on some microarray data, and have some problems with
writing iterations.
In essence, the problem is that objects with three dimensions don't
have rownames and colnames. These colnames and rownames would
otherwise still be there in 2 dimensional objects.
I need to generate multiple iterations of a 2 means-clustering
algorithm, and these objects thus probably need 3
2010 Sep 08
4
coxph and ordinal variables?
Dear R-help members,
Apologies - I am posting on behalf of a colleague, who is a little puzzled
as STATA and R seem to be yielding different survival estimates for the same
dataset when treating a variable as ordinal. Ordered() is used to represent
an ordinal variable) I understand that R's coxph (by default) uses the Efron
approximation, whereas STATA uses (by default) the Breslow. but we
2004 Jul 25
2
Colors in survival plots
Hi,
Sorry to trouble the list - I would like to ask a question - I can't
find the answer in the r-help archives.
I am trying to plot 2 survival curves in different colors.
What I have tried is this
plot(survfit(sim.surv ~ sim.km.smpl),col="red")
but both the survival curves turn red...
Your advice would be most appreciated! Thank you.
Min-Han
2004 Sep 22
1
Cox proportional hazards model
Good afternoon,
I am currently trying to do some work on survival analysis.
- I hope to seek your advice re: 2 questions (1 general and 1 specific)
(1) I'm trying to do a stratified Cox analysis and subsequently
plot(survfit(object)). It seems to work for some strata, but not for
others.
I have tumor grade, which is a range of 1 - 4.
When I divide this range of 1:4 into 2 groups, it
2004 Oct 26
0
Fitting additional variables to model
Good morning,
Sorry to trouble the list. I'm working on Cox models of survival, and
am encountering a problem. I'm trying to group variables into some
kind of new staging system By grouping, I mean : so-called
'integrated staging systems' for cancer merge categories of variables
such as tumor stage, patient status into a single range of categories
e.g.
System I = Stage I or II,
2011 Apr 22
1
Seeking help re: ? single apply command or an alternative
Dear R-help list,
Sorry to trouble everyone. This seems like it could be achieved with a
single command (? variant of apply), but I am not quite seeing it.
I am trying to multiply one vector (a1 below) by corresponding values in a3
(as determined by matching element in a vector a2). The example below might
be clearer.
a1 <- c(4,3,4,6,8,9,2,3,4,6,7,4)
a2 <-
2004 Sep 28
2
Validating a Cox model on an external set
Good morning,
Sorry to trouble the list.
I have a problem I hope to seek your advice on.
Essentially, I am trying to 'validate' a multivariate Cox proportional
hazards model built in a training set, by testing it on an external
test set. I have performed a survfit using the Cox model to predict
survival for the test set, and obtained individual predictions for
survival time, with
2005 Feb 08
0
Compiling R as a shared library
Hi,
I am trying to compile R as a shared library (need to run RMAGEML,
which depends on SJava) on 64bit SUSE Linux 9.1 . I am using the
source code for R 2.0.1 (Nov 15 04)
> ./configure R_PAPERSIZE=LETTER R_BROWSER=/opt/kde3/share/applications/kde/konqbrowser.desktop --enable-R-shlib
results in several errors (selected errors below), and make check also
yields errors (at bottom) The errors