search for: faca

Displaying 7 results from an estimated 7 matches for "faca".

Did you mean: fac
2008 Oct 29
0
reporting interactions of factors in linear mixed effects models
Hi, I have a question about how I should report the results for a linear mixed effects model where the model includes as predictors three factors (facA, facB and facC), one of which (facA) interacts with the other two. facA and facB have two levels and facC has 3 levels. There are also several other continuous predictors (e.g. varA, varB, varC). My mixed model is specified with the following formula: model <- lmer(RT~ facA*facB*facC - facA:fac...
2006 Jan 26
1
How to make two side-by side trellis plots same size
...panels should look the same in both plots. Current workaround uses a guessed factor. Any way to improve this? Dieter library(lattice) n1 = 20 # I cannot rbind df1 and df2, because the x-dimensions are # different and must be scaled individually df1 = data.frame(y=rnorm(4*n1),x=rep(1:n1,4), facA=rep(c("A","B"),each=2*n1),facB=rep(c("C","D"),each=n1)) # I add a dummy facB here, to make sure panels have same structure df2 = data.frame(y=rnorm(2*n1),z=rep(100*(1:n1),2), facA=rep(c("A","B"),each=n1),facB="C") # Note: as...
2004 Sep 09
2
Skipping panels in Lattice
...and merrily reproduced examples of using skip from a couple of previous r-help queries and the example given in Pinheiro & Bates. But I must be missing something... Here's an example (running R 1.9.1 on Win2k): # generate some data df1 <- data.frame(expand.grid(obsnum=seq(1, 15, 1), faca=c("A1", "A2", "A3"), facb=c("B1","B2", "B3", "B4"), facc=c("C1","C2")), dv=rpois(15*3*4*2,10)) # now get rid of the cell B4 & C1 to simulate a missing treatment combination df2 <- df1[df1$facb !=...
2006 Feb 21
2
indexing within panels in xyplot
...opefully shows the idea: ---<---------------cut here---------------start-------------->--- toydf <- expand.grid(1:100, c("A", "B"), c("pop1", "pop2", "pop3", "pop4", "pop5")) toydf <- data.frame(facA = toydf[[3]], facB = toydf[[2]], x = toydf[[1]], y = rnorm(1000)) xyplot(y ~ x | facA, groups = facB, data = toydf, panel.groups = function(x, y, subscripts, ...) { panel.xyplot(x, y, ...) lindx <- which(y[subscripts] == max(y[subscripts], na.rm = TR...
2003 May 20
0
De um amigo
...a exactamente as simples instrucoes abaixo, e em tres meses aproximadamente voce recebera mais de ? 100.000,00 (Cem mil ?uros). GARANTIDO. 1. Imediatamente, mande ? 1,00 (Um ?uro) para cada uma das seis pessoas que estao relacionadas na listagem abaixo. Da seguinte forma: deposite esta quantia (ou faca simplesmente uma transferencia bancaria) na conta-corrente delas e nao se aborreca caso tenha que ir a varias agencias bancarias. (Ha uma lei divina que exige algum sacrificio (imolacao) ou trabalho cansativo e arduo para se obter os resultados desejados.) 2. Quando depositar ? 1,00 (Um ?uro) na c...
2003 Apr 12
0
De um amigo
...a exactamente as simples instrucoes abaixo, e em tres meses aproximadamente voce recebera mais de ? 100.000,00 (Cem mil ?uros). GARANTIDO. 1. Imediatamente, mande ? 1,00 (Um ?uro) para cada uma das seis pessoas que estao relacionadas na listagem abaixo. Da seguinte forma: deposite esta quantia (ou faca simplesmente uma transferencia bancaria) na conta-corrente delas e nao se aborreca caso tenha que ir a varias agencias bancarias. (Ha uma lei divina que exige algum sacrificio (imolacao) ou trabalho cansativo e arduo para se obter os resultados desejados.) 2. Quando depositar ? 1,00 (Um ?uro) na c...
2004 Mar 17
9
Frequency table
This must be FAQ, but I can't find it in archives or with a site search. I am trying to construct a frequency table. I guess this should be done with table. Or perhaps factor and split. Or prop.table. cut? findInterval? Argh! Please correct me if what I am looking for is not called a "frequency table". Perhaps it's called grouped data. > zz$x9 [1] 65 70 85 65 65 65 62 55