Displaying 20 results from an estimated 1000 matches similar to: "Help installation lme4a,"
2010 Aug 05
1
Help installation lme4a, Error Message: lme4a is not a valid installed library
Dear R users,
I recently downloaded the library lme4a by
svn checkout svn://svn.r-forge.r-project.org/svnroot/lme4.
I tried to install the library lme4a by copying the downloaded document in
the location where all the R libraries are saved.
When I try to load the library, I obtain the message
library(lme4a)
Error in library(lme4a) : 'lme4a' is not a valid installed package
R version
2012 Jan 17
2
net classification improvement?
Greetings,
I have generated several ROC curves and would like to compare the AUCs.
The data are cross sectional and the outcomes are binary. I am testing
which of several models provide the best discrimination. Would it be most
appropriate to report AUC with 95% CI's?
I have been looking in to the "net reclassification improvement" (see
below for reference) but thus far I can only
2009 Nov 01
3
Collapse factor levels
I'm sure this is simple enough, but an R site search on my subject
terms did suggest a solution. I have a numeric vector with many
values that I wish to create a factor from having only a few levels.
Here is a toy example.
> x <- 1:10
> x <-
2010 Nov 19
1
profile in lme4 and lme4a/lme4b
? stato filtrato un testo allegato il cui set di caratteri non era
indicato...
Nome: non disponibile
URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20101119/262372bf/attachment.pl>
2010 May 06
4
sample size for survival curves
Dear R users, I am not asking questions specifically on R, but I know there are many statistical experts here in the R community, so here it goes my questions:
Freedman (1982) propose an approximation of sample size/power calculation based on log-rank test using the formula below (This is what nQuery does):
(Z(1-?/side)+Z(power))^2*(hazard.ratio+1)^2
N =
2008 Jan 23
5
latex{Hmisc} cannot find xdvi on MAC OS X
Hello.
I am posting this on behalf of a student in my class. I have been
introducing them to R.
I suspect that the problem I need help with is not so much an R
issue, but a MAC config issue, but I don't have enough MAC
experience to know what to do.
Anyway, on to the problem. We are using Frank Harrell's Hmisc
and Design packages. This student also wishes to use the latex
formatting
2009 Dec 01
1
An R vs. SAS Discrepancy: How do I determine which is correct?
I was messing around with some data in R and SAS (the reason is
unimportant) fitting a multiple linear regression and got a
curious discrepancy. The data set is too big to post, but if
someone wants it, I can send it.
So, here are the (partial) results:
From R:
Coefficients:
Estimate Std. Error t value Pr(>|t|)
(Intercept) 61.11434 1.48065 41.275 < 2e-16 ***
sexWomen
2011 Oct 03
1
Meta-analysis of test statistics in "metafor" package?
Hi -
I am conducting a meta-analysis and I have a matrix of f-statistics, Ns and
dfs from a series of studies that tested for an interaction in a 2x2 anova.
I'd like to test whether the 2x2 interaction is significant in the
aggregate.
Similarly, I have a matrix of chi-square statistics that I'd like to
meta-analyze.
How can I input these test statistics into the "metafor"
2010 Aug 09
3
ESS question. How to get rid of ess-smart-underscore?
Hi,
ESS replaces "_" by "<-". How can I switch off this feature?
I need to be able to type the underscore
Thanks
Eryk
--
Witold Eryk Wolski
Heidmark str 5
D-28329 Bremen
tel.: 04215261837
2011 Apr 12
2
Merge matrix
I have two matrices A and B
> dim (A)
[1] 30380 104
> dim(Bt)
[1] 30380 63
I want to combine both A and B to matrix C where
>dim(C)
[1] 30380 167
How do I do that ?
Regards,
Pankaj Barah
Department of Biology,
Norwegian University of Science & Technology (NTNU)
Realfagbygget, N-7491
[[alternative HTML version deleted]]
2011 Aug 25
1
X11 problem
Hello,
TO update R under Ubuntu on my macchine, I downloaded R-2.13.1. When running ./configure, I got the following error message:
checking for X... no
configure: error: --with-x=yes (default) and X11 headers/libs are not available
But I could use X11() function in R-2-10. So where does the problem come from?
Cheers,
Carol
2010 Sep 10
2
survfit question
Hi,
I am attempting to graph a Kaplan Meier estimate for some claims using the survfit function. However, I was wondering if it is possible to plot a cdf of the kaplan meier rather than the survival function. Here is some of my code:
library(survival)
Surv(claimj,censorj==0)
survfit(Surv(claimj,censorj==0)~1)
surv.all<-survfit(Surv(claimj,censorj==0)~1)
summary(surv.all)
plot(surv.all)
2012 May 23
5
linux
Dear All
I can not download R for Linux.
I do not know which file I should install?
Best Regards,
Soheila
2006 Apr 07
2
Why is transform="km" the default for cox.zph?
To enhance my understanding, and that of my students, I have a question
about cox.zph in the survival package.
If I have correctly gleaned the high-level point from the 1994
Biometrika paper of Grambsch and Therneau, it looks to me like
cox.zph provides a mechanism to test for a simple trend in plots
of a function of time, g(t) versus the scaled schoenfeld
residuals and it also provides some
2011 Jun 27
3
assign using =
Hey all,
I learned that using the equals sign "=" to assign objects is generally OK, but will not work in some cases.
As I always use "<-" for assignments, I have not encoutered any problems.
Could somebody provide an example or explanation, why getting used to "=" is not a good idea?
Or is it?
Thanks ahead,
Berry
-------------------------------------
Berry
2009 Feb 02
3
Problem with foreign package
I tried to use write.foreign() to export to SAS this morning and got an
error.
When I looked at the code for writeForeignSAS() I saw this line:
dfn < -df
which I think should be
dfn <- df
So, I tried to run update.packages() to see if there was an updated
version and got the following result.
> update.packages(c("foreign"))
Warning message:
In list.files(lib) :
2011 Dec 16
1
mgcv 1.7-12 crashes R
Dear community,
I encountered a very disturbing phenomenon today:
When I try to fit any gam() with mgcv R aborts. I could not find any post
regarding this in google, which mades in even more strange.
I am using the latest Ubuntu, latest R and latest mgcv everything up to
date. The crash occured too with the last mgcv 1.7-11.
This is the output from the R shell:
<pre>
R version 2.14.0
2005 Jul 15
1
Cannot update some packages after upgrade to 2.1.1
I just upgraded to version 2.1.1 (from 2.0.1) today.
> R.version
_
platform i686-pc-linux-gnu
arch i686
os linux-gnu
system i686, linux-gnu
status
major 2
minor 1.1
year 2005
month 06
day 20
language R
I am using SuSE 9.2 and did the upgrade using rpm -U with the RPM
available on CRAN. After upgrading r-base, I ran update.packages().
Four previously
2006 Mar 16
1
Problem compiling R-Patched
I downloaded R-Patched today (to see if another problem I want to
ask about is still present or if its just me - as per the posting
guide). I ran "tools/rsync-recommended" successfully. I then ran
"configure --enable-R-shlib" successfully. Then make stops with the
following error.
gcc -shared -L/usr/local/lib -o tools.so text.o init.o Rmd5.o md5.o
-L../../../../lib -lR
2009 Oct 22
3
Simple question, I think
Greetings,
I am recoding a dummy variable (coded 1,0) so that 0 = 2. I am using
the line
sciach$dummyba[sciach$ba==0] <- 2
I notice that it creates a new column dummyba, with 0 coded as 2 but
with 1's now coded as NA. Is there a simple way around this in the line
I am using, or do I need to have an additional line
sciach$dummyba[sciach$ba==1] <- 1
Thanks in advance.
David