similar to: How to calculate the product of every two elements in two lists?

Displaying 20 results from an estimated 500 matches similar to: "How to calculate the product of every two elements in two lists?"

2005 Oct 31
1
[R] unvectorized option for outer()
> From: Thomas Lumley > > On Sun, 30 Oct 2005, Jonathan Rougier wrote: > > > I'm not sure about this. Perhaps I am a dinosaur, but my feeling is > > that if people are writing functions in R that might be subject to > > simple operations like outer products, then they ought to be writing > > vectorised functions! > > I would agree. How about an
2012 Jul 20
3
Execute a function
Hi, I would like to evaluate a function, with 3 arguments, for instance, myfunc<-function(a,b,c) { sqrt(a)-exp(b)+4*c } How to execute myfunc(x,y,z), for all x, all y and all z, where x,y,z are vectors? Thank you very much in advance -- View this message in context: http://r.789695.n4.nabble.com/Execute-a-function-tp4637182.html Sent from
2015 Oct 05
1
Dovecot don't erase mails from storage.
Hi, I have a dovecot installation with a strange problem: all the mails stays in storage after deleted from users mailbox. If user logon after the mails are deleted, they don't receive them any more, but the m.## files aren?t deleted. This happens with pop3 (default for this installation) and/or imap. The dovecot is installed along postfix with mysql and multi-domains support Here's the
2015 Oct 18
14
[Bug 92523] New: [Quadro FX 370] Compiz freezes entire desktop.
https://bugs.freedesktop.org/show_bug.cgi?id=92523 Bug ID: 92523 Summary: [Quadro FX 370] Compiz freezes entire desktop. Product: xorg Version: unspecified Hardware: x86-64 (AMD64) OS: Linux (All) Status: NEW Severity: major Priority: medium Component: Driver/nouveau Assignee:
2017 Nov 18
2
family
Hi all, I am reading a huge data set(12M rows) that contains family information, Offspring, Parent1 and Parent2 Parent1 and parent2 should be in the first column as an offspring before their offspring information. Their parent information (parent1 and parent2) should be set to zero, if unknown. Also the first column should be unique. Here is my sample data set and desired output. fam
2005 Jan 20
2
Johnson transformation
Hello, I'm Carla, an italian student, I'm looking for a package to transform non normal data to normality. I tried to use Box Cox, but it's not ok. There is a package to use Johnson families' transormation? Can you give me any suggestions to find free software as R that use this trasform? Thank yuo very much Carla ____________________________________________________________ 6X
2010 Jul 19
1
How to create a guest os from existing disk image file with virt-install
Hi I have configured KVM with Fedora Core 13 by enabling the KVM virtualization option while installing OS. I have successfully created the guest OS by using the virt-install API /usr/sbin/virt-install --name centos5 --ram 512 --disk path=/var/lib/libvirt/images/ centos.img,size=5 --network network:default --accelerate --vnc -c /tmp/CentOS-5.3-i386-bin-DVD.iso Os installed successfully and after
2008 Feb 01
4
Concatenate a Variable
Good morning! I do not speak English very well and so I will try to explain the best I can. I have this: > tabela[,1] [1] a a b b a c b a c c c c c Levels: a b c >unique(tabela[,1]) [1] a b c Levels: a b c >var<-unique(tabela[,1])[1] > var [1] a Levels: a b c But if I concatenate like this > cat("VAR: ", var, "\n") I obtain >VAR: 1 and I
2018 Oct 31
3
Fwd: Paletas de colores para datos cualitativos
Hola, mi nombre es Carla y trabajo en Estadística. Soy nueva en R y estoy haciendo un curso para principiantes. Tengo unos datos de trayectorias de pacientes de un hospital -categorías cualitativas- y quisiera graficar cada trayectoria empleando paletas de colores, para prescindir del texto. Adjunto imagen de trabajo realizado en R para un estudio longitudinal, que se acerca a lo que quisiera
2008 Jul 17
4
REvolution computing
Hi, everybody. Sorry to bring up the subject again but I have visited the revolution computing web page, but its not clear when or what will be the new release be. Does anybody have information about that?. Does anybody know if the version that will be released will be validated?. I have been reading the previous mails about validation and I work in a Pharma company and validation is a big
2014 Jun 03
1
wbinfo -u returns no domain users
Hi, I have set up a server using CentOS release 6.5 with Samba and winbind and joined it to the domain using the net ads join -U command. However, when I try to run the wbinfo -u command it returns to prompt. The command wbinfo -p works. I have also tried restarting the Samba and winbind services and joining the machine to the domain again. However nothing works. Your assistance would be
2009 Apr 12
3
Using cdrecord on CentOS
Hi, I'd like to use cdrecord on the command line. I'm currently reading the relevant chapter in Carla Schroder's "Linux Cookbook". Unfortunately, some of the tricks and hints included in the book don't seem to work the same way on a standard CentOS 5 install. 1) Am I supposed to be root to use cdrecord and burn an .iso file? 2) How do I specify a device?
2006 Dec 05
6
Switching from FreeBSD to Linux - which distro?
Does there seem to be a popular Linux distro folks use specifically for Asterisk? I'd like to move off of FreeBSD but I'm not too familiar with Linux distros. In particular, I'm looking for a free, stable, well supported distro that has a friendly community. Any advice appreciated. Sorry for asking a question that I'm sure has been asked thousands of times. Best regards,
2008 Feb 14
3
contingency table
Hello! May you help me? I'm trying to do a contingency table using this > data(iris) > library(rpart) > modelo <- rpart(Species ~., iris) > prev <- predict(modelo, iris) Finally the contingency table > table(iris$Species, prev) But an error occurs: Error in table(iris$Species, prev) : all arguments must have the same length And I do not understand why, may you
2009 Jul 20
5
SSH without password on CentOS 5 ?
Hi, I'd like to use SSH without password so I can use it in scripts (for example in combination with rsync to do backups). I have Carla Schroder's "Linux Cookbook" and I'm trying out the various receipts, but the one for SSH without a password doesn't work. The book is slightly dated, and I wonder if SSH included in CentOS works differently. Any suggestions? Niki
2005 May 11
2
time zones, daylight saving etc.
Hi, I have a whole bunch of data, which looks like: 15/03/2003 10:20 1 15/03/2003 10:21 0 15/03/2003 12:02 0 16/03/2003 06:10 0 16/03/2003 06:20 0.5 16/03/2003 06:30 0 16/03/2003 06:40 0 16/03/2003 06:50 0 18/03/2003 20:10 0.5 etc. (times given on a 24 hour clock) and goes on for years. I have some code:
2004 Aug 20
1
Is there an alternative to subplot() of splus
Dear R-gurus, Is there any function in R does the same thing as function subplot()in Splus? I am trying to post a pie chart onto the top right hand corner of existing bar chart. Also, Does anyone know if I can use paste() to paste the graph to another graph? Cheers, Carla Chen
2006 Oct 16
1
macros reference?
One more question- is there a reference somewheres for all the built-in Asterisk macros? thanks! -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ?Carla Schroder ?check out my "Linux Cookbook", the ultimate Linux user's ?and sysadmin's guide! http://www.oreilly.com/catalog/linuxckbk/ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2006 Oct 17
1
1.4 gsm files changed??
I like to use zgsmplay to preview Asterisk's gsm files. Works like a charm in 1.2. But something changed in 1.4- they play at the wrong speed, very slowly. They sound fine in the normal course of using the Asterisk server. The file sizes seem wacko. The first example is from 1.2, the second from 1.4: $ ls -l im-sorry.gsm -rw-r--r-- 1 1000 1000 1419 Dec 5 2005 im-sorry.gsm $ ls -l
2002 Jun 29
2
TO SYMMETRY AND ASYMMETRY-----NOW ADD SUPERSYMMETRY
Open Letter to Developers, Is there any way you can cut through the mob scene at Homeland Defense with a powerful new encryption/decryption formula? The government cryptography bunch are stuck in symmetry and asymmetry and are deaf/dumb/blind to supersymmetry. When it's so easy to line up a supersymmetrical hypercube fractal-to-fractal, pair-to-pair, quantum-to-quantum and slice through