search for: indiv

Displaying 20 results from an estimated 34 matches for "indiv".

Did you mean: india
2008 Feb 20
3
reshaping data frame
Dear all, I'm having a few problems trying to reshape a data frame. I tried with reshape{stats} and melt{reshape} but I was missing something. Any help is very welcome. Please find details below: ################################# # data in its original shape: indiv <- rep(c("A","B"),c(10,10)) level.1 <- rpois(20, lambda=3) covar.1 <- rlnorm(20, 3, 1) level.2 <- rpois(20, lambda=3) covar.2 <- rlnorm(20, 3, 1) my.dat <- data.frame(indiv,level.1,covar.1,level.2,covar.2) # the values of level.1 and level.2 represent the numb...
2011 Nov 14
1
lme4:glmer with nested data
Dear all, I have the following dataset with results from an experiment with individual bats that performed two tasks related to prey capture under different conditions: X variables: indiv - 5 individual bats used in the experiment; all of which performed both tasks task - 2 tasks that each individual bat had to perform dist - 5 repeated measures of individual bats at 5 differen...
2011 Jul 26
0
How do you report lmer results?
...#39;; Available amount of shade, coded as a three-way classification: 'Tertile'), two continuous predictor variables (maximum temperature: 'Max'; minimum temperature: 'Min') and three random effects (Which experimental dataset the data were derived from: 'Exp'; Which individual chimpanzee was observed: 'Indiv'; Which area/zone of the enclosure they occupied at the time of observation: 'Zone'). These are the outputs that I have generated thus far using LHR testing. How should I be interpretting and reporting these outputs? Generalized linear mixed mod...
2010 Feb 11
2
Unexpected output in first iteration of for-loop
Dear r-helpers, why do I get an output in the first iteration of the for-loop which contains the string values of the input vector, and how can I avoid that? Here's the output (only line 1 is wrong) latentVariable Indiv Group 1 rPlanning rIterat rTDD 2 rPlanning 0.79 0.84 3 rIterat 0.79 0.83 4 rTDD 0.9 0.96 5 rStandup 0.83 0.82 6 rRetros 0.9 0.95 7 rAccess 0.91 0.92 8 rAccTest 0.87 0.9 ##### LV <- c("rPlanning", &quo...
2013 Apr 07
3
mlogit error
Dear List I am trying to fit a multinomial model using the mlogit package. Attempting to load the data into mlogit presents the following error. MLOG<-mlogit.data(Mult3,shape="long",choice="CHOICE",alt.var="mode.ids",indivs = "set3",chid.var = "obs") Error in `row.names<-.data.frame`(`*tmp*`, value = c("1.1", "1.2", "1.3", : duplicate 'row.names' are not allowed In addition: Warning message: non-unique values when setting 'row.names': '1.1...
2000 Mar 31
1
R: one bananna aov() question
....var) is TRUE... why can't I just do aov(dep.var ~ indep.var, data = data.set)? What have I done to deserve this?! What gives? Am I missing something totlly obvious? R-base-1.0.0-1, linux RH 6.1. --------------------------------------------------------------------- > aov(aggr.resid ~ indiv.code, data = resids.dat) Error in lm.fit(x, y, offset = offset) : NA/NaN/Inf in foreign function call (arg 4) In addition: Warning message: "-" not meaningful for factors in: Ops.factor(y, offset) > aov(indiv.code ~ aggr.resid, data = resids.dat) Error in lm.fit(x, y, offset = offset...
2009 Jan 30
2
Subsetting without partial matches
I have a list of observations of individuals. I would like to make a list of individuals, with a data frame of observations for each individual. The following code usually works, but not always ---------------------------------------------------------------------- # Make a list of empty data frames animals = list() indivs = levels(...
2009 Mar 27
3
color vectors other than gray()
...ia fg=paleta, cex.lab=0.7, cex.axis=0.7, cex.main=0.7, xlab="Coord X", ylab="Coord Y", main=paste("Espécie: ",splist[i]), xlim=c(210000,240000) ) col_lab <- c(max(quad_N_sp$x),min(quad_N_sp$x)) #! Vector com os limites min e max do N de indivíduos observados color.legend(248000,120000,250000,128000,col_lab,sort(unique(paleta)),gradie nt="y",cex=0.6)#! Legenda text(245300,130500,"Nº Indivíduos",cex=0.6) plot(blocos,ol="grey40",fg=NA,add=T) I'd like to replace the grey shade by other colors....
2003 Jan 24
4
AW: AW: Ipsec passthrough
Sorry to barge in on an old thread. I''m having the same trouble as the gent who started this thread. I''ve tried the options described and can''t seem to get the tunnel to pass packets through it. I''m using the Netscreen Remote VPN client (Safenet derivative) on a windows machine, trying to connect to a Netscreen 5xp at the other end. The connection fires
2007 Aug 07
2
GLMM: MEEM error due to dichotomous variables
I am trying to run a GLMM on some binomial data. My fixed factors include 2 dichotomous variables, day, and distance. When I run the model: modelA<-glmmPQL(Leaving~Trial*Day*Dist,random=~1|Indiv,family="binomial") I get the error: iteration 1 Error in MEEM(object, conLin, control$niterEM) : Singularity in backsolve at level 0, block 1 >From looking at previous help topics,( http://tolstoy.newcastle.edu.au/R/help/02a/4473.html) I gather this is because of the dichot...
2011 Dec 29
3
Is it possible to "right align" text in R graphics?
Hello all, The following line of code includes a right-to-left language text, yet the R graphics engine displays it from left to right. One problem this causes is when there are parenthesis in the test, here is a basic example? plot(1:10, main = "שלום (טקסט)") Is there a way to make sure the text is displayed from right to left? Many thanks for any suggestions, Tal
2014 Sep 30
5
Clasificacion de individuos
Estimados apañeRos: La duda o propuesta que os voy a plantear es a la vez metodológica y relacionada con R. Me encuentro trabajando con tres variables que son el resultado de un computo de porcentajes. Me explico, se toma una muestra de n casos (unos 6.500 aprox) pertenecientes a i individuos (unos 230 aprox) en la que se comprueba si un determinado evento ha ocurrido o no, anotándose 1 en caso de dicha ocurrencia y 0 en caso de no ocurrencia. Algo así como: indiv ocurrencia -------- ----------------- 1 0 1 0 1 1 2 0 2 1 3 0 3...
2008 Aug 02
3
Bubble plots
Is there a way to create a 'bubble plot' in R? For example, if we define the following data frame containing the level of y observed for 5 patients at three time points: time<-c(rep('time 1',5),rep('time 2',5),rep('time 3',5))
2010 Mar 18
4
Please help with loop, thanks
Dear R helpers, I would like to write a loop that makes 4 objects (called A, B, C, and D) each of which contains ten random numbers. This attempt: individuals<-c("A","B","C","D") for(i in 1:length(individuals)) { individuals[i]<-rnorm(10) } does not work because "individuals[i]" is not the proper way to extract each letter from the object called "individuals" (rather, it tries to a...
2008 Dec 18
1
Ploting 3D cylinder in RGL
...nsight/chap18/sect3.htm. Below is the description exactly what I want to do. Please see at figure 18.6, 1st plot. Here it is an confidence ellipsoid. Suppose now you put another 4 same ellipsoids on top of each. Therefore you would get a cylinder type 3-D picture vertically. I do not need to plot indiv. points rather just ellipsoids. Also another vertical line which goes through the mid-points (i.e. expectation of corresponding BVN). Same thing I want to do horizontally. Can anyone please give some idea how I can do it in RGL device? Kind regards, -- View this message in context: http://www.na...
2010 Feb 24
1
how to label individuals with FactoMiner ?
Dear all, i'm trying to label specific individuals (supplementary ones) after a PCA with the FactoMiner package. There is not much details (possibilities?) in the R-help of the plot.pca function. There is indeed a "label" parameter but i could only manage to label the supplementary individuals with there "row.names" (i.e....
2009 Jan 13
3
problem whit Geneland
I do the these passages: library(Geneland) set.seed(1) data <- simdata(nindiv=200, coord.lim=c(0,1,0,1) , number.nuclei=5 , allele.numbers=rep(10,20), IBD=FALSE, npop=2, give.tess.grid=FALSE) geno <- data$genotypes coord <- t(data$coord.indiv) path.mcmc <- paste(tempdir...
2014 Sep 30
2
Clasificacion de individuos
...mplicar" el proceso y por otra tengo mis dudas acerca de que en que el análisis cluster pueda prescindir de la hipótesis de Normalidad en las dos variables "raras" que tengo. De cualquier forma muchas gracias por tu idea. Un saludo {In Archive} RE: [R-es] Clasificacion de individuos (Internet) ihidalgo To: Jluis GILSANZ, r-help-es 30/09/2014 12:40 Archive: This message is being viewed in an archive. ¿Has probado a hacer directamente una clasificación de los individuos con 3 clusters? Es muy sencillo y quizá te funcione. En un espacio tridimensional un clus...
2014 Sep 30
3
Clasificacion de individuos
...s 2 y 3? Todo esto sin saber de lo que estamos tratando, claro? XD Un saludo, Isidro De: Olivier Nuñez [mailto:onunez en unex.es] Enviado el: martes, 30 de septiembre de 2014 15:23 Para: jluis gilsanz CC: ihidalgo en jccm.es; r-help-es en r-project.org Asunto: Re: [R-es] Clasificacion de individuos Me parece que tu ordenación es esencialmente unidimensional. Por lo tanto, en algún momento tendrás que considerar una combinación de tus tres variables. Ignoro el contexto, pero la ponderación de cada una debería ser conforme a los criterios de la empresa que evalúa al personal. Una v...
2007 Apr 29
1
SYSLINUX Digest, Vol 49, Issue 19
...le memdisk. It mite take a few days, but given that there are several working examples of doing this very task, the orig inquiry illustrates a lack of understanding of 'hacking' a custom solution. *And* one mite realize a solution w/o even touching the init ramdisk, by dismantling the indiv ISOs and "wiring" their contents into a custom SYSLINUX menu. Yes, multiple solutions are possible and available... = Conference Hotels in New York City Can't find that perfect conference venue? We have a network of hotels to help. All we do is find hotels for planners. Call today...