similar to: how to show a section of a matrix neatly (or row by row) that satisfies some condition

Displaying 20 results from an estimated 700 matches similar to: "how to show a section of a matrix neatly (or row by row) that satisfies some condition"

2003 Mar 24
0
how to show a section of a matrix neatly (or row by row ) that satisfies some condition
You're missing a comma in the subscript. The comma tells it that your test is for the appropriate rows. You want: finest[finest[,1] > 10^3,] Hope this helps, Matt Wiener -----Original Message----- From: Edmond Ng [mailto:Edmond.Ng at lshtm.ac.uk] Sent: Monday, March 24, 2003 2:40 PM To: r-help at stat.math.ethz.ch Subject: [R] how to show a section of a matrix neatly (or row by row)
2010 Feb 15
1
get current window (device) size
Dear R-listers, I am writing a function that will generate a simple plot for the user . The size of the window (that contains the plot) may not be what the user wants. Supposing the user adjusts the window to a size of her/his choice, I would like to be able to save the new window size and specify the plot to be of this new window size when the user calls my function again. My question is
2003 Mar 05
3
reading in tab delimited data in a loop
Dear all, I need to read in 4 sets of tab delimited data in a loop. The 4 data sets are called "simu1.dat", "simu2.dat" and so on. I know what I need on the righthand side of the read.table expression but I can't the left hand side of it to work (see the line in bold below). Can you kindly help? Many thanks. simu1 <- matrix(0,30,3) simu2 <- matrix(0,30,3) simu3
2010 May 14
7
[Bug 28107] New: [NV31]
https://bugs.freedesktop.org/show_bug.cgi?id=28107 Summary: [NV31] Product: xorg Version: unspecified Platform: x86 (IA32) OS/Version: Linux (All) Status: NEW Severity: normal Priority: medium Component: Driver/nouveau AssignedTo: nouveau at lists.freedesktop.org ReportedBy: finest.bug at
2010 Sep 20
2
For Your Own Info: Rails 2.3.2 is incompatible with Cucumber (0.8.5), Capybara (0.3.9) and Selenium-webdriver (0.0.17)
Railers, I am running an application on Rails 2.3.2. For some reason within our organization, we wish to remain on this version of Rails. For BDD/Testing, we use Cucumber. So I installed Cucumber (0.8.5), Capybara (0.3.9) and Selenium-webdriver (0.0.17). But when I run Cucumber on any feature, I get an error saying *" wrong number of arguments (2 for 1) (ArgumentError)"*, (Check here
2003 Mar 14
2
odd behaviour of 'while'?
Hi all, I have written a program which performs some data simulation, model fitting (to the simulated data) and then it will save the parameter estimates from each loop into a matrix for later use. Because convergence will not be met in some sets of the simulated data, I have used a 'while' instead of a 'for' loop for the job. With a 'for' loop I was not able to turn
2007 Apr 04
1
fsck.ext3 reporting large file I cannot find
I am checking a file system (ext3) as shown below. It is actually a fresh file system, as I had deleted all partitions and created an ext3 file system. But when I run the check with the verbose option, it says I have one large file. Am I missing something here, or is it odd that I cannot find this large file it is reporting? I reviewed some documentation on ext3 file systems, and experimented
2005 Sep 29
2
how to fix the level-1 variances in lme()?
Dear all, Edmond Ng (http://multilevel.ioe.ac.uk/softrev/reviewsplus.pdf) provides an example to fit the mixed effects meta-analysis in Splus 6.2. The syntax is: lme(fixed=d~wks, data=meta, random=~1|study, weights=varFixed(~Vofd), control=lmeControl(sigma=1)) where d is the effect size, study is the study number, Vofd is the variance of the effect size and meta is the data frame.
2004 Sep 14
2
GSSAPI, Kerberos and multihomed hosts
(was: "Re: Pending OpenSSH release, call for testing", topic drift at its finest :-) Markus Moeller wrote: > Douglas, > > OK three possible settings(hostname,connection IP,GSS_C_NO_NAME) are fine for me too. Does GSS_C_NO_NAME relate to this bug (addressless tickets)? http://bugzilla.mindrot.org/show_bug.cgi?id=488 BTW, I opened a bug the the multihomed thing a couple of
2006 Mar 21
9
IE flakiness?
I set up a simple BlindUp and BlindDown div that works seamlessy in Firefox but doesn''t work as smoothly in IE. When blinding down, the whole div flashes and then Blinds down. The same thing when blinding up. Is this something that is fixable? _______________________________________________ Rails-spinoffs mailing list Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
2017 Nov 01
1
Creating Tag
i want to tag categories to its menuname. i have a csv containing menu item name and in other csv i have a column containing some strings, i want to pick that strings from categories and look into menu items if any menu item containing that string i want to create a new column next to menu item name flagged as 1 otherwise 0 and the only condition is once a menu item flagged as 1 i don't need
2008 Feb 07
1
rsync error: protocol incompatibility (code 2) at rsync.c, using --iconv=. and (code 2) and rsync-3.0.0pre8
Dear List, Running rsync on our intradisk Xscale Arm BigEndian MiniServer (NAS) System is causing some problems running on special character files and crashing. Rsync is syncing running on a mounted samba share, syncing to the local disk. It is started with the parameters --iconv=. what I suggest is the solution for syncing the attached file. log output in /var/log/messages received request to
2007 Aug 23
1
Hints & examples for content creators & packagers
At speex.org, I read that Speex is well-suited to internet audio streaming and audio books. However, I am having difficulty finding or creating audio-book-type material of acceptable audio quality vs file size. For the sake of comparison, look at the speex sample in Ubuntu's example-content_26_all.deb vs http://podcast.msnbc.com/audio/podcast/pd_mtp.mp3 The mp3 sounds ok, streams and seeks
2008 Nov 10
2
[LLVMdev] Load/Store issues: tablegen/customization?
I've been running into two issues with load/store handling: (1) is that tablegen doesn't seem to handle the two predicates that get attached to my instructions. The first is the predicate in TargetSelectionDAG.td, identifying a load node as, say, extloadi8. The second is my identification of the load as having a particular address space (need different instructions for different
2011 Jul 28
1
ggplot2 help/suggestions needed
Hello, I have written a version of the Kohenen Self Organizing Map (in R) and wish to use ggplot2 for the visualization. My results are RGB values in a matrix [x,y,1:3] where x and y comprise the first two dimensions and the third dimension is the RGB vector. I am not sure whether to use geom_tile or geom_hex as there really is no binning at the finest granularity. For testing, the matrix is
2010 Aug 22
5
Help me... how to convert amchart to pdf
Hi Guys I need help.. I want to making 1 controller for covert html to pdf.. But that html have amchart (swf). When I tried convert, the swf not loadded... Any body can help me Please???? -- Senior Rails Developer Anton Effendi - Wu You Duan -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send
2005 May 11
2
PRI QSIG and legacy toshiba intergration
I love it... I buy a half a million dollars worth of Trashiba's finest ... I download Asterisk for free... I now refer to it as legacy 18 months and 300 extensions later! Anyway, I am trying to integrate my dial plans acrossed platforms. PSTN>>>CTX670>>>Asterisk The dialplan I would like to setup, 1xx,2xx,3xx,7xxx to the CTX 670 4xx,6xxx to a remote ctx100 (this is setup
2007 Jan 19
1
Problems w/ CentOS 4.4 ....
.... I just installed CentOS 4.4 yesterday P.M., on my 2.4 GHz P4 box, Foxconn i865 mbd, 2 GB DDR400 RAM (4 X 512 MB), 1 X 20 GB HDD (hda), 1 X 160 GB HDD (hdb), 1 X LG GSA H22N DVD reader/burner (hdc), 1 X 400 GB HDD (hdd), Coolmax CP500-T PSU. I wiped SuSE 9.2 off of the 20 GB drive & installed CentOS. The other 2 drives were already ext3 FS & will be mounted as /home & /work
2011 Feb 22
1
funding
Maybe what Centos needs is a bridal registry. Here in the US, an engaged couple can tell their friends what they'd like to be given as wedding presents. They do this by listing items in a registry, in various stores around town. Anyway, the idea is, post stuff you need in a list on your site. Say you need 20 hard drives, or a particular power supply, or whatever items that get consumed in
2011 Aug 13
1
How do I disable auto-logout ....
.... I have a 64-bit CentOS 5.6 VM running on a 64-bit FC14 host. I notice that it has an automatic logout feature after a period of idleness, see below: [wam at centos-5, CFD, 5:52:45pm] 1183 % ll -tr LIST LIST.Update /usr/local/bin/P* /usr/local/bin/*WAM* ; ps -u wam -lf ; uname -a ; date ls: No match. F S UID PID PPID C PRI NI P SZ:RSS WCHAN STIME TTY TIME CMD 5 S