Displaying 9 results from an estimated 9 matches for "ncontrol".
Did you mean:
control
2008 Aug 01
2
is this a bug (apply and class) ?
Un texte encapsul? et encod? dans un jeu de caract?res inconnu a ?t? nettoy?...
Nom : non disponible
URL : <https://stat.ethz.ch/pipermail/r-help/attachments/20080801/a1a7c3e9/attachment.pl>
2005 Apr 09
4
make check-all fails (PR#7784)
...aving directory `/home/znmeb/R-beta/tests'
make: *** [check-all] Error 2
I looked at "tests/reg-tests-1.Rout.fail"; it's 1427 lines long. The error given
is
> ## Comments:
>
>
> ## PR 796 (aic in binomial models is often wrong)
> ##
> a1 <- glm(cbind(ncases, ncontrols) ~ agegp + tobgp * alcgp,
+ data = esoph, family = binomial())$aic
> a1
[1] 236.9645
> a2 <- glm(ncases/(ncases+ncontrols) ~ agegp + tobgp * alcgp,
+ data = esoph, family = binomial(), weights=ncases+ncontrols)$aic
> a2
[1] 236.9645
> stopifnot(a1 == a2)
Error: a1 == a2 is n...
2010 May 16
1
predict.lda breaks when priors are specified
Dear R help,
What am I doing wrong here? when I don't specify the priors it works
just fine but when I specify the priors it breaks.? Does anyone know
why and how I can fix it?
----
> N=20000
> ncontrol=ncases=50
> X <- as.matrix(rnorm(N,0,1))
> eta <- -5.3 + X * 1.7
> p <- exp(eta)/(1+exp(eta))
> Y <- rbinom(N,1,p)
> controls <- sample(seq_len(N), ncontrol, prob=!Y)
> cases <- sample(seq_len(N), ncases, prob=Y)
> data<-rbind(
+ data.frame(Y = 0, X = cbind...
2002 Aug 13
1
interaction.plot() legend too narrow when mfcol > 2 (PR#1899)
...par(mfrow = c(2,2))
## part of example(interaction.plot) _improved_ using with() :
data(OrchardSprays)
with(OrchardSprays, {
interaction.plot(treatment, rowpos, decrease)
interaction.plot(rowpos, treatment, decrease)
})
data(esoph)
with(esoph, {
interaction.plot(agegp, alcgp, ncases/ncontrols)
interaction.plot(agegp, tobgp, ncases/ncontrols, trace.label="tobacco",
fixed=TRUE)
})
-------------------------------
Something that should be easy to fix, but needs some care (and
time).
Volunteers?
Martin Maechler <maechler@stat.math.ethz.ch> http:/...
2003 Sep 16
2
How does "subset" replace arguments? (PR#4193)
Full_Name: Axel Benz
Version: 1.7.1
OS: Windows
Submission from: (NULL) (137.251.33.43)
Hello,
I guess many people will answer me again that this is a S language feature, but
I am only a stupid computer scientist and I simply do not understand this logic,
despite of reading a lot about S:
> test
field tuckey
4 Kreis2 -1
5 Kreis5 -2
9 Metall -3
17
2023 Mar 30
1
Problems with foreign
Good day
My name is Jos? Oscar, I'm from Mexico and I have some questions about
foreign in your write.foreig( ) function. We know that this function
generates the inputs to be able to run them or execute them in another
program like SPSS, SAS or Stata. In these cases, when creating an example
file, a matrix and using the function to execute the .sps file directly
from SPSS, I don't care or
2001 Apr 15
1
contingency tables in R
Dear List:
Most of the analysis I do involves contingency tables.
I am migrating to R from Stata and I have a number of
questions about using contingency tables in R. I
suspect that most of the things I want to do are very
short R scripts that people on this list probably
have. I wonder if you would be willing to share them.
First, the presentation of tables by table() is not
2005 May 05
2
LockWindowUpdate
Hi,
I've got a program that produces these error messages when started with wine.
fixme:dc:LockWindowUpdate (0x10024), partial stub!
fixme:dc:LockWindowUpdate ((nil)), partial stub!
fixme:dc:LockWindowUpdate (0x10024), partial stub!
fixme:dc:LockWindowUpdate ((nil)), partial stub!
fixme:dc:LockWindowUpdate (0x10024), partial stub!
fixme:dc:LockWindowUpdate ((nil)), partial stub!
The program
2003 Apr 24
2
R-1.7.0 build feedback: NetBSD 1.6 (PR#2837)
R-1.7.0 built on NetBSD 1.6, but the validation test suite failed:
Machinetype: Intel Pentium III (600 MHz); NetBSD 1.6 (GENERIC)
Remote gcc version: gcc (GCC) 3.2.2
Remote g++ version: g++ (GCC) 3.2.2
Configure environment: CC=gcc CXX=g++ LDFLAGS=-Wl,-rpath,/usr/local/lib
make[5]: Entering directory `/local/build/R-1.7.0/src/library'
>>> Building/Updating