Displaying 20 results from an estimated 7000 matches similar to: "problems with rcmd check"
2002 Sep 01
2
Converting the columns of a data frame to numeric
Hello,
I have a data frame whose columns are factors with numeric levels and I
want to convert the columns to numeric so that I can treat the data frame
as a matrix.
I found a way of doing this but would like to know if there is an easier way.
My way is:
M <- matrix(ncol=ncol(df) , nrow=nrow(df) , as.numeric(as.matrix(df)))
where 'df' is the data frame.
I am wondering if there is
2002 Jun 19
4
drawing ellipses
Hello again,
First I want to thank all the people who answered my question about line
width in graphs. I promise I will learn the 'par' help page by heart for
the end of the month !
I now want to trace some ellipses to emphasize groups of data. I found how
to trace circles with 'symbols()', but no ellipse. I'm planning on writing
my own function based on
2003 Jun 12
3
Multiple imputation
Hi all,
I'm currently working with a dataset that has quite a few missing
values and after some investigation I figured that multiple imputation
is probably the best solution to handle the missing data in my case. I
found several references to functions in S-Plus that perform multiple
imputation (NORM, CAT, MIX, PAN). Does R have corresponding functions?
I searched the archives but was not
2002 Apr 29
1
Release of Design library; update of Hmisc library
The Design library has been fully ported to R except for Cox proportional hazards regression modeling (using Therneau's survival package) which will be available in about two weeks. It will take much longer to make all the example code executable, is it currently contains many examples for which data are not provided. Thanks to Xiao Gang Fan <xiao.gang.fan1 at libertysurf.fr> who
2002 Apr 29
1
Release of Design library; update of Hmisc library
The Design library has been fully ported to R except for Cox proportional hazards regression modeling (using Therneau's survival package) which will be available in about two weeks. It will take much longer to make all the example code executable, is it currently contains many examples for which data are not provided. Thanks to Xiao Gang Fan <xiao.gang.fan1 at libertysurf.fr> who
2002 Apr 26
4
SAS and R
Hello
I am sure this is elementary, but I can't figure it out.....
I am using SAS v8.2 and R 1.4.1 on a Windows platform.
I have a large (6 megabyte) file in .sd2 format. I want to import it into R.
If necessary, I can create a smaller file, as I don't need all the variables that are in this file
I downloaded the package foreign. I then tried to use PROC CPORT in SAS to create a
2002 Nov 23
1
No subject
Dear lister
Few months ago I posted a question about the drawing of a nomogram through R
routines. Any news?
thanks
_________________________________________________________________
http://join.msn.com/?page=features/junkmail
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send
2003 Jun 05
2
ridge regression
Hello R-user
I want to compute a multiple regression but I would to include a check for
collinearity of the variables. Therefore I would like to use a ridge
regression.
I tried lm.ridge() but I don't know yet how to get p-values (single Pr() and p
of the whole model) out of this model. Can anybody tell me how to get a
similar output like the summary(lm(...)) output? Or if there is
2002 Apr 12
5
How to specify search order for require()
In a .First.lib I want to issue two require()s to insure that two other packages are loaded. But I want the package being loaded by .First.lib using library.dynam("mypackage",pkb,lib) to be higher in the search order than the two required packages, because I want to have a couple of functions from the two required packages overridden. What is the best way to do that? Thanks in advance
2002 May 14
2
R CMD check
I am unclear on whether to run R CMD check pgkname as user or as root on Linux. When running as user, after all the latex, html, and man files are created, I get the following error message:
Rdconv(): Couldn't open '': Permission denied
Has anyone dealt with that message?
When I run R CMD check a second time, all latex, html, etc. are recreated which takes quite a while. Is there
2002 Aug 04
5
Pseudo R^2 for logit - really naive question
I am using GLM to calculate logit models based on cross-sectional data. I
am now down to the hard work of making the results intelligible to very
average readers. Is there any way to calculate a psuedo analoque to the R^2
in standard linear regression for use as a purely descriptive statistic of
goodness of fit? Most of the readers of my report will be vaguely familiar
and more comfortable with
2003 May 14
2
building mean/median over subgroups
Dear all,
I'm trying to solve the following problem, and hoping to get some
advise here from the group
I have a dataframe in which the same sample was measured more than
once on the same day. I would reorganize the dataframe to get a
single value (mean /median) for one day
Patient Day Sample Test
A 1 A 23
A 1 A 36
A 5 B 44
A 5 B 23
B 2 C 10
B 2 C 5
mean
Patient Day Sample Test.mean
A
2002 May 23
1
case-cohort sampling
Hi.
I've a dataframe with about 46000 women with about 500 cases (cancers). I
want to define a case-cohort sampling scheme, matching by age and hospital
centre. Is there anyone who has already written a code for that? It should
be something similar to the stcacoh macro in Stata.
TIA,
Stefano
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list
2002 Jul 08
1
Imputations in R
I'm interested in finding a package in R to do multiple imputations, similar
to MICE in S-Plus. Does one exist?
Please email directly to me.
Thanks.
Linda Andrews
Social & Scientific Systems
(301) 628-3234
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info",
2002 Sep 14
1
missing data dataset needed
Not exactly an R question but..........
Does anyone have a dataset with a nice story behind it
that would be suitable for regression analysis but is
missing data in one or two covariates ? I am playing
around with different missing data routines and need a
nice dataset to play with.
Thanks,
Steve
__________________________________________________
Yahoo! News - Today's headlines
2002 Dec 02
1
advanced tabulation
i make me thoughts about a "advanced tabulation" package similar to
commercial software products like Quantum or Wincross.
Before i'm beginning to fight with coding - is in the mailing-List anybody
doing something similar in the past and have a good starting point
and/or suggestions for me ?
My purpose ist to define for a dataset headers (i.e. sex,age-groupes..)
which should
2002 Dec 18
2
acceptable p-level for scientific studies
Dear list members,
I have a statistical question, that doesn't belong to this list, and I
apologise for that in advance but I would appreciate your help very much.
Is there some convention for selecting the a level for significance testing
in scientific (e.g. chemical processes) studies? Most people use the 0.05
level but I could not find a reference to justify this. Why not 0.01 or 0.1?
2003 Feb 05
2
clustering and stratification
Hello,
Does R have any capabilities (or are there any add on packages) which
can do estimation of standard statistical models (means, regression,
logistic regression, etc) which take into account not only weights (e.g.
post-stratification weights) but also the sample design, such as
stratification and clustering information (to compute a robust taylor
linearized variance estimator, for
2003 Feb 10
1
Type of multi-valued variable
Hi,
I've read in the past a thead in the R discussion list
about the multi-valued type variable (what was called checklist).
At the moment Gregory had intention to add some general code
in his gregmisc package.
I'm wondering if there's some general code / packages available ?
A general class for taking account this type of variable
would be very useful in the domain of survey
2003 Mar 05
1
cor.test in matrices
Hi,
For computing correlation among variables in a matrix, I use cor( ), but
for computing the p-values I'm using cor.test in the following way:
cor.p <- function(X)
{
res <- matrix(0, ncol(X), ncol(X))
for (i in 1:ncol(X))
for (j in 1:ncol(X)) res[i, j]<- cor.test(X[, i], X[, j])$p.value
rownames(res) <- colnames(res) <- colnames(X)
res
}
I'm just wondering if there is a