similar to: Aggregate certain rows in a matrix

Displaying 20 results from an estimated 3000 matches similar to: "Aggregate certain rows in a matrix"

2010 Jun 11
2
Clustering algorithms don't find obvious clusters
I have a directed graph which is represented as a matrix on the form 0 4 0 1 6 0 0 0 0 1 0 5 0 0 4 0 Each row correspond to an author (A, B, C, D) and the values says how many times this author have cited the other authors. Hence the first row says that author A have cited author B four times and author D one time. Thus the matrix represents two groups of authors: (A,B) and (C,D) who cites
2015 Nov 21
2
Contact-closure UPS
>On Nov 20, 2015, at 12:17 PM, R?bert SZAKSZ <robert at szaksz.eu> wrote: >> >> No progress has been made: >> >> cable is UPS - PC >> 6 - 3 >> 7 - 5 >> 9 - 2 >> > >Maybe pins 4 and 7 (ground) both need to be connected on the UPS side? I connected both to pin 5 >Unfortunately, I don't think there is a safe way (in software)
2023 Nov 19
2
icecast2/ices2 don't work for iOS?
Hello I hope this question is okay: I have set up a radio with icecast2 and ices2. Everything works. I can access it from http://radio.protestbandet.dk:8000/stream? and? http://radio.protestbandet.dk:8000 I can listen to my radio in RadioDroid on my android phone, and I can listen via https://liveonlineradio.net/horsens-garage-radio in Firefox on my computer with Ubuntu. But people on
2014 Feb 20
3
v1.x vs v2.x
Should I migrate to v2 or are there no significant pro's on this migration? Thanks! -- Best regards, Jos Chrispijn --- Artificial intelligence is no match for natural stupidity
2007 Nov 21
4
Broken system.
Hello, I had an Inbox with 975,604 emails on ext3 filesystem. I keept getting dropped on the comand "copy 1:2000 inbox2", the syslog gave me an error message indicating "out of memory" problems. This despite the fact that the server has 800MB of ram free. Anyways, I asked if I could manuanlly move the files at the filesystem level or if that would mess up dovecot (break the
2003 Aug 27
1
Login Scripts in LDAP
Hi ! I use Samba with OpenLDAP. The Samba users information are keept in LDAP. I'd like to keep the login scripts in LDAP. Something knows how can I do this ? And how Samba would read the login scripts in LDAP and not in netlogon directory ? Thanks, Bruno Stella PS: Sorry by my English :-)
2013 Sep 25
3
ayuda con aggregate
Hola Juan. ¿Si yo en vez de querer obtener la media quiero sacar el porcentaje de casos que son menores que la media como lo haría? Saludos, Sebastián. El 17 de septiembre de 2013 03:34, Joan Carmona <jcmld@carmonarocha.com>escribió: > Hola Sebastián, > > Qué tal así:? > > > t<-data.frame(A=c(1,2,3,4,5,6,7,8,9,10),B=c(1,1,2,2,3,3,4,4,5,5),C=c(1,1,1,1 > >
2013 Apr 12
3
Why copying columns of a data.frame becomes numeric?
Dear list, I want the 1st, 2nd, 5th, and 6th columns of mtcars. After copying them, the columns become numeric class rather than data frame. But, when I copy rows, they data frame retains its class. Why is this? I don't see why copying rows vs columns is so different. > class(mtcars) [1] "data.frame" > head(mtcars) mpg cyl disp hp drat wt qsec vs
2015 Oct 15
2
master user in dovecot 1.2
Robert Schetterer skrev den 2015-10-15 17:48: > but dont expect wide list support and recent bugfixes included i have no problem with stable software even if its outdated, for me it changes if its unstable
2013 Sep 26
2
ayuda con aggregate
Estimados: Dentro del aggregate utilice un table, son cuatro los valores que puede tomar la variable, ¿como puedo desarmar la lista y crear cuatro variables nuevas donde le asigne 0 si no se da ese valor? Saludos, Sebastián. El 25 de septiembre de 2013 10:41, Jorge I Velez <jorgeivanvelez@gmail.com>escribió: > Sebastián, > > Una forma es > > aggregate(cbind(X1,X2) ~ B +
2013 Sep 16
3
ayuda con aggregate
Estimados usuarios de R: Estoy aprendiendo a usar el comando aggregate. Por ejemplo tengo la siguiente tabla: A B C X1 X2 X3 X4 1 1 1 10 0,333333333 25 1 2 1 1 20 1,818181818 36 1 3 2 1 30 1,428571429 46 1 4 2 1 11 0,35483871 26 2 5 3 2 21 1,75 37 2 6 3 2 31 1,409090909 47 2 7 4 2 12 0,375 27 3 8 4 2 22 1,692307692 38 3 9 5 3 32 3,2 50 3 10 5 3 13 0,65 28 3 Yo quiero agrupar usando como
2013 Sep 26
1
ayuda con aggregate
Daniel, en vez de mean utilicé table. Entonces me genera una lista y quiero que quede una matriz. Unlist no me sirve porque me pasa todos los valores a un vector y me pierdo de saber a que caso corresponde. Saludos, Sebastián. El 26 de septiembre de 2013 16:50, daniel <daniel319@gmail.com> escribió: > Sebastián, tengo dificultades para entender si sigues con el ejemplo > anterior
2010 Sep 27
3
optimize mouse for games
- I play the game atlantica online - Tried for a few days to make it work on vmware, read all about making the host enable for 3d games - Works fine, a bit slow but all 100% -------------------- - Tried on wine, and omg, runs 200% and fast, extremelly fast - Problem is the mouse - had same problem on vmware, but i found the answer on: > vmmouse.present = FALSE > > This line disables
2012 Mar 01
5
select rows by criteria
Hello, I am stuck with selecting the right rows from a data frame. I think the problem is rather how to select them then how to implement the R code. Consider the following data frame: df <- data.frame(ID = c(1,2,3,4,5,6,7,8,9,10), value = c(34,12,23,25,34,42,48,29,30,27)) What I want to achieve is to select 7 rows (values) so that the mean value of those rows are closest to the value of 35
2009 Jan 19
2
Using apply to generate matrix from rows?
Dear all, I have a simple question which I unfortunately do not seem to be able to solve myself. I have a (NxK) matrix and want to generate a new matrix by multiplying each row with itself such that the new matrix has dimension ((N*K)xK) (or better, generate an array with dimension (K,K,N)). I tried apply, but that did not work. Any suggestions? Thanks! Stephan ## Here is a simple
2015 Nov 20
2
Contact-closure UPS
No progress has been made: cable is UPS - PC 6 - 3 7 - 5 9 - 2 for ./blazer_ser -DDDDD -a infosec 0.000000 send_to_all: SETINFO driver.parameter.port "/dev/ttyS1" 0.000323 debug level is '5' 0.103068 send_to_all: SETINFO device.type "ups" 0.103104 send_to_all: SETINFO driver.version "2.7.3" 0.103118 send_to_all: SETINFO
2002 Jul 16
9
my printers are still paused in Win2k and WinNT 4.0
Hello, It seems that I am in printer hell once again :) I am trying to sort out some printer problems with our UNIX server. The basic problem is this. I have a test server to K.I.S.S the problem. On this server I have defined two queues which are csqlis and HPfinley. csqlis seems to work correctly and displays ready. HPfinley always reads Paused on win2k and NT40 clients. The output of the lpq
2016 Sep 28
4
Upgrading samba from source over debian packages
On 2016-09-28 01:04, Marc Muehlfeld via samba wrote: > Hi, > > Am 27.09.2016 um 21:14 schrieb Elias Pereira via samba: > >> Maybe, it would be nice to put on the wiki that step regarding uninstall >> the old packages version. I believe that a good portion of users unaware >> that step. :) > > I only can add a general and installation, because distros have
2011 Jan 11
2
aggregate.formula implicitly removes rows containing NA
The documentation for `aggregate` makes it sound like aggregate.formula should behave identically to aggregate.data.frame (apart from the way the parameters are passed). But it looks like aggregate.formula is quietly removing rows where any of the "output" variables (those on the LHS of the formula) are NA. This differs from how aggregate.data.frame works. Is this expected behavior?
2005 Oct 13
3
aggregate slow with many rows - alternative?
Hi, I use the code below to aggregate / cnt my test data. It works fine, but the problem is with my real data (33'000 rows) where the function is really slow (nothing happened in half an hour). Does anybody know of other functions that I could use? Thanks, Hans-Peter -------------- dat <- data.frame( Datum = c( 32586, 32587, 32587, 32625, 32656, 32656, 32656, 32672, 32672, 32699 ),