similar to: to delete lines by means of a vector

Displaying 18 results from an estimated 18 matches similar to: "to delete lines by means of a vector"

2013 Jul 12
4
simplify a dataframe
Hello I have the following problem : group the lines of a dataframe when no information change (Matricule, Nom, Sexe, DateNaissance, Contrat, Pays) and when the value of Debut of lines i = value Fin of lines i-1 I can obtain it with a do loop. Is it possible to avoid the loop ? The dataframe initial is df1 dput(df1) structure(list(Matricule = c(1L, 1L, 1L, 6L, 6L, 6L, 6L, 6L, 6L, 8L, 8L, 8L,
2013 Jul 24
3
Change values in a dateframe
Hello I have the following problem : The dataframe TEST has multiple lines for a same person because : there are differents values of Nom or differents values of Prenom but the values of Matricule or Sexe or Date.de.naissance are the same. TEST <- structure(list(Matricule = c(66L, 67L, 67L, 68L, 89L, 90L, 90L, 91L, 108L, 108L, 108L), Nom = structure(c(1L, 2L, 2L, 4L, 8L, 5L, 6L, 9L, 3L, 3L,
2005 Jul 06
2
Problem with dyn.load...or else...
Hi everybody, I'm working on Mac OS X and R-2.1.0 (by the way, sorry for the multiple emails last time, had a technical problem, and thanks for the constructive comments.) I have a .R function which calls a .C function. The R function's name is K_MEANSR.R and the other is K_MEANSC.C. I compile it with 'R CMD SHLIB K_MEANSC.C' in the terminal. I get both .so and .o files.
2005 Aug 23
0
problems installing R from source: R-2.1.1 Windows XP
Hi everyone, I’m a Windows XP user. I’m trying to install R-2.1.1 from source, and it doesn’t work. Here’s what I have done: * Got the source code from CRAN : R-2.1.1.tar.gz * Ran ‘tar zxvf R-2.1.1.tar.gz’ in a CMD terminal window. Everything worked fine. I got my R-2.1.1 folder in C:/Rsource. * I got the iconv.dll file downloaded and unzipped it in
2012 Jan 17
2
How to loop on file names
Dear all, I need to do the same procedure on several files. But I don't know how to refer to the file name. Here is an example of what I am trying to do. List of files: file1(A,B,C, D1...Dn), file2(A,B,C,E1,...,En), file3(A,B,C,F1,...,Fn) Procedure I want to apply on each file: dft <- melt(df,id=c('A','B','C')) dft$X <- substr(dft$variable,1,3) dft$Y <-
2010 Dec 21
1
Density plot with lattice?
Hi, Is it possible to remove the points at the base of a density plot?I would like to keep only the curves of the plot, not the points. Thank you. Marie-Helene HacheyM.Sc. studentUniversite Laval, Quebec
1999 Sep 14
2
Problems with compilation of R packages.
Hello I want to compile some R-packages under windows (rmutil and revent for instance from Pr Lindsey) I followed the instrictions given in the help. The compilation succeeded, but I can't run the programs. I receive the message: "error in dyn.oad(file): unable to load shared library "C:\R\Rwo650/library/rmutil" LoadLibrary failure. I found the given path quite strange!!
2010 Aug 13
3
Delete rpart/mvpart cross-validation output
Dear all, I was wondering if there is a simple way to avoid printing the multiple cross-validation automatic output to the console of recursive partitionning functions like rpart or mvpart. For example... > data(spider) > mvpart(data.matrix(spider[,1:12])~herbs+reft+moss+sand+twigs+water,spider,xv="1se",xvmult=100) *X-Val rep : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
2010 Feb 13
4
Labels on a pyramide
I am using pyramid.plot() from the plotrix package. I have something like this ############################################ xy.pop<-dados$masfr xx.pop<-dados$femfr #agelabels<-dados$femlab xycol<-color.gradient(c(0,0,0.5,1),c(0,0,0.5,1),c(1,1,0.5,1),11) xxcol<-color.gradient(c(1,1,0.5,1),c(0.5,0.5,0.5,1),c(0.5,0.5,0.5,1),11) xylab<-dados$maslab xxlab<-dados$femlab
2005 Mar 30
6
French Curve
Dear R experts, Did someone implemented French Curve yet? Or can anyone point me some papers that I can follow to implement it? thanks in advance for your help. Paul
2013 Jun 08
1
reading a character translation table into R
I have a txt file (attached) that defines equivalents among characters in latin1 (or iso-8859-1), numeric &#xxx; codes, HTML entities and latex equivalents. A portion of the file is shown inline below, but may not be rendered well in this email. I'd like to read this into R to use as a character translation table, but am stuck on two things: - The 5 fields in the file are
2023 Jun 05
0
[ANNOUNCE] xorgproto 2023.1
This release introduces a couple of new options for existing extensions: * A new option PresentOptionAsyncMayTear for the Present extension, * A new flag XFixesClientDisconnectFlagForceTerminate to the XFixes XFixesClientDisconnectFlags intended to be used by screen lockers, where the server must exit if the screen locker does. The other changes include various fixes, clarifications
2020 Oct 09
1
Mail server troubles
On 2020-10-09 14:16, Kenneth Porter wrote: > --On Friday, October 09, 2020 6:29 PM +1300 Rob Kampen > <rkampen at kampensonline.com> wrote: > >> If this reject is due to their spam filtering process, it is actually the >> email author's problem - how they make up their sentences, key words etc. >> and thus the problem will travel with them, to whatever email
2007 Mar 11
3
Enable pop3 / pop3 and imap
Dear All, I'm new to use dovecot for the Mail service... So, how to enable the mail service ( pop3 / pop2 / imap ) ? Edward.
2003 Dec 01
0
No subject
net use * \\samba\mgerdts Debug level 10 says: [2001/06/22 10:28:49, 1, pid=29656] smbd/password.c:pass_check_smb(554) Couldn't find user 'mgerdts' in smb_passwd file. [2001/06/22 10:28:49, 2, pid=29656] smbd/reply.c:reply_sesssetup_and_X(951) NT Password did not match for user 'mgerdts'! [2001/06/22 10:28:49, 2, pid=29656] smbd/reply.c:reply_sesssetup_and_X(961)
2010 Aug 24
3
Compiling Fortran for R : .so: mach-o, but wrong architecture
Dear all, I'm trying to compile FORTRAN code to be used in R, failing miserably. I got a simple code function to try to figure out what is going wrong. Here is the code (available on the web) : subroutine bar(n, x) integer n double precision x(n) integer i do 100 i = 1, n x(i) = x(i) ** 2 100 continue end 1. I compiled the
1997 Jul 25
0
What page was it ?
If you ever picked up a book and forgot which page or paragraph you stopped at - you need a ParaMark BookMark. Used by students, avid readers, and teachers everywhere, the nationally acclaimed ParaMark BookMark is the worlds first "smart" book mark. Visit our website today to learn about "smart" ParaMark BookMarks. Find "Smart" BookMarks:
2010 Oct 25
2
Mixed-effects model for overdispersed count data?
Hi, I have to analyse the number of provisioning trips to nestlings according to a number of biological and environmental factors. I was thinking of building a mixed-effects model with species and nestid as random effects, using a Poisson distribution, but the data are overdispersed (variance/mean = 5). I then thought of using a mixed-effects model with negative binomial distribution, but I have