Displaying 20 results from an estimated 700 matches similar to: "Are r2dtable and C_r2dtable behaving correctly?"
2017 Aug 25
2
Are r2dtable and C_r2dtable behaving correctly?
It is not about "really arge total number of observations", but:
set.seed(4711);tabs <- r2dtable(1e6, c(2, 2), c(2, 2)); A11 <- vapply(tabs, function(x) x[1, 1], numeric(1));table(A11)
A11
0 1 2
166483 666853 166664
There are three possible matrices, and these come out in proportions 1:4:1, the one with all cells filled with ones being
most common.
Cheers, Jari
2017 Aug 25
1
Are r2dtable and C_r2dtable behaving correctly?
> On 25 Aug 2017, at 10:30 , Martin Maechler <maechler at stat.math.ethz.ch> wrote:
>
[...]
> https://stackoverflow.com/questions/37309276/r-r2dtable-contingency-tables-are-too-concentrated
>
>
>> set.seed(1); system.time(tabs <- r2dtable(1e6, c(100, 100), c(100, 100))); A11 <- vapply(tabs, function(x) x[1, 1], numeric(1))
> user system elapsed
>
2017 Aug 25
0
Are r2dtable and C_r2dtable behaving correctly?
> On 25 Aug 2017, at 11:23 , Jari Oksanen <jari.oksanen at oulu.fi> wrote:
>
> It is not about "really arge total number of observations", but:
>
> set.seed(4711);tabs <- r2dtable(1e6, c(2, 2), c(2, 2)); A11 <- vapply(tabs, function(x) x[1, 1], numeric(1));table(A11)
>
> A11
> 0 1 2
> 166483 666853 166664
>
> There are
2017 Aug 25
0
Are r2dtable and C_r2dtable behaving correctly?
>>>>> Gustavo Fernandez Bayon <gbayon at gmail.com>
>>>>> on Thu, 24 Aug 2017 16:42:36 +0200 writes:
> Hello,
> While doing some enrichment tests using chisq.test() with simulated
> p-values, I noticed some strange behaviour. The computed p-value was
> extremely small, so I decided to dig a little deeper and debug
>
2003 Dec 13
0
chisq.test() and r2dtable() freezing on certain inputs (PR#5701)
>>>>> "MM" == Martin Maechler <maechler@stat.math.ethz.ch>
>>>>> on Thu, 11 Dec 2003 18:29:05 +0100 (CET) writes:
>>>>> "Torsten" == Torsten Hothorn <torsten@hothorn.de>
>>>>> on Thu, 11 Dec 2003 18:03:07 +0100 (CET) writes:
Torsten> On Thu, 11 Dec 2003, Jeffrey Chang wrote:
2003 Apr 22
4
fisher exact vs. simulated chi-square
Dear All,
I have a problem understanding the difference between the outcome of a
fisher exact test and a chi-square test (with simulated p.value).
For some sample data (see below), fisher reports p=.02337. The normal
chi-square test complains about "approximation may be incorrect",
because there is a column with cells with very small values. I
therefore tried the chi-square with
2004 Feb 17
2
Generating 2x2 contingency tables
Hello R-users,
I would like to generate two-way contingency tables with zero in one cell. I tried to use the function r2dtable but I could not force one cell to have zero value.
Any Idea?
Best regards..
Mahmoud
[[alternative HTML version deleted]]
2012 Jan 24
2
Null models of species co-occurrence
I am currently testing species co-occurrence patterns using null models and
the oecosimu() function within the vegan() package. My issue is that none of
the methods appear to be the ones that I want. The methods listed are r0,
r1, r2, r2dtable, swap, tswap. However, I want to know how to go about
implementing fixed row algorithms, as suggested in Gotelli 2000 in Ecology.
Also, the null models
2007 May 06
1
error using boxplot.stats (but boxplot works¿?)
Hi
The answer to this may be obvious, but it's got me floored.
I'm unable to get boxplot.stats to work for me!
My session looks something like this:
> ia=read.table('/tmp/prueba.csv', header=TRUE, sep=",")
> attach(ia)
> boxplot.stats(X8weeks~Orden)
Error in sort (na.last, decreasing, ...) :
argument 1 is not a vector
In addition: Warning
2013 Dec 20
3
error con install_github() del paquete devtools
Hola a todos.
Estoy intentando instalar el paquete likert utilizando devtools y
obtengo el siguiente error
library(devtools)
install_github('likert','jbryer')
Installing github repo(s) likert/master from jbryer
Downloading likert.zip from
https://github.com/jbryer/likert/archive/master.zip
Error en function (type, msg, asError = TRUE) : <not set>
Me pasa también con
2014 May 05
2
rstudio y github
Hola a todos.
Estoy probando a usar github con RStudio. He conseguido clonar un
repositorio, pero no consigo subir los cambios. Desde la terminal si
puedo con las órdenes normales de git.
El error que obtengo en RStudio es
error: unable to read askpass response from 'rpostback-askpass'
fatal: could not read Username for 'https://github.com': No such device
or address
Alguna
2013 Dec 20
0
error con install_github() del paquete devtools
has probado con: install_github('paquete",username='usuario')?
2013/12/20 Jose Luis Cañadas Reche <canadasreche en gmail.com>:
> Hola a todos.
>
> Estoy intentando instalar el paquete likert utilizando devtools y obtengo el
> siguiente error
>
> library(devtools)
> install_github('likert','jbryer')
> Installing github repo(s)
2013 Dec 20
0
error con install_github() del paquete devtools
Hola,
En GitHub estará siempre la última versión, pero también está el paquete en
CRAN y puedes instalártelo como cualquier otro paquete ahí disponible...
Saludos,
Carlos Ortega
www.qualityexcellence.es
El 20 de diciembre de 2013, 14:54, José Luis Cañadas <canadasreche@gmail.com
> escribió:
> Si. Pero no funciona. En ordenador curro si funciona y tb tiene linux.
> Seguiré
2013 Dec 20
0
error con install_github() del paquete devtools
Hola,
Puedes hacerlo sin devtools. Descargas el ZIP del repositorio, lo
descomprimes, instalas el paquete que hay en CRAN para tener todas las
dependencias instaladas y finalmente instalas el paquete en la versión
de GitHub.
tmp <- paste0(tempdir(), '/likert.zip')
download.file('https://github.com/jbryer/likert/archive/master.zip',
destfile=tmp,
2007 Sep 12
2
Font problem (PR#9906)
Full_Name: M. Mu?oz M?rquez
Version: 2.3.1
OS: Ubuntu
Submission from: (NULL) (150.214.231.66)
Here is the reply to the edit command using gnome
> edit(data.frame())
Erro en dataentry(datalist, modes) : invalid device
Adem?s: Warning message:
unable to create fontset -*-fixed-medium-r-normal--13-*-*-*-*-*-*-*
> Sys.getlocale()
[1]
2013 Dec 20
4
error con install_github() del paquete devtools
Si. Pero no funciona. En ordenador curro si funciona y tb tiene linux.
Seguiré investigando
has probado con: install_github('paquete",username='usuario')?
2013/12/20 Jose Luis Cañadas Reche <canadasreche@gmail.com>:
> Hola a todos.
>
> Estoy intentando instalar el paquete likert utilizando devtools y obtengo
el
> siguiente error
>
> library(devtools)
>
2013 Oct 23
0
Error de markdownToHTML al parsear LATEX
Hola Elvira.
.. y ese comando te ha funcionado????
:-)
Un Saludo,
Miguel.
-----Mensaje original-----
De: r-help-es-bounces en r-project.org [mailto:r-help-es-bounces en r-project.org] En nombre de Elvira Ferre Jaén
Enviado el: martes, 22 de octubre de 2013 17:58
Para: Jorge Ayuso Rejas
CC: R-help-es
Asunto: Re: [R-es] Error de markdownToHTML al parsear LATEX
Hola, primero de todo muchas
2009 May 19
0
error glmpath()
Hi R-users!
I am trying to learn how to use the glmpath package. I have a dataframe like this
> dim(data)
[1] 605 109
and selected the following
> response <- data[,1]
> features<-as.matrix(data[,3:109])
> mymodel <- glmpath(features,response, family = binomial)
Error in if (lambda <= min.lambda) { :
missing value where TRUE/FALSE expected
Reading the glmpath pdf, I
2011 Jul 04
1
Contrastes con el paquete survey (svycontrast)
Estimados usuarios:
Estoy intentando reproducir el ejemplo 6.4 de Thomas Lumley. Complex
Survey. Editorial Wiley. 2010 (ver la página en google:
2013 Oct 23
1
Error de markdownToHTML al parsear LATEX
No me ha funcionado, pero
muchas gracias Daniel Merino.
Al final he solucionado mi problema generando el HTML desde una máquina vertual Windows, como hacía Jorge Ayuso.
Gracias a todos por la ayuda :)
Elvira.
> El 23/10/2013, a las 10:38, <miguel.angel.rodriguez.muinos en sergas.es> escribió:
>
> Hola Elvira.
>
> .. y ese comando te ha funcionado????
> :-)
>
>