similar to: Fwd: Simulate nested data

Displaying 20 results from an estimated 200 matches similar to: "Fwd: Simulate nested data"

2012 Nov 21
1
Listing elements of a 4D array
Dear list, I'm having trouble to see how my elements on a 4 dimensional array are listed. For example, I generated the following array: junk.melt=melt(occ.data,id.var=c("Especie", "Site", "Rep", "Año"), measure.var="Pres") y=cast(junk.melt, Site ~ Rep ~ Especie ~ Año) Now, I want to be able to look at how my species (Especie) are listed, in
2013 Jan 04
3
help "reshaping" dataframe
List, I want to reshape my data, but I'm not sure how to do it... it might be a simple task, but don't know which package does this. "occ.data" (see below) is how my original data are arranged, and I know that with melt() I can reshape it like "y" (see below). However, I just want to build a matrix like the "y" matrix, but with only 2 dimensions. Something
2013 Jan 16
4
Changing frequency values to 1 and 0
Dear list, I'm working with a large data set, where I grouped several species in one group (guild). Then I reshaped my data as shown below. Now, I just want to have "Rep" only as 1 or 0. I'm not being able to change the values of rep>=1 to 1... tried many things and I'm not being successful! > melting=melt(occ.data,id.var=c("guild", "Site",
2009 Nov 24
1
extraer un valor de un objeto lmer
> > Hola, a todos! Estoy ajustando un modelo componentes de varianza utilizando el paquete lme4, quiero extraer luego los valores estimados de varianza de cada factor aleatorio de este objeto lmer y guardarlo en un vector. Existe la función VarCorr, Esto es lo que hago: Mi ejemplo: tengo 3 factores NDVIaño; Máx.IH; TV # Ajusto el modelos lmer(peligro100 ~ 1 + (1|NDVIaño) + (1|Máx.IH) +
2012 Oct 06
2
Presence/ absence data from matrix to single column
I've been trying to reshape this database but haven't succeed at it. I tried using loops but can't get it right. I just want to reshape my database from this matrix, to the one below, with only one column of data. Year Route Point Sp1 Sp2 Sp3 2004 123 123-1 0 1 0 2004 123 123-2 0 1 1 2004 123 123-10 1 1 0 Year Route Point 2004 123 123-1 Sp1 0 2004 123 123-2 Sp1 0 2004 123
2009 Aug 12
2
Como imponer una matriz de correlaciones en un modelo mixto?
Hola, mi pregunta es la siguiente: Tengo un modelo genético aditivo, donde los individuos estan emparentados. Quiero que la matriz de parentesco sea la matriz de coeficientes de las correlaciones entre genotipos. En SAS, con PROC MIxed podia agregarla como un archivo y usarla en la sentencia random...No encuentro como hacerlo en R, alguna idea?? En resumen, puedo imponerle a los efectos
2009 Oct 20
8
¿Por qué comprar un programa estadístico si existe R?
Esta pregunta nos la hicimos muchos, alguien aproxima una respuesta a través de esta publicación: http://www.scielo.org.ar/pdf/ecoaus/v18n2/v18n2a07.pdf Saludos cordiales Teresa -- Ing. Agr. M.Sc.Teresa Boca Instituto de Clima y Agua INTA Castelar. Las Cabañas y Los Reseros s/n° 1712 Castelar Pcia de Buenos Aires, Argentina Cel: 01115-3572-9584 Tel: (54-11)-4621-0125/1684 Fax:(54-11)-4621-5663
2009 Dec 07
4
consulta cambio de escala de los ejes
Hola a todos, quisiera saber como hacer para cambiar la escala del eje x, por ejemplo en un gráfico de puntos. Saludos _________________________________________________________________ Windows Live Messenger GRATIS: lo que faltaba en tu BlackBerry http://www.messengerentublackberry.com?ocid=WL_BB_LandPage_TagLine [[alternative HTML version deleted]]
2004 Aug 03
2
lme fitted correlation of random effects: where is it?
The print method for lme *prints out* the fitted correlation matrix for the random effects. Is there any way to get these values as an object in R? I have examined the components of the lme object (called "junk" in the example below) and the components of summary(junk) without finding these numbers. (How I did this: I dumped the entire lme object to a text file and then used egrep to
2001 Oct 08
3
testing diff for slopes and intercepts
I fit the model fit<-lm(thresh~cond*Ne) where thresh is the reponse cond is a factor with levels a, b, and c Ne is a continuous indep var I think of this full model as having three lines: thresh as a function of Ne for each condition. Thus we have slopea, slopeb, slopec, inta, intb, intc. lm output my params ------------------------- (Intercept) inta condb intb - inta condc
2009 Apr 22
1
generate multipe output .csv files in a loop
I need to generate output files as .csv file in a loop: let's say, I want to generate a sequence of files according to the loop number "i". the first file genearted should be file1.csv the second should be file2.csv I use: write.csv(temp, "file$i$.csv") in the loop but it did not work. can anyone give suggestions? thanks a lot. Jack
2018 Jan 31
0
kernel-ml-4.15.0-1.el7.elrepo.x86_64 doesn't boot as Xen PV domU
Replicated on another Xen node, CentOS 6.9 running Xen-4.6.6-8.el6. xl dmesg: (XEN) d38v0: unhandled page fault (ec=0000) (XEN) Pagetable walk from 0000000000000028: (XEN) L4[0x000] = 0000000000000000 ffffffffffffffff (XEN) domain_crash_sync called from entry.S: fault at ffff82d080230983 create_bounce_frame+0x12b/0x13a (XEN) Domain 38 (vcpu#0) crashed on cpu#2: (XEN) ----[ Xen-4.6.6-8.el6 x86_64
2008 Jul 23
0
Fw: Using if, else statements
Sorry in the previos replay I forgot monday' scale so weight should be: weight <- c(0.91,1,1,1,1,1.21,1.22) names(weight) <- c("mon","tue","wed","thu","fri","sat","sun") ----- Original Message ----- From: "Gabriela Cendoya" <gcendoya at balcarce.inta.gov.ar> To: "Robin Williams" <>
2012 Aug 02
1
Problem detecting Sil3124 SATA controllers off of Sandy Bridge northbridge-connected PCIe slots
Hi, We're having some trouble with detection of a couple of Sil3124 SATA controller cards on newer motherboard and processor combos. Specifically, we're running a Supermicro X9SCM-F motherboard (latest BIOS) and Intel E3-1220v2 CPU. What we're seeing: - Syba Sil3124 PCIe cards are only being detected when installed in PCIe Slot 4 -- The motherboard documentation shows that this
2007 Aug 06
2
physical disk doesn''t work in hvm guest
Hi all, I''m using ThinkPad T60, with xen3.1.0, windows could be installed into a file based virtual disk. however, when I tried to use a physical disk, I got this err msg: HVMAssist BIOS, 1 cpu $Revision: 1.138 $ $Date: 2005/05/07 15:55:26 $ ata0 master: QEMU HARDDISK ATA-7 Hard-Disk (0 MBytes) ata0 slave: UnKnown device Booting from Hard Disk... Boot from Hard Disk failed: could not
2006 Feb 23
9
Balancing multiple connections and NAT
Hi, I have a client connected to the ''net through 3 ISP''s. Have set up a Linux box to do routing and load sharing for the 3 connections. A fourth interface is connected to the LAN with private IP addresses. Am using iptables to SNAT traffic to the appropriate IP depending on the interface the packet gets routed onto. The setup looks something like this: Interface IP
2013 May 16
1
Cannot get Centrino N 6200 wireless NIC to work Cento 6.4
I installed Centos 6.4 on my laptop and neither of the network interfaces will work. When I boot up to windows both the wired and the wireless network interfaces work. I have attached dmesg output for the wireless card. Reading through the messages it appears that OS cannot talk to the NIC. -- Selwyn Schultz selwynsr at gmail.com c. 616-836-8896 -------------- next part --------------
2011 Mar 08
1
Sorting
I apologize in advance if this is posted all ready I have not been able to find any information about it. I have this data frame and I want to sort smoking by retlevel. Age Gender BMI Calories Fat Fiber Alc retlevel Smoking 1 64 Female 18.87834 1828.0 63.4 14.7 0.0 Normal Non-Smoker 2 25 Female 20.64102 1517.4 59.1 5.9 0.0 Normal Smoker 3
2010 Feb 04
1
Rcommander en español
Hola todos: acabo de actualizar R a R 2.10.1, y cuando actualice Rcmdr (Versión 1.5-4) me cargo la versión en inglés, no me acuerdo que hice antes para tener Rcmdr en español (trabajo con windows XP). alguien podría recordarme lo que hay que hacer? Gracias Gabriela. ______________________________ Lic. María Gabriela Cendoya Magíster en
2018 Jan 30
2
kernel-ml-4.15.0-1.el7.elrepo.x86_64 doesn't boot as Xen PV domU
Hi, has anyone managed to boot 4.15.0 as Xen PV domU? I've been loading 4.14.12 to 4.14.15 ELRepo builds no problem, but 4.15 crashes. Replicates on 2 CentOS 7.4 hypervisors running xen-4.6.6-9.el7.x86_64 on: - Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz - AMD Phenom(tm) II X6 1090T Processor xl dmesg shows: [...] (d6) HVM Loader (d6) Detected Xen v4.6.6-9.el7 (d6) Xenbus rings @0xfeffc000,