similar to: row, col function but for a list (probably very easy question, cannot seem to find it though)

Displaying 20 results from an estimated 3000 matches similar to: "row, col function but for a list (probably very easy question, cannot seem to find it though)"

2010 Jul 17
1
Xen on mac mini?
Hello, I am new to Xen. Yesterday I have read about it in a Linux magazine and got enthousiastic J I am/was wondering whether I could use this software on my Intel Mac Mini to run a couple of Ubuntu servers. Does anyone has tried this yet? Regards, Ralph Netherlands _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com
2006 Apr 17
2
probably easy q: flash before redirect
I''m a little perplexed why this isn''t working: private def check_authorization user = User.find(session[:user]) if user.level == 100 flash[:notice] = "welcome, admin" else flash[:notice] = "ha ha" redirect_to :controller
2006 Mar 09
0
Re: Displaying related tables in forms.. probably an easy qu
Steve - That was the issue.. It seems obvious now, but I needed to reference Property.PropertType.name instead of property.propertytype.name Thanks!! Brian -----Original Message----- From: rails-bounces@lists.rubyonrails.org [mailto:rails-bounces@lists.rubyonrails.org] On Behalf Of Steve Koppelman Sent: Wednesday, March 08, 2006 5:00 PM To: rails@lists.rubyonrails.org Subject: [Rails] Re:
2008 Sep 09
1
probably easy methods question
Dear R Gurus: I want to look at the code for the t.test function. I did the following: > t.test function (x, ...) UseMethod("t.test") <environment: namespace:stats> > getAnywhere("t.test") A single object matching 't.test' was found It was found in the following places package:stats registered S3 method for t from namespace stats namespace:stats with
2006 Mar 08
2
Displaying related tables in forms.. probably an easy question!
Hey All, I have two tables.. One belongs to another. Why can''t I reference table1.table2.attribute? Specifically, using scaffolding: property.rb - has_one :PropertyType property_type.rb - has_many :Properties property_controller - def list @property_pages, @properties = paginate :properties, :per_page => 10 end list.html: 1. <% for property in @properties %> 2.
2006 Sep 08
1
(Probably Easy) ActiveRecord help needed!
[Using XP, MySQL 5.0, Ruby 1.8.4] Hello, this is my first post. I am new to Ruby, coming from about 6 years of ''import java.util.*''s. I am using ActiveRecord, both on Rails and outside Rails. On Rails I have no trouble. Outside is where it gets confusing. I have created three tables (so far) and their three corresponding classes. Since I''m having the same
2007 Apr 30
3
disk image creation, step by step
Hi, I am aware that it is impossible to netboot ISO files through pxelinux/memdisk and that there are multiple reasons for not even attempting it (like the operating system which will try to access a physical optical drive through its own drivers anyway, BIOS issues etc.). When people ask questions regarding ISO support in pxelinux/memdisk, they're mostly told to convert the ISO into a
1998 Nov 12
0
[COL/ROW]NAMES -> [col/row]names with new arg..
R-devel subscribers: this came from R-core, but may interest you.... >>>>> "MM" == Martin Maechler <maechler@stat.math.ethz.ch> writes: >>>>> "Ross" == Ross Ihaka <ihaka@stat.auckland.ac.nz> writes: Ross> Martin Maechler writes: >>> Actually, I've been thinking (and asking Kurt) if we shouldn't use
2009 May 08
1
if ((x >.2 || x<(-.2)) && (col(x)!=row(x))) {x=x[,-col(x)]}
Hi. I have a correlation matrix 'x' which is of size 923x923 I need to remove variables that are highly correlated. I don't have a sophisticated way of selecting which of the two in a highly correlated pair to remove. I thought I would just go through each entry of the correlation matrix and if it is greater than 0.6 (or less than -0.6) I will remove that column and then redo the
2005 Dec 06
2
how to extract row& col names from a matrix
Dear all, I like to extract row names & column names from the named matrix...... like...... a<-matrix(1:6,2) ro<-c("aa","bb") co<-c("dd","ee","ff") dimnames(a)<-list(ro,co) a > dd ee ff aa 1 3 5 bb 2 4 6 from the above matrix "a" I like to extract rownames separately like
2007 Feb 11
2
deleting row when any col is.na
Um texto embutido e sem conjunto de caracteres especificado associado... Nome: n?o dispon?vel Url: https://stat.ethz.ch/pipermail/r-help/attachments/20070211/e93b6988/attachment.pl
2010 Nov 16
1
odfWeave - "Format error discovered in the file in sub-document content.xml at 2, 4047 (row, col)"
When using odfWeave on an OpenOffice input document, I can not open the output document. I get the message "Format error discovered in the file in sub-document content.xml at 2,4047 (row,col)" Can anyone help me on this? (Apologies if this has been discussed before; I have not been able to find any info...) Info: I am using R.2.12.0 on Windows 7 (64 bit). I have downloaded the XML
2013 Apr 02
3
Array analogue of row and col
? stato filtrato un testo allegato il cui set di caratteri non era indicato... Nome: non disponibile URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20130402/fd10647d/attachment.pl>
2003 Dec 17
1
Accessing row and col names of SEXP objects
Can someone lend me a hand with extracting the dimnames from a SEXP? I've looked through R-exts, but I couldn't find an example. Here is the code I'm using to grab the jth column name and print it, but the colnames I'm getting are garbage. None of the following are working. void printInfo(SEXP ts) { int j; for (j=0; j<col; j++) {
2006 Sep 07
0
plot image matrix with row/col labels
I'm working with an historical image that may be (one of?) the first uses of gray-scale shading to show the pattern of values in a matrix/table, later used by Bertin in his 'reorderable matrix' and sometimes called a scalogram. The image is at http://euclid.psych.yorku.ca/SCS/Gallery/images/Private/scalogram.jpg The rows refer to the arrondisements of Paris, the cols to various
2011 Jan 31
1
arranging pie charts in a matrix layout with row/col labels
Hi, I have a vector of data, that I group based on two factors via tapply. For each such grouping I would like to plot a pie chart. I can layout these pie charts in a matrix layout, correpsonding to the levels of the two factors. But I am getting stuck on how to label the rows and colums. My current approach looks like this: x <- data.frame(obs=sample(c('low', 'high'),100,
2012 Jan 13
3
access/row access/col access
Hello, I have a data.frame and I want to transfor it in a list of rows or columns. I can do apply(myDataFrame,MARGIN=1,FUN=???) I remember that there is a function which mean return or access column ... something like "::" or "]," or "[," I can't remember can somebody refresh my memory? -- View this message in context:
2000 Dec 11
2
row.names, rownames; colnames, no col.names?
There's a bit of a symmetry issue, which may or may not be important (led to 15 seconds of confusion until I got my bearings straight): row.names, rownames; colnames, no col.names? I _NOW_ realize the difference between row.names and rownames, but is there any reason not to have col.names for re-naming columns in a data.frame? (if there is, I don't particular need to know it, but it
2008 Dec 09
1
repeat bug report: as.factor argument to row / col fails if NULL dimnames
This bug was reported to r-devel by Martin Morgan on 13th May 2008 (original email pasted below). However I couldn't locate it in the bug tracker (with searches for row, col, as\.factor) It is still present in today's svn version (rev 47115). I hope I'm doing something useful by bringing it up again. I have not sent this to r-bugs, as I'm concerned that not locating it in the bug
2007 Nov 06
5
OGG decoding/multi-channel mixing
Hi All, Currently I am investigating how interesting OGG is for me. The most important requirements are: - Decoding on embedded hardware, ARM7 or ARM9. - Mixing multiple audio streams/files on embedded hardware First of all how difficult is it to decode OGG on an ARM7/9 processor? I read that OGG decoding needs floating point support? Secondly I would like to know how many MIPS are needed to