Displaying 20 results from an estimated 10000 matches similar to: "Please Help"
2005 Mar 02
5
Differences between package and library terminology
Just out of curiosity, what is the difference between the terms for
package and library ? Why are we loading a package with the library()
command ?
If this is a case of RTFM, I would be happy to do so if pointed in the
right direction. I have searched the FAQ and mail archives and only came
up with http://tolstoy.newcastle.edu.au/R/help/05/02/12162.html but this
still does not explain what is
2005 Feb 28
5
Journal Quality R Graphs?
Hi!
I have browsed the help archives but did not find
anything on the subject: How
to make publication quality graphs with R best?
Is there some document about that topic out there? The
problem is that the
graphs look nice on the screen but when printed in
black and white every color
apart from black doesn't look very nice. Is there some
guideline how to set
color palettes and or fill
2007 Mar 20
6
Select the last two rows by id group
Hi R-users,
Following this post http://tolstoy.newcastle.edu.au/R/help/06/06/28965.html ,
how do I get last two rows (or six or ten) by id group out of the data
frame? Here the example gives just the last row.
Sincere thanks,
Lauri
[[alternative HTML version deleted]]
2008 Oct 08
1
follow up on "[Rd] NAMESPACE & methods guidance, please" ( http://tolstoy.newcastle.edu.au/R/e4/devel/08/06/1901.html )
This is a follow-up on the discussion originally posted on the R-devel list ( http://tolstoy.newcastle.edu.au/R/e4/devel/08/06/1901.html ), as I have encountered the exact same issue mentioned in Martin's email. Here is a simplified version of my problem:
##=================================================================
## I created a package, say, "tmpA", with a NAMESPACE with
2005 Jan 26
3
Still avoiding loops
Dear all,
I have a matrix X with 47 lines and say 500 columns - values are in {0,1}.
I'd like to compare lines.
For that, I first did:
for (i in 1:(dim(X)[1]-1))
for (j in (i+1):dim(X)[1]) {
Y <- X[i,]+Y[j,]
etc.
but, since it takes a long time, I would prefer avoding loops;
for that, my first idea was to add this matrix:
X1=X[,rep(1:46,46:1)]
to this one:
res=NULL
for (i in
2005 Apr 02
1
Survey of "moving window" statistical functions - still looking f or fast mad function
Hi,
First, let me thank Jaroslaw for making this survey. I find it quite
illuminating.
Now the questions:
* the #1 solution below (based on cumsum) is numerically unstable.
Specifically if you do the runmean on a positive vector you can easily
get negative numbers due to rounding errors. Does anyone see a
modification which is free of this deficiency?
* is it possible to optimize the
2007 May 17
1
MICE for Cox model
R-helpers:
I have a dataset that has 168 subjects and 12 variables. Some of the
variables have missing data and I want to use the multiple imputation
capabilities of the "mice" package to address the missing data. Given
that mice only supports linear models and generalized linear models (via
the lm.mids and glm.mids functions) and that I need to fit Cox models, I
followed the previous
2007 Jan 19
2
Cross-compile errors under R-2.4.0 and R-2.4.1
Dear all,
I already posted a question regarding this to an existing thread:
http://tolstoy.newcastle.edu.au/R/e2/devel/06/10/0852.html#start
I apologize for the double posting but I have some further information
that might be illuminating.
I am trying to cross-compile my R-package under ubuntu linux, kernel
2.6.17-10-generic, on an IBM T60.
I am following the suggested steps in
2008 Sep 17
3
selecting dataframe values that are not nulls
Hi,
I have a dataframe with 14319rows and 9 colums. for some rows there are null
values.I want a dataframe without these null values.I wanna select only
those that have values !=NA.
kindly let me know how to do that.
Ramya
--
View this message in context: http://www.nabble.com/selecting-dataframe-values-that-are-not-nulls-tp19537093p19537093.html
Sent from the R help mailing list archive at
2004 Nov 11
3
R "sumo" package suggestion
r-help:
I have an R package suggestion. After spending
several hours the other day installing about a dozen
packages, I had an idea. In xemacs, there is a
"sumo" package which allows me to install a large
bundle of xemacs packages at one time (about a 120
modes including ESS). I think R should have a
similar bundle. It would be so much easier than
hunting/downloading/installing.
2009 Sep 04
0
passing character vectors to FORTRAN
Hi,
I've been trying to pass a character vector from R to a FORTRAN subroutine. There have been several posts discussing this issue (e.g. http://tolstoy.newcastle.edu.au/R/help/98a/0547.html, http://tolstoy.newcastle.edu.au/R/help/05/10/13558.html, http://tolstoy.newcastle.edu.au/R/help/01a/2577.html, http://tolstoy.newcastle.edu.au/R/help/01c/1795.html,
2011 Nov 10
0
Help with gam
From: Uwe Ligges <ligges_at_statistik.tu-dortmund.de
<mailto:ligges_at_statistik.tu-dortmund.de?Subject=Re:%20[R]%20Help%20with%2
0gam> >
Date: Wed, 11 May 2011 19:08:38 +0200
On 11.05.2011 17:22, Zsolt Macskasi wrote:
> Hi,
>
<http://tolstoy.newcastle.edu.au/R/e14/help/11/05/1036.html#1040qlink1> > I
am a brand new user of R and I am trying to use the gam
2006 Aug 30
0
Summary() fails after use of na.action="na.exclude" in lm() (PR#9191)
Hello!
I have already reported on this behaviour at [1] and now I have checked
the same example on r-devel and the problem is still there. Thomas
Lumley inidicated problem [2]. Example:
n <- 50
x <- runif(n=n)
y1 <- 2 * x + rnorm(n=n)
y2 <- 5 * x + rnorm(n=n)
y2[sample(1:n, size=5)] <- NA
y <- cbind(y1, y2)
## Goes ok here
fit <- lm(y1 ~ 1,
2007 Jul 26
2
Creating windows binary R package (PowerArchiver vs. zip -r9X)
Hi list,I apologize if you see funny fonts, b/c I'm using the new Windows Live Hotmail and don't know how to turn off the "rich text" mode.....I have successfully built and installed a R package in windowsXP for R-2.5.1. But when I tried to create a .zip file so I can use "Packages/install package(s) from local .zip files..." to install it, it seems R only recognizes
2010 Feb 17
2
multi-argument returns
Dear R users,
I have multi-argument returns in a function and I am warned by the program
they are deprecated.
I have found this in the R-help archives :
http://tolstoy.newcastle.edu.au/R/help/01c/0319.html
http://tolstoy.newcastle.edu.au/R/help/01c/0356.html
Since I am not too good at programming, the list solution seems the better
one for me. It is also the one advocated by Kevin Murphy.
So
2004 Sep 04
1
Append Columns
Dear all,
Can I use "write.table" to append columnns?
Thanks for any help
-MY
[[alternative HTML version deleted]]
2006 May 02
1
stable backport apt problem (solved)
Hello,
I started writing this email to describe a problem, then fixed it, so
I'll display my ignorance anyway in case other people have a problem
with it.
What happened was that I could get apt-get to upgrade the documentation
packages, but not the others.
What I think was the problem was some remaining r-cran-* packages that
are now in r-recommended. These seemed to be blocking the
2005 Jul 19
3
R: expression
hi all
i am having a problem with the expression/paste command
say we estimate a variable, named PHI
it contains the value of say 2
and we want to display this value as " hat(phi) = PHI" onto a graphic
i.e. " hat(phi)=2 "
how does one do this?
i've tried the following:
1. legend(-5,.3,expression(hat(phi)*"="*PHI))
2.
2010 Oct 12
1
GEE with user-specified link function
Hello,
I would like to try to fit a GEE with user-specified link function.
I read through a couple of thread on the list, for example http://tolstoy.newcastle.edu.au/R/help/04/12/9768.html#start and http://tolstoy.newcastle.edu.au/R/help/06/04/25298.html. I noticed that they are all 6 or more years old and the answer is very clear for GLM, however for GEE I am still not sure.
There are two
2006 Nov 09
1
Failing to install R-2.4.0 on FC4
Hi everyone,
Firstly, I'm sorry for the cross-post. I re-read the posting guide
and it appears my question is more related to r-devel.... (i think :-) )
I downloaded the source code available at:
http://cran.fhcrc.org/src/base/R-2/R-2.4.0.tar.gz
to a linux machine (Linux 2.6.11-1.1369_FC4smp #1 SMP).
I successfully configured and compiled it, which means I'm able to
run it from the