Displaying 20 results from an estimated 700 matches similar to: "idea for (further) debugging ace ()?"
1999 Jan 08
1
character vectors in data.frames
Dear all,
well, today I just seem to run into these problems ... (I am still working
on R 0.63.1 on a SuSE 5.2). I would like to have a data.frame that also
contains character (and NOT factor) vectors. Two things that I tried (the
second worked in R 0.62.2):
> test.df <- data.frame (X= character (4))
> test.df$X [1] <- "a"
Warning: invalid factor level, NAs generated
or:
1999 Jan 08
1
avoiding (another) error
Dear all,
Many thanks to all who always so quickly respond with helpful hints!
Currently I am working with R 0.63.1 on SuSE 5.2 which I installed this
morning within about half an hour: my deepest compliments to the
developpers! (I had still 0.62.2 before.)
This time I am trying the following:
> xy <- list (a= c (1, 2, NA), b= c (2, 3))
> list.name <- "xy"
> get
1998 Jul 16
1
R-beta: which Linux - again
Dear all,
I think this question has been raised very recently but I think I didn't
see repsonses on the list nor did I find the thread in the archives. (If
it is there I'd appreciate directions ...)
I am about to install Linux on a Compaq notebook. One important thing I
want to do is being able to run R. I have fiddled with different
distributions of Linux (LST, SuSE, Debian) and can
1999 Jan 22
0
lm with rank-deficient X matrix
Dear all,
I would like to fit an lm in which a subset of the explanatory variables
are linearly dependent. Thus I would like to include the restriction that
all betas of these variables sum to 1. Is there a way to this in R? Or is
this what happens automatically if I set singular.ok= T (which is the
default, I believe)?
Thanks for your help. Lorenz
--
1999 Jan 04
1
Error messages
Dear all,
The following works with a simple result of lm but gives the error with a
more complicated one (could this be due to singularities that occurr in
the model?).
> cooks.distance (X)
Error: NAs in foreign function call (arg 6)
> class (X)
[1] "lm"
But, actually, I would like to ask a more general question: Is there a
place (I searched in the CRAN site) where I find
1999 Jan 25
2
graphical paramters to boxplot
Dear all,
is this a bug or do a miss something (this concerns version 0.63.1 on
Linux)?
> boxplot (c (1, 2, 3, 4, 5), ylim= c (-5, 5))
Warning: parameter "ylim" couldn't be set in high-level plot() function
> boxplot (c (1, 2, 3, 4, 5), pars= list (ylim= c (-5, 5)))
Warning: parameter "ylim" couldn't be set in high-level plot() function
>
and actually in
1999 Feb 15
1
.Rdata questions
Dear all,
in a current project I have a pretty huge .Rdata. Thus I was working with
R --vsize 100 --nsize 1000000. Today when I tried to restart R I get the
following error message:
Error: a read error occured
Fatal error: unable to restore saved data
(remove .RData or increase memory)
I increased memory up to --vsize 180 and --nsize 2000000, but the error
reoccurrs. Is there a way to know
1998 Dec 03
1
image ()
Dear all,
I am working with R Version 0.62.2 (July 10, 1998) on a SuSE Linux 5.2.
I have troubles in understanding the function image (). Can someone
enlighten me?
I'd like to draw a square image-plot (with every little part of the image
a square as well) and add some (straight) lines to it. Also, I create an
empty z matrix which I need to fill step by step. Thus I tried to find out
how
1999 Mar 31
0
ace () - again
Dear all,
I am still trying to find out what goes wrong when I use ace (I get an
'NAs in foreign fuction call (arg3)' but when I go through it with debug
there seem no data to be missing).
I had some errors (see at end of message) while installing 'acepack'. Do
you think it is possible that these lead to the fact, that simple problems
run ok but larger problems result in an
2002 Oct 31
7
Symbols for male/female
Dear all,
I would like to use the biological symbols for male and female as plotting
symbols in a scatterplot (ideally filled and non-filled). R does not seem
to have these symbols using pch= in plot() nor are they implemented via
expression() or at least I did not find them. I found that the symbols are
e.g. available in the wasysym and the marvosym package in LaTeX.
I have coded two very rough
2002 Oct 31
7
Symbols for male/female
Dear all,
I would like to use the biological symbols for male and female as plotting
symbols in a scatterplot (ideally filled and non-filled). R does not seem
to have these symbols using pch= in plot() nor are they implemented via
expression() or at least I did not find them. I found that the symbols are
e.g. available in the wasysym and the marvosym package in LaTeX.
I have coded two very rough
2004 Sep 15
0
FW: glmmPQL and random factors
I have just realised that I sent this to Per only. For those interested on
the list:
-----Original Message-----
From: Gygax Lorenz FAT
Sent: Tuesday, September 14, 2004 4:35 PM
To: 'Per Tor??ng'
Subject: RE: [R] glmmPQL and random factors
Hi Per,
> glmmPQL(Fruit.set~Treat1*Treat2+offset(log10(No.flowers)),
> random=~1|Plot, family=poisson, data=...)
>
> Plot is supposed
2004 May 13
0
glmmPQL - predict (..., type= 'response')?
Dear R users,
Is there something like predict (..., type= 'response') for glmmPQL objects
or how would I get fitted values on the scale of the response variable for
the binomial and the poisson family?
Any pointers are appreciated.
Thanks, Lorenz
-
Lorenz Gygax, Dr. sc. nat.
Tel: +41 (0)52 368 33 84 / lorenz.gygax at fat.admin.ch
Tag der offenen T??r, 11./12. Juni 2004:
2004 Jun 07
0
dfs in lme
Dear R-mixed-effects-modelers,
I could not answer this questions with the book by Pinheiro & Bates and did
not find anything appropriate in the archives, either ...
We are preparing a short lecture on degrees of freedom and would like to
show lme's as an example as we often need to work with these. I have a
problem in understanding how many dfs are needed if random terms are used
for
2004 May 24
1
bug in cor (..., use= ...)?
Dear R users,
I have not found anything on this in the archives. Does anyone know whehther
the parameter use= is not functioning in cor or enlighten me what it is
supposed to do?
My R version is "R version 1.8.1, 2003-11-21" on Windows 2000. I am hoping
to be able to update to 1.9.1 as soon as it has appeared (we are not allowed
here to install software on our own and thus I am trying
2003 Sep 02
1
Hangup on save.image () / q ()
Dear all,
I am doing some data handling and tabualtions and then I am using glmmPQL to
fit a binomial hierarchical model (which I assign to a new object). If I do
a save.image () or a q ('yes') after this, I get the following warning
messages:
Warning messages:
1: namespaces may not be available when loading
2: names in persistent strings are currently ignored
Sometimes R seems to
2000 Apr 03
0
Building acepack for Rw1000 under Win98
(Sorry, I had the previous emails on a different machine.)
Thanks to Prof Ripley for diagnosing the problem with
inconsistent capitals under Win98. It's 'interesting':
* I had ...\acepack\Src\Ace.f Avas.f and Rlsmo.f (tar'ed in
a Unix machine and Ws_FTP'ed to the PC)
* when the directory name was changed to ...\acepack\src
it still didn't work
*
2008 May 05
1
Count data in random Forest
Hello R-user!
I am running R 2.7.0 on a Power Book (Tiger). (I am still R and
statistics beginner)
I try to find the most important variables to divide my dataset as
given in a categorical variable using randomForest.
Is randomForest() able to deal with count data?
Or is there no difference because only the ranks are used in the trees?
Thanks in advance
Birgit
Birgit Lemcke
Institut f?r
2008 May 05
1
Problems using rfImpute
Hello R-user!
I am running R 2.7.0 on a Power Book (Tiger). (I am still R and
statistics beginner)
I tried rfImpute (randomForest) and as far as I understood should it
replace NA`s using a proximity matrix:
> set.seed(100000)
> Subset5Imputed<-rfImpute(Sex~., data=Subset5)
ntree OOB 1 2
300: 11.78% 12.36% 11.21%
ntree OOB 1 2
300: 12.07% 12.64%
2008 Apr 21
1
ANCOVA
R version 2.6.2 PowerBook G4
Hello R User,
I try to perform an ANCOVA using the glm function.
I have a dataset with continuous and categorical data (explanatory
variables) and my response variable is also binary categorical.
Fehler: NA/NaN/Inf in externem Funktionsaufruf (arg 4)
Zus?tzlich: Warning messages:
1: In Ops.factor(y, mu) : - nicht sinnvoll f?r Faktoren (makes no
sense for