similar to: How to delete rows from dataframe that sum to zero

Displaying 20 results from an estimated 6000 matches similar to: "How to delete rows from dataframe that sum to zero"

2007 Jun 07
1
new data frame for loop
I have a data frame with three columns, one coded as a factor. I would like to separate my data out into separate data frames according to the factor level. Below is a simple example to illustrate. I can get R to return the data in the correct format but cannot work out how to get separate data frames. I am a newcommer to programming in R so am not sure what I am missing! Thanks, Emily
2000 Feb 10
1
smbmount/smbumount getting rid of dead connections
I've got a win98 laptop and a linux box. On my linux box, I smbmount a directory from the laptop. Alas, win98 boxes crash a lot, and I move the laptop a lot... to and from work. If the laptop crashes or if I move it with a shared directory mounted on my linux box, that mount gets "Stuck".... it's present in /etc/mtab but when I cd to it and do an ls it says: 243 emily ~>ls
2018 Aug 07
0
id <username> - doesnt list all groups
On Tue, 7 Aug 2018 12:20:04 +0200 Micha Ballmann via samba <samba at lists.samba.org> wrote: > Hello, > > my enviroment: > > All Servers are Ubuntun 16.04-18.04 > > SAMBA AD DC Server and several SAMABA DOMAIN MEMBER (connected via > WINBIND). In ADDC I've created a group "restrictaccess" and added > some users. > > Now when im typing
2002 Jul 28
2
timestamp on symlink
rsync does not sync the timestamp on symlink (Solaris 8). It is probablly due to the limitation of Unix implementation of symlink, but I would like to know why rsync/Unix does not do this, and what we can do about it. Is the conclusion that "rsync syncs everything except the timestamp on symlink"? Why do I need timestamp on symlink? Supposed something stopped working because something
2003 Aug 29
1
converting from courier-imap
Hello. I apologize if there is a simple answer to this question, but I haven't been able to figure it out. Our people use various clients (pine 4.50 with maildir patch, eudora, messenger, outlook, squirrelmail), and all of them work with courier-imap. But I've become very interested in dovecot after reading about it, so I'm trying it out on another server. The results are mixed.
2002 Sep 16
0
Enforcing file access with ACL?
I'm running Samba v2.2.5 with ACL support for xfs from SGI on modified Redhat Linux 6.2 running Linux kernel 2.4.19 with xfs filesystem support. Samba is running in domain mode and my PDC is an NT 4.0 SP6 server. I'm using a Win2K Professional (a member of the domain) to test things out. I have no problem setting ACL to a file from the Win2K PC. For example, I allow only Read (RX)
2019 Feb 20
0
Fwd: Custom mode
---------- Forwarded message --------- From: Peter Svensson <petersvenss85 at gmail.com> Date: tis 19 feb. 2019 kl 20:43 Subject: Re: [opus] Custom mode To: Emily Bowman Hi Emily ! Thank you for responding. I think my problem is not (yet) with OPUS itself. Encoding at complexity 0 takes 1.6ms ( 4.342ms at complexity 10 !) and decoding takes 1.9ms. 3.5ms, out of my 4.096ms budget, is
2002 Mar 03
0
Permission on homedrives..?
Hi I've got a samba PDC (samba 2.2.3a, RH 7.2, kernel 2.4.17, client is WinXP pro). I have a question about the homedrives-part in smb.conf. Are the homedrive shares set up to allow access exclusively to the appropriate user and no-one else ? My smb.conf looks like that [homes] comment = Home Directories browseable = no writable = yes valid users = %S create mode = 0664
2009 May 04
4
Creating a variable which is the sum of equal rows in a dataframe
Hi everyone: I need to count the number of banks of each firm in my data. The firm is identified by the fiscal number. The banks of each firm appears like this: Firm Banks 500600700 Citybank 500600700 CGD 500600700 BES 500600800 Citybank 500600800 Bank1 500600900 CGD I want to obtain the following dataframe: Firm
2019 Apr 22
2
Icecast not connecting
Hello, I’m reaching out because our online radio station (sites.up.edu/kdup/) has stopped streaming in the last week - the website itself works fine but when anyone attempts to listen to the live music stream they receive a message that says “cannot connect to the server “icecast.up.edu.” Do we need to update the server, or is this a problem that someone else can take care of? Let me know if I
2018 Aug 07
2
id <username> - doesnt list all groups
Thank for your answer: But i dont know understand why is following not working: I want to restrict the ssh access for a special domain member: In my "sshd_config" i added: AllowGroups restrictaccess root With user2 im able to login via ssh! log: pam_krb5(sshd:auth): user user2 authenticated as user2 at ROOTRUDI.DE With user1 im not! log: User user1 from 192.168.0.100 not allowed
2014 Jul 21
1
create R package include Fortran source code.
Hello, all I am building a R package using Fortran source code. The Fortran code is a subroutine. I can use "R CMD SHLIB bar.f -o bar.o" to create the shared library. For the R package, I put the fortran file in the src/ and I use R code as follows: ".First.lib"<-function(libname,pkgname){library.dynam("barpkg",pkgname,libname)} barfun<-function(n,x){
2013 Jan 27
1
Removing values containing a specific character
Awesome, thanks Arun, that's exactly what I was looking for! On Sat, Jan 26, 2013 at 9:21 PM, arun kirshna [via R] < ml-node+s789695n4656749h63@n4.nabble.com> wrote: > Hi, > Try this: > df[]<-lapply(df,as.character) > df2<-df > df[,1][grep("@",df$names)]<- "" > df > #names emails > #1 bob bobj@cup.com > #2
2023 Apr 12
2
Split String in regex while Keeping Delimiter
I thought replacing the spaces following instances of +++,++,+,- with "\n" and then reading with scan should succeed. Like Ivan Krylov I was fairly sure that you meant the minus sign to be "-" rather than "?", but perhaps your were using MS Word as an editor which is inconsistent with effective use of R. If so, learn to use a proper programming editor, and in any case
2010 Sep 22
0
R Programming Consultant Needed
The Peabody Research Institute at Vanderbilt University is looking for a Consultant who can develop an R package for robust standard error calculations in meta-regression models. The consultant will be expected to translate an already developed R function into a more fully functional R package with additional analysis and output options. The ideal candidate will be an experienced R programmer who
2009 Oct 28
0
running aov() and lme() on 64-bit
Good day, I'm ran aov () and lme() on a split-plot using a 64-bit machine. For aov() I don't see the values for ErrorA, F-value and p-value in the output. For lme(), output is different from results from a 32-bit. Please see codes used and corresponding output. Is my code wrong and/or not sufficient or is this a compatibility issue? ************** model1<-aov(Y~Main*Sub +
2010 Aug 15
2
legend outside plot area
Hi, please can you help me. When I add a legend to a boxplot it appears inside the plot area, how do you get it into the margins? I have already changed the parameters so there is space for it on the margin on the right hand side of the graph. Thanks, Emily [[alternative HTML version deleted]]
2012 Mar 15
1
Equation as a character string
I'm trying to figure out if it's possible to use a character string as an equation, e.g: eqn1string <- "x^2 + x + 5" Then I want to tell R: 1) that eqn1string is actually an equation (even though it was stored as a character string), and 2) to apply the equation to a specified value of x (e.g. given x <- 6, what is the result of the equation). Thanks in advance for any
2003 Nov 04
1
Demo Weather Report AGI v2.0
Some of you may know me as ManxPower from #Asterisk at irc.freenode.,net I've posted my demp weather report Asterisk AGI script at http://www.fnords.org/~eric/asterisk/downloads/ I have no affiliation with Cepstral. Below is the README: Contact: Eric Wieling <eric@fnords.org> If you want a demo of this AGI script you may call via IAXtel 1-700-923-3645 extension 2101. Option 23 is
2005 Jul 16
0
FreeBSD Summer of Code Projects Announced
The FreeBSD Project is pleased to announce its participation in the Google "Summer of Code" program designed to introduce students to open source software development. The FreeBSD Project received over 350 applications, amongst which 18 projects have been selected for funding. Unfortunately, due to the limited number of spots available, we were unable to fund many first rate