Displaying 20 results from an estimated 100 matches similar to: "Rcmd check for Windows fails (PR#7369)"
2020 Sep 14
3
Interpretación de salida de un GLM
Estimada comunidad, tengo unas dudas que son muy básicas creo, pero es mi
primera incursión en GLM.
Estoy ajustando un modelo binomial a unos datos de germinación. El modelo
es muy sencillo, tengo un factor "Condicion" con dos niveles: "a" y "b"
(nivel de humedad en suelo). Por otro lado, tengo una variable explicativa
"HF" (horas frío=estratificación) que
2001 Mar 08
2
Smal problem with porting code to S-PLUS (PR#871)
Full_Name: Harald Fekjær
Version: 1.22
OS: Windows
Submission from: (NULL) (158.36.132.220)
Dear R developers
Actually, this is not a bug, but a small remark about a way R is working that
makes trouble in porting the code to S.
If I run the following i R:
---
midl <- 4
attr(midl,"Object created") <- date()
dump("midl","midl.R")
---
I get a file like:
---
2004 Aug 09
1
linear regression
Dear Consultant
I've done linear regression successfully on R a few times before. But this
time it keeps telling me:-
"Error in lm.fit(x, y, offset = offset, singular.ok = singular.ok, ...) :
0 (non-NA) cases"
The model is:-
fm1 <- lm(TS.CM ~ AGE + SEX + HFE.Y.01 + TFC2B.01 + HFE.Y.01*TFC2B.01, data
= IRONresults, subset = DIAG2.1D == 0)
summary (fm1)
TS.CM is a
2001 Mar 08
1
as.numeric - Possible error (PR#870)
Full_Name: Harald Fekjær
Version: 1.22
OS: Windows
Submission from: (NULL) (158.36.132.220)
Dear R developers
Is this done with purpose...:
In R I get:
---
> as.numeric(" ")
[1] 0
> as.integer(" ")
[1] 0
---
While in the same in S-PLUS returns:
---
> as.numeric(" ")
[1] NA
> as.integer(" ")
[1] NA
---
For my applications, the later
2008 May 29
2
"Levels" error after printing
Hi all,
After running this code (attaches is the input file):
dat <- read.table("gene_prob.txt", sep = "\t")
n <- length(dat$V1)
print(n)
print(dat$V1)
I get this print out.
......
[8541] LOC552889 GPR15 SLC2A11 GRIP2 SGEF
[8546] PIK3IP1 RPS27 AQP7
8548 Levels: 3.8-1 A2M A4GALT A4GNT AAAS AAK1 AAMP AANAT AARSD1 AASS
...
2004 Sep 09
1
Bug in rsync? (--delete[-after])
Hello!
I think I've found a bug in some (older) versions of rsync.
The problem does not seem to have been reported at bugzilla.
And of the 9 bugs found there by searching on "--delete-after"
all have got the name wayned@samba.org attached.
I ask you therefore to check if this problem is found in the newest
version of rsync as well!
I've read the warnings at rsync.samba.org
2012 Jan 31
0
Error in linearHypothesis.mlm: The error SSP matrix is apparently of deficient rank
Hi,
I have encountered this error when attempting a One-way Repeated-measure ANOVA
with my data.
I have read the "Anova in car: SSPE apparently deficient rank" thread
by I'm not sure the within-subject interaction has more degrees of freedom
than subjects in my case.
I have prepared the following testing script:
rm(list = ls())
2018 Mar 31
1
Names of variables needed in newdata for predict.glm
all.vars works fine, EXCEPT, it give a bit too much.
I only want the regression variables, but in the following example I also get "k" the variable holding the chosen knots. Any machinery to find only "real" regression variables?
cheers, Bendix
library( splines )
y <- rnorm(100)
x <- rnorm(100)
k <- -1:1
ml <- lm( y ~ bs(x,knots=k) )
mg <- glm( y ~
2018 Mar 07
3
Names of variables needed in newdata for predict.glm
I would like to extract the names, modes [numeric/factor] and levels
of variables needed in a data frame supplied as newdata= argument to
predict.glm()
Here is a small example illustrating my troubles; what I want from
(both of) the glm objects is the vector c("x","f","Y") and an
indication that f is a factor:
library( splines )
dd <- data.frame( D =
2018 Mar 08
0
Names of variables needed in newdata for predict.glm
Hi,
Some try:
> names(mi$xlevels)
[1] "f"
> all.vars(mi$formula)
[1] "D" "x" "f" "Y"
> names(mx$xlevels)
[1] "f"
> all.vars(mx$formula)
[1] "D" "x" "f"
When offset is indicated out of the formula, it does not work...
Marc
Le 07/03/2018 ? 06:20, Bendix Carstensen a ?crit?:
> I would like
2007 Mar 23
2
concatenate 2 data.frames
Dear all,
I would like to know how can I concatenate 2 data.frames into a single one. Both data frames have the same number of columns and the same class type in each correspondent column. So what I want is to have a new data.frame where I have first the values from one data.frame and then the values from a second data.frame would came after in this new data.frame.
Thanks in advance.
Med
2012 Feb 02
4
The "less than" (<) operator doesnt seem to perform as expected
The example here puzzles me. It seems like the < operator doesn't work as expected.
> l <- 0.6
> u <- seq(0.4, 0.7, 0.1)
> u
[1] 0.4 0.5 0.6 0.7
> mygrid <- expand.grid("l" = l, "u" = u)
> mygrid
l u
1 0.6 0.4
2 0.6 0.5
3 0.6 0.6
4 0.6 0.7
> mygridcollapsed <- mygrid[mygrid$l < mygrid$u, ]
> mygridcollapsed
l u
3 0.6 0.6
4
2012 Aug 08
2
sweave problem with special danish characters
Dear all,
I use Sweave to create my reports. my pdf output contains only NA's whenever my text contains special Danish characters like ø, ø and å. I have upgraded R from 2.13 to 2.15 and the scripts worked fine under R 2.13.
Sweave("Test.Rnw", encoding = "utf8")
texi2dvi("Test.tex", pdf = TRUE)
%"Test.Rnw"
\documentclass{article}
\usepackage
2012 Nov 02
4
vanilla rsync 3.0.9 hangs after transferring ~2000 files
Hello rsync folks
I'm trying to use rsync for backing up our servers. This mostly works extremely well, with no problems.
However, 1 server is giving me a lot of trouble. It has a directory with (currently) 734088 files in it, and every time I try to backup this dir, rsync hangs after transferring roughly 2000 files. Sometimes it's around 1800, sometimes it's over 2100 (I think), but
2012 Nov 16
2
Problem Backup Maildir to NTFS
Dear Sirs,
I need to make a backup of email accounts (Maildir) a Linux server to a
Windows server with NTFS, but get the following error:
rsync: rename
"/mnt/rsync/cur/137D94_29.ml110c.qnet.com.pe,S=32828:2,S.M92y5w" ->
"cur/137D94_29.ml110c.qnet.com.pe,S=32828:2,S": Invalid argument (22)
I have installed Rsync v3.0.9
The command is executed:
rsync -rltDvu
2007 Mar 30
1
Model comparison
Dear all,
I would like to know if I can compare by a significance test 2 models with different kind of parameters. Perhaps I am wrong but I think that we can only compare 2 models if one is a sub model of the other.
Med venlig hilsen / Regards
João Fadista
Ph.d. studerende / Ph.d. student
AARHUS UNIVERSITET / UNIVERSITY OF AARHUS
Det Jordbrugsvidenskabelige Fakultet / Faculty of
2012 Aug 10
1
ggplot2 geom_bar produces white slashes in legend keys
When I am using geom_bar I get these white slashes through the legend keys. I cannot figure out how to remove them.
ggplot(diamonds, aes(clarity, fill=cut)) + geom_bar()
I have tried using opts(legend.key = theme_blank()) but with no luck.
Any suggestions would be much appreciated.
I am using R vers. 2.15.0 and ggplot 0.9.1, win xp
Best wishes
Jonas Hal
2018 Jul 19
1
Replication problems
Hey
I am trying to setup a dovecot cluster with 2 servers using replication /dsync.
In front of it I got a Fortinet ADC (Load balance) and I think that I messing up the dsync.
I see mails duplicated in the sync progress.
If I disable one of the servers in the ADC, it seems to work and the sync if working without a problem.
But if I use both servers with a round robin on the ADC, I see mailed
2005 Jul 25
1
Rmath library problems
Hello,
Has anybody successfully called the Rmath library from C using the MS
Visual Studio compiler (I am using Visual Studio 6.0)?
I have compiled the Rmath library using gcc, and the 'test.c' program
(which makes a call to qnorm) works fine when compiled with gcc. However,
I get a fatal memory error when I run it after compiling it with Visual C.
Would this memory problem be related
2007 Sep 07
1
contourplot lines, text, and mtext
If I have a contourplot (in the lattice package) and I want to add
straight lines to it, how do I do this?
I see that there are llines() and lsegement() functions for lattice
plots, but they don't seem to do anything in this case:
library(lattice)
library(KernSmooth)
x=rnorm(10000)
y=x+rnorm(x,0,.5)
a=bkde2D(cbind(x,y),.7)
z=as.vector(a$fhat)
grid=expand.grid(x=a$x1,y=a$x2)
grid$z=z