similar to: How to calculate the row wise means for grouped columns in matrix?

Displaying 20 results from an estimated 500 matches similar to: "How to calculate the row wise means for grouped columns in matrix?"

2009 Nov 24
6
From R to LaTeX to pdf?
Hi all, Anyone experienced in the LaTeX format? I'm trying to use the xtable package to create nice anova tables, but how do I do to produce a pdf from the resulting LaTeX table? I've tried WinShell and MiKTeX, but I couldn't get any of them working... Here's an example of the output in R: % latex table generated in R 2.9.2 by xtable 1.5-6 package % Tue Nov 24
2009 Nov 24
1
Decision trees with factors and numericals
Hi all, Does any of you know how to make a decision tree when the data set contains factors and numericals? I've got a data frame with 3 columns, where y and x1 are numerical and x2 contains factors. Is it possible to use the rpart package, and in that case how? Otherwise, is there another alternative? This is what I've tried so far > rpart(LT50_NA ~ Raf + Antho,
2009 Nov 03
2
Change negative values in column
Hi all, I'm trying to write a script that changes all negative values in a data frame column to a small positive value, based on the the minimum value of the column. However, I get the following error: Error in if (x[i] < 0) { : argument is of length zero As well, I would "minimum" to be the smallest of the non-negative values...
2007 Dec 25
2
Simple File I/O benchmark tool for NT clients
Hi, I need a simple tool for benchmarking my NT client against my Ubuntu Samba server. I get 20MB/s during a file copy but I think my limit is the client's hard disk. Dose anyone know a simple exe tool which simulate file I/O agains the Samba server. I like to avoid using my lokal disk during the test. Have looked around but can't find a simpe tool which dose the job without the need of
2007 Dec 26
1
Can I limit my browsing of share between clients?
Hi, I have a share like this: [Accounts] comments = Accounting Dep common files browseable = yes writable = yes locking = no path = /mnt/accounts guest ok = no hide ureadable = yes create mask = 0777 directory mask = 0777 host allowed = 192.168.0.20 192.168.0.25 192.168.0.27 192.168.0.28 I wan't 'Accounts' to only be visable on the client's WORKGROUP listed
2008 May 15
2
Unable to join Samba
hope I'm in the right place, I trying to join a samba server to Active Directory. Samba server FreeBSD 6.2 the Active Directory machine is running Windows 2008 Server When I execute "net ads join -U Administrator" I get the following error /libexec/ld-elf.so.1: /usr/lib/libkrb5.so.8: Undefined symbol "init_error_table" does any body know how to fix this error? If I
2002 Jan 15
1
another starcraft
Hello everyone! I downloaded CodeWeavers wine the other week and had it up and running in the instant of a sec. So, I mounted my Cd and installed StarCraft with no problems (except all this jibbrisch about missing fonts). Happy as a newborn daddy I started it up, and noticed that since I couldn't fill in a userid for playing, I couldn't play. it turned out that all my keyboard pressing
2009 Mar 20
1
Music on Hold doesn't play back for external callers
Hey all; I am experiencing an issue with music on Hold. I am running asterisk version 1.4.22, and have a default script set up in two places for MoH playback. For internal devices to my network that are SIP peering with asterisk, they simply dial 123 and hear the MoH music immediately. I'm using the default setup, where it just plays the wave files in the /var/lib/asterisk/moh directory. I
2009 Nov 29
2
Time Series Rating Model
To R programming experts, I am a undergraduate student, and now doing research personally. I apply diagonal bivariate poisson (R package "bivpois") with stochatics weighted function (refer to dixoncoles97 section 4.5 to 4.7). However I dont know how to fit this stochatical weighted function to the completed bivariate poisson model. I know that some other references for dynamic soccer
2008 Apr 06
4
Apache Authorization Access Control - location of htpasswd in Centos 5.1?
Hi, I?m trying to set up a private family web site for genealogy, and want to set up Apache Authorization access control for this site, and once the user has logged in has access to the entire site. I?ve been reading the info at http://httpd.apache.org/docs/2.2/howto/auth.html to learn how to do this. I?m just planning on passing out the same username and password to all family members and
2008 Nov 19
1
about Speex's PLC
Thanks for the reply. I think I'm beginning to understand but can you clarify a bit more. 1) I am confused on "trade error-free quality" part. Basically the encoder is doing something to the encoded data by looking at the SPEEX_SET_PLC_TUNING parameter? 2) How does the receiver side determine whether the packet loss occured or not? It seems only way is assigning
2004 Aug 24
5
MMX/mmxext optimisations
quite some speed improvement indeed. attached the updated patch to apply to svn/trunk. j -------------- next part -------------- A non-text attachment was scrubbed... Name: theora-mmx.patch.gz Type: application/x-gzip Size: 8648 bytes Desc: not available Url : http://lists.xiph.org/pipermail/theora-dev/attachments/20040824/5a5f2731/theora-mmx.patch-0001.bin
2011 Mar 09
2
SQLDF - Submitting Queries with R Objects as Columns
Fellow R programmers, I'd like to submit SQLDF statements with R objects as column names. For example, I want to assign "X" to "var1" (var1<-"X") and then refer to "var1" in the SQLDF statement. SQLDF needs to understand that when I reference "var1", it should look for "X" in the dataframe. This is necessary because my SQLDF
2003 Nov 14
1
plotmath problems with X11 fonts (Redhat 9)
We've only switched from redhat 7.3 to 9 several weeks ago, and I found today, that the last three pages of demo(plotmath) uses quite wrong plot symbols, e.g sum(....) gives (+) {+ in circle} instead of the Sigma-like summation --- but only in "text" not in title, i.e., probably a font problem. With postscript() {and hence dev.print() of x11()} all is fine. Hence it must be an X
2011 Jun 06
1
Help in running CAROTDAV
Hi everybody, i'm trying to run carotdav, a webdav client that should connect to the skydrive service of microsoft's hotmail. The software is freely downloadable here http://rei.to/carotdav_en.html#download It needs only .net 2.0 so, starting with a clean wineprefix i've done winetricks dotnet20 Here's the output of the .net 2.0 installation http://pastebin.com/YxWMnxzK then
2012 Jan 17
1
Error when trying to install a game from CD
I keep getting this error when trying to install URU The Complete Chronicles [img]<iframe title ="Preview" scrolling="no" marginheight="0" marginwidth="0" frameborder="0" width="320px" height="188px" style="padding:0;background-color:#fcfcfc;"
2009 Nov 13
6
replace a whole word with sub()
Dear all, I cannot figure out how to solve a small problem (well, not for me), surely somebody can help me in few seconds. I have a series of strings in a vector X of the type "xxx", "yyy", "zzz", "IgA", "IgG", "kkk", "IgM", "aaa". I want to substitute every ENTIRE string beginning with "Ig" with
2009 Mar 23
2
[LLVMdev] Problem Compiling Test-suite
Hello, I am new in using llvm so I would like to get some help on how to compile test-suite. Assumptions: llvm is in /llvm directory llvm-gcc is in /llvm-4.2-2.4-x86-linux-RHEL4/bin I have tried compiling test-suite and I get the following error: $make make[1]: Entering directory '/llvm/projects/test-suite/SingleSource' make[2]: Entering directory
2011 Apr 13
1
Decimals in R/SQL
Hello, When I am writing in sqldf or RSQLite I lose the decimals in my matrix. The only way I can get decimals is by multiplying by 1.00000, etc. I have tried manipulating the options, but it is only effective once I multiply by 1.0000. I appreciate any suggestions! Thanks! Example: z <- sqldf ("select ST, SUM(AGEP*PWGTP)*1.000000000/SUM(PWGTP)*1.00000000000000 as wgtage from ss09
2007 Nov 30
2
Problem registering Cisco 7970 phone with Asterisk 1.4 running FreePBX
Hi there! I am having problems registering my 7970 hardphone with Asterisk 1.4(with FreePBX interface). I had an earlier post about trying to get it to work first with a 7970 emulator (Cisco IP Communicator) on the Asterisk Forum : http://forums.digium.com/viewtopic.php?t=19160 Instead I decided to try the real phone instead, and was able to advance further. The firmware was able to install