similar to: how to simplify a data.frame and add the counts of duplicate rows as a new column

Displaying 20 results from an estimated 500 matches similar to: "how to simplify a data.frame and add the counts of duplicate rows as a new column"

2009 Jul 12
2
Nonlinear Least Squares nls() programming help
Hi, I am trying to use the nls() function to closely approximate a vector of values, colC and I'm running into trouble. I am not sure how if I am asking the program to do what I think its doing, because the same minimization in Excel's Solver does not run into problems. If anyone can tell me what is going wrong, and why I'm getting a singular convergence(7) error, please tell me. I
2013 Mar 21
2
Displaying median value over the horizontal(median)line in the boxplot
Hi, set.seed(45) test1<-data.frame(columnA=rnorm(7,45),columnB=rnorm(7,10)) #used an example probably similar to your actual data apply(test1,2,function(x) sprintf("%.1f",median(x))) #columnA columnB # "44.5"? "10.2" par(mfrow=c(1,2)) lapply(test1,function(x) {b<-
2015 Dec 16
3
[bug][Pigeonhole 0.4.10] Missing msgid
On 16.12.15 12:32, Stephan Bosch wrote: > > That means that LTMP performed that delivery. That would normally only > happen when an error occurs. > No errors. All mail is delivering as expected. > Do you see anything strange in the user log? Does system log show > anything more when mail_debug=yes is active? > There is nothing unusual in the log. Dec 16 12:43:29 mx dovecot:
2015 Sep 29
2
quota count
Hi Dovecot: 2.2.19.rc2 OS: CentOS Linux release 7.1.1503 (Core) FS: XFS Problem: Dovecot it does not include line breaks in the letter. Bug or feautre? Message size in fs: 1125 bytes Message: From cras at irccrew.org Tue Jul 23 19:39:23 2002 Received: with ECARTIS (v1.0.0; list dovecot); Tue, 23 Jul 2002 19:39:23 +0300 (EEST) Return-Path: <cras at irccrew.org> Delivered-To: dovecot
1999 Jun 24
0
Write access to share
Hello, I am trying to define a share that is write accessible by only a two individuals, and read-only for a few other individuals. Everyone else doesn't get access to the share. My smb.conf entry for the share is below [soldrequest] comment = Soldrequest polling share path = /soldrequest read only = yes guest ok = no valid users = user1,user2,user3,user4,user5,user6,user7,user8
2013 Feb 01
2
how to setdiff on lists of lists
Dear List, I have a data structure like: > aa [[1]] [1] 1 2 3 [[2]] [1] 4 5 6 > bb [[1]] [1] 3 [[2]] [1] 5 I would like to set differences between "aa" and "bb" and get as result another list of lists like: > res [[1]] [1] 1 2 [[2]] [1] 4 6 I am trying: lapply(aa, setdiff, bb) but I simply get "aa" back as result. Could you please point me in the
2006 Mar 30
9
Getting data from multiple controllers (Newbie question)
Hello, Assuming I have the following setup for one page: <column A><data from controller 1 /> </columnA> <column B><data from controller 2 /> </columnB> <column C><data from controller 3 /> </columnC> Assuming the page is created for Controller 2, what would be the best way(s) to gather/render the data from the other controllers? Best
2011 Jan 03
4
how to invert the axes in the wireframe() plot
Dear List, I am using the wireframe function in the lattice package, and I am wondering if it is possible to invert the default axes orientation for x and y axes... what parameter should I look for? Best regards, Simone Gabbriellini
2017 May 23
2
[imaptest] Explaining errors
Hi, I'm an Apache James committer and we are curious to use imaptest in order to validate our IMAP protocol implementation. I'm using the nightlybuild : imaptest-20170506 I follow the examples given in the /T/ /est IMAP server compliancy/ examples https://imapwiki.org/ImapTest/Examples. And I wanted to analyse the errors reported, here are some: Error: user1 at james.org[11]: seq too
2008 Nov 30
4
simple question with table()
Dear List, my problem should be easy to fix, but I couldn't find a solution by myself... In my survey, there is a question with 14 possible answers. None of the respondents choose the 13th answer, so when I table() the results, R says: 1 2 3 4 5 6 7 8 9 10 11 12 14 31 52 7 21 40 7 8 2 28 2 2 1 17 13 is missing... anyone knows how to tell table() that there are 14 modalities in the
2006 Sep 12
2
coerce matrix to number
Dear List, how can I coerce a matrix like this [,1] [,2] [,3] [,4] [,5] [,6] [1,] "0" "1" "1" "0" "0" "0" [2,] "1" "0" "1" "0" "0" "0" [3,] "1" "1" "0" "0" "0" "0" [4,] "0" "0"
2012 May 07
1
wireframe and par(mfrow)
Hello List, I have some plots with the wireframe() function, and I'd like to display them in a single jpeg file. I know that par(mfrow=c(x,y)) will divide my display window in x rows and y columns, and although this works with plot(), it looks like it's not working with wireframe. here's my code: library(lattice) library(Cairo) CairoJPEG("wiley-rank.jpeg", width=960,
2005 Aug 11
1
tcltk programming guide
Dear List, I'm looking for some documentation about the R tcltk package The one I found in the help doesn't look exaustive, I need information on the use of the single tk widget, maybe with some examples thank you, simone gabbriellini
2005 May 19
2
laten class analysis
Dear List, just a little question, I am interested in Latent Class Analysis and I guess if there is a package for this pourpose thank for you help, Simone
2005 Aug 03
3
problem with for()
Dear list, can someone tell me why this two pieces of code give me the same results? > for(i in 0:5){ sum[i] = i } > sum [1] 1 2 3 4 5 > for(i in 1:5){ sum[i] = i } > sum [1] 1 2 3 4 5 shouldn't the first one be 0 1 2 3 4 5 thank you, simone
2011 Apr 19
3
zero fill empty cell in data.frame
Hello List, I have a data frame like: V130 V131 V132 V133 V134 V135 V136 1 0 0 0.9 0 0.9 0 0 2 0 0 0 0 0 0.8 3 0 0 0 0 0.9 0 0 4 0.9 0 0 0 0 0 0.9 5 0 0 0 6 0 0 0 0.9 0 0 0.9 7 0 0 0.8 0 0 0 0 8 0.9 0 0 0.9 0.8 0 9 0 0 0 0.9 0.9 0 0 10 0 0 0 0 0 0 0.9
2015 Dec 16
3
[bug][Pigeonhole 0.4.10] Missing msgid
Pigeonhole 0.4.10 doesn't log msgid for some messages. Dec 16 09:57:57 mx dovecot: lmtp(user1 at example.com): EbLlL2gLcVYCBgEAPZa6/Q: sieve: msgid=<20151216065756.BE1DF1FFD8 at cp.bitrix24.com>: forwarded to <user3 at example.com> Dec 16 09:57:57 mx dovecot: lmtp(user1 at example.com): EbLlL2gLcVYCBgEAPZa6/Q: sieve: stored mail into mailbox 'INBOX' Dec 16 09:57:57 mx
2005 Aug 29
1
Rcmdr extensions
Dear List, I am trying to extend Rcmdr with some functions usefult to my study... I have addedd succesfully a menu and some submenu to the GUI, and I have placed a file .R in the /etc folder... I am able to call functions on that file, but I cannot see the results: how can I tell Rcmdr to write the output in the output box? Second question: how can I refer to the actually selected
2009 Sep 15
3
how to load only lines that start with a particular symbol
Dear all, I have DNA sequence data which are fasta-formatted as >gene A;..... AAAAACCCC TTTTTGGGG CCCTTTTTT >gene B;.... CCCCCAAAA GGGGGTTTT I want to load only the lines that start with ">" where the annotation information for the gene is contained. In principle, I can remove the sequences before loading or after loading all the lines. I just wonder if there's a way to
2010 Oct 20
1
how to connect to a remote PostgreSQL database from R on mac osx
Hello List, I would like to connect to a postgreSQL database on a remote server and I am wondering what is the best package to do that. I have just installed RpgSQL, RPostgreSQL, Rdbi and RODBC. The handiest to me is RPostgreSQL but I don't see how to connect to a remote server with it. For sure I can connect to remote server with RODBC, but since I am on a Mac OSX 10.6, I have quite