Re: [R] missing() fails to detect missing

2024-04-17 Thread Jeff Newmiller via R-help
Fascinating. Or, well, not. Failing to use a method signature that is compatible with the generic is a no-no. So your bug seems to me to be outside the bounds of how R is supposed to be used. So don't do that. On April 17, 2024 4:25:38 PM PDT, "Boylan, Ross via R-help" wrote: >When a generic

[R] missing() fails to detect missing

2024-04-17 Thread Boylan, Ross via R-help
When a generic (S4) has an argument with a default followed by ..., missing() doesn't seem to work if the method omits the ... Sample--- foo <- function(x, y=0, ...){ "you are very generic" } # no ... in function arguments setMethod("foo",

[R-es] Ayuda: Calculo tamaño del efecto

2024-04-17 Thread Rossana Tornel Vázquez
Necesito realizar un an�lisis del tama�o de muestra para un experimento con las siguientes caracter�sticas: 1) Una variable independiente intrasujeto es el tipo de queso con dos niveles, Queso A (1) y Queso B (2). 2) La otra variable independiente intrasujeto es la ronda de degustaci�n con tres

Re: [R] Synthetic Control Method

2024-04-17 Thread Petr Pikal
Hallo Nadja Similar as Bert I do not know how the function works. From the help page - synth.data - is used in example. Check if your data structure is consistent with synth.data by comparing str(synth.data) and str( INVESTMENTVOLUME). Names of columns should be in both cases match the names in