similar to: how to loop through 2 lists with different indexes

Displaying 20 results from an estimated 5000 matches similar to: "how to loop through 2 lists with different indexes"

2008 Apr 08
1
how to check if a variable is preferentially present in a sample
Dear All, I do apologise if this question is out of place for this list but I've tried searching mailing lists and read "Introductory Statistics with R" by Peter Dalgaard, but couldn't find any hints on solving my question below: I have a data frame (d) of values which I will rank in decreasing order of "val". Each value belongs to a group, either 'A',
2008 Nov 09
1
Help on performing multiple chi-square tests
Hi, I am new to R and I need to perform multiple chi-square tests. I manage to perform one at a time, but is there a specific command to do multiple tests? For example, I have a table that looks like this: Marker Treatment Genotype1 Genotype2 Genotype3 1 A 23 57 32 1 B 43 59 12 ... ... n A ## ## ## n
2012 Nov 20
2
about MCMC
Hello all, could you tell wehere I can find information related to MCMC (Monte Carlo). And some examples about this topic. Thanks, Tania [[alternative HTML version deleted]]
2008 Oct 03
2
suggestions for plotting 5000 data points
Dear all, I have a collection of 5000 entries which represent the evolutionary rates of 3 animals. I would like to show the differences between the rates of all 3 animals and have tried using the function parallel (from the lattice package) and pairs() function. The parallel function would have been perfect save for the large number of data (5000). The pairs() function doesn't show
2008 Mar 24
8
wineboot.exe
Hi All: I just use wine to run a windows based program. I think it is successfully installed, but when I run it with WINEDEBUG=warn+all, there are some warning message at the beginning as: warn:file:wine_nt_to_unix_file_name L"wineboot.exe" not found in /home/huifeng/.wine/dosdevices/c:/windows/system32 warn:ntdll:NtQueryFullAttributesFile L"\\??\\C:\\windows\\system32\
2008 Apr 22
3
how to read in multiple files with unequal number of columns
Dear all, I want to read in 1000 files which contain varying number of columns. For example: file[1] contains 8 columns (mixture of characters and numbers) file[2] contains 16 columns etc I'm reading everything into one big data frame and when I try rbind, R returns an error of "Error in rbind(deparse.level, ...) : numbers of columns of arguments do not match" Below is my
2013 Apr 04
2
question about message
Hello R, could you tell me please, how to fix this issue? There is installed RStudio-2.15.2 and the next steps where follow but the message appears: http://cran.r-project.org/web/packages/RMySQL/INSTALL): > > 1. Download the RMySQL_0.9.tar.gz file to the folder C:\Program > Files\R\R-2.15.1\bin\x64 > 2. Open a Windows command line, and change directory to that folder > 3.
2009 Feb 24
1
Initialize varFunc in R
Hi, I am running R2.8.1 under Linux, and I am having trouble using the variance functions in nlme My basic model was something like: model0 <- lme( log(growth) ~ light * species.group , data=data, random=~light|species ) # with 20 odd species divided in 2 groups Following the methods in Pinheiro&Bates I tried to put a variance function in the model: model1 <- update(model0,
2013 Feb 05
1
funcion ff
Hola R, tengo las siguientes preguntas: Pregunta 1: Cargar las tablas de los datos de peliculas en R usando `ff`. Cómo se construye una columna nueva que de, para cada cliente y cada evaluación, de el número de días que han pasado desde la primera evaluación del cliente? Qué función se utiliza para verifica el consumo de memoria en las operaciones? Pregunta 2: Cómo se corre un modelo de
2013 Feb 18
1
questions hash functions
Hello R, could you explain to me how to resolve this question: If this is a matrix: Element S1 S2 S3 S4 0 0 1 0 1 1 0 1 0 0 2 1 0 0 1 3 0 0 1 0 4 0 0 1 1 5 1 0 0 0 1. How is possible to ompute the minhash signature for each column if we use the following three hash functions:
2012 Nov 30
1
Example metropolis hasting
Hello all, could you tell where is an example of metropolis hasting? Thank you! Tania Sent from my iPod
2012 Dec 16
1
graficar funciones Prior
Hola, si tengo estas dos funciones de distribucion y quiero en una grafica verla, como le hago en R? [image: Imágenes integradas 1] Cual es el comando en R para graficar estas funciones? Saludos, Tania ------------ próxima parte ------------ Se ha borrado un adjunto en formato HTML... URL: <https://stat.ethz.ch/pipermail/r-help-es/attachments/20121215/7d185b91/attachment-0001.html>
2012 Nov 17
1
how to create a tree in R
Hello all, could you explain to me how to create a tree in R, and if you can explain every line of code that will be great. Which are the libraries that are needed and where I can find more examples. Thank you! Tania [[alternative HTML version deleted]]
2012 Dec 03
1
How to mix three different classification techniques
Hello all, do you know how to mix three different classification techniques using R. For example if I have lm regression, svm and neural nets how can I mix them to have something like ensemble learning? Thank you, Tania Sent from my iPod
2012 Dec 06
1
gamcheck doubts
Dear All, I am fitting scallop count data to negative binomial GAMs. I have two significant parameters that explain 43%of the deviance. The adjusted r square is 0.25. The gam.check function gives me the figure attached. In the graph of linear predictor vs. residuals there seems to be more negative residual values than positive. Is that telling me that the fit is underestimating the response? Can
2008 Apr 14
3
Is this an artifact of using "which"?
Dear all, I used "which" to obtain a subset of values from my data.frame. however, I find that there is a "trace" of the values I have removed. Any suggestions would be greatly appreciate. Below is my data: d <- data.frame( val = 1:10, group = sample(LETTERS[1:5], 10, repl=TRUE) ) >d val group 1 1 B 2 2 E 3 3 B 4 4
2012 Nov 18
1
about scor {bootstrap} R version 2.15.2
Hello all, could you tell me if there is an example like this one that appears on the next link: http://www.inside-r.org/packages/cran/bootstrap/docs/scor related to the Open/Closed Book Examination Data but in R version 2.15.2 ? Because I search the data(scor) on the environment R version 2.15.2 and there is not. Thanks, Tania ; ) [[alternative HTML version deleted]]
2012 Nov 17
1
how to create dispersion graphic
Hello, somebody can explain how to create dispersion graphic, because i need to put this dispersion graphics inside a matrix. The data is the next one: 2 test (mechanics and vector) open book. 3 test (algebra, analysis y statistics) closed book. Also could you explain which is the use of scor(bootstrap) And how can be used for create a matrix of graphics? Thanks, Tania [[alternative
2010 May 26
2
Avoiding Loops When Iterating Over Statement That Updates Its Input
Since `for' loops are slow in R, and since `apply' functions are faster, I was wondering whether there were a way to use an apply function?or to otherwise avoid using a loop?when iterating over a statement that updates its input. For example, here's some such code: r.seq <- 2 * (1 / d$Dt[1] - 1) for (i in 2:nrow(d)) { rf <- uniroot(bdt.deviation, interval=c(0, 1),
2011 Feb 17
2
Newbie Rccp module question. "Failed to initialize module pointer"???
Hi all. I started looking at Rcpp, which looks pretty great, actually. At the moment just trying to compile a module to get a feel how it all works without fully understanding how all the pieces fit together. Basically, i took the first example from Rcpp modules vignette: fun.cpp ======================== #include <Rcpp.h> #include <math.h> using namespace Rcpp; double