similar to: speed issues / pros & cons: dataframe vs. matrix

Displaying 20 results from an estimated 11000 matches similar to: "speed issues / pros & cons: dataframe vs. matrix"

2012 Jan 13
2
question: how to select a column from a dataframe in a function
Hi, I am creating a function and ran into the problem of selecting a column from a dataset. It seems as though the $ function (as in data$columnname) does not apply in the function. In simplified version: This works: testf2<-function(data,columnnumber){print(data[,columnnumber])} But this doesn't: testf<-function(data,column){print(data$column)} Even though the first solution works,
2012 Dec 11
5
Renaming column names according to another dataframe
Hi, I've got a dataframe having a code as column name. Addtionally I have another dataframe with a two columns (and lots of rows), the first containing the code and the second some Text (real name). Now I'd like to use the information (pairs of code and name) of the second dataframe to rename all the columnnames in the first dataframe. How is it possible to achieve that? Here a small
2010 Apr 13
2
transpose but different
Hi all, I want to make extra columns in my datafile where the id of every groupmember is mentioned in separate columns. To explain it better see the example: id<-c(1,2,3,4,5,6,7,8,9,10,11,12) group<-c(1,1,1,1,2,2,3,3,3,3,3,3) a<-as.data.frame(cbind(id,group)) a id group 1 1 1 2 2 1 3 3 1 4 4 1 5 5
2008 May 23
0
Pros and Cons of R :GUI
R has very good GUI packages that I have used - R Commander RCmdr and Rattle rattle . Since I work on multiple packages with constraints of time, I almost always use the GUI rather go through the intricacies of command line . The log of these GUIs shows the relevant R command that was used, so you can actually learn the language also. I have written about the ease of learning R , if you begin
2006 Apr 14
0
SQLite: Pros, Cons and when to use it (Informative)
I wanted to share an article I recently wrote on my blog with all of you regarding using SQLite for your web-applications. The blog url is: http://rubyonrailsblog.com and the article is currently posted on the front-page. The exact url is located at: http://rubyonrailsblog.com/articles/2006/04/13/consider-sqlite-for-your-web-applications-the-pros-cons-and-when-to-use-it Your insights and feedback
2004 May 24
0
Req. For Info: External Journal Pros/Cons, advisable size
I have a basic question, being new to EXT3. What are the pros and cons of using an external journal? Also, for a Terabyte-sized system, what should I use as the external journal's size? is there a general rule-of-thumb to follow when choosing the external journal's size? I know these are very basic questions, if they have been already answered in some FAQ, please let me know. Any
2006 Apr 14
0
SQLite for your web applications! The pros, cons and when to use it!
I wanted to share an article I recently wrote on my blog with all of you regarding using SQLite for your web-applications. The blog url is: http://rubyonrailsblog.com and the article is currently posted on the front-page. Your insights and feedback are appreciated and are always welcome. Also if you have a blog, please let me know and feel free to put a link to my blog up on your site. If you do,
2006 Apr 17
0
Pros/cons of doubling up in Self-Referential has_many via :through
Relative newbie so would welcome comments re structure of a self-referential relationship I''ve got. It''s started off similar to the Person HABTM friends in the Rails recipes books (working fine), but I needed to turn the join table into a full-blown model as I wanted to add attributes to it. Few tricky bits dealing with the new :through structure and understanding how :scope
2008 May 26
1
Pros and Cons of R - Summary
Hi, First of all thanks for all the answers .... all were very informative and helped me shape a better presentation. Although i received lots of emails saying that installation under Linux / Unix is easy .... still emails asking for help in installing R itself, or external packages and such crop more often than not on the list and for this reason i pressumed it is harder to install under Linux
2013 Apr 18
1
Pros and cons of having folders under INBOX vs. not
I have some questions about whether I should set up folders under INBOX vs. having them outside the INBOX namespace. I'm setting up a new Dovecot 2.2.0 on an Ubuntu 12.04.2 server. My plan is to move my users (family members) to this new server from an old Cyrus server. Everybody is currently using (and will continue to use) IMAP, and either Thunderbird or SquirrelMail as their e-mail
2005 Aug 25
0
Irregular Time Series: zoo & its: Pros & Cons
I am the maintainer of its, but not it's original author. One of the main strengths of its is that it uses POSIXct dates. Zoo has the flexibility of using almost any date format, but I don't know if the other date formats can store hour, min, sec data. You might want to do a little exploring with each before you commit. I'll be happy to give you a hand if you decide to work with
2004 Jul 07
1
Domains: Pros and Cons?
I have Samba running without a PDC and I have some questions about the advantages for implementing one with Samba vs. the problems and disadvantages. Perhaps some kind souls can help me determine whether I should do this or not. We have three offices connected by a Checkpoint VPN, plus people "on the road" using their SecureClient tool. We want everyone to be able to get to all the
2010 Nov 11
2
Adding meta-data when creating objects. e.g: changing "<-" so to (for example) add "creation time" - how-to and pros/cons?
My objective is to start having meta-data on objects that I create. For example, consider the following function: assign2 <- function(x, ...) { assign("x", ...) attr(x, "creation time") <- Sys.time() x <<- x } assign2("x", 1:4) "assign2" assigns to x the vector 1:4, and it then also adds the creation time of the object. (Hat tip goes to
2006 Mar 25
2
Wine/Interix -- The pros and cons.
I was thinking about running Wine on Interix (the POSIX layer of Microsoft's Services for Unix). There are a few apparent unknows: Would Wine load the .dll.so's? Since Interix uses PE for it's native format (running on Windows, duh), Would Wine load the .dll.so's? Would it reject them being in PE format and having the 'POSIX Layer' attribute set, or could we hack on a
2002 Jun 07
4
Proxy ARP - Pros & Cons
In a previous thread, Tom listed advantages (reproduced below) of Proxy ARP over NAT. They are great reasons, but I have one reservation. By using private addresses with NAT for servers in my DMZ, I can granularly allow specific traffic, such as to/from the SMTP gateway/relay in the DMZ, to connect inbound from the DMZ to an internal (LOC) mail server, and know that it comes only from a
2008 Jun 14
1
Correcting the display of colnames and rownames
Dear all, I have a data frame of dimension 720 columns by 360 rows, to which I am trying to add numerical row and column labels to, using the 'sequence' command. The original data, which I read in using 'read.table', had no such labels at all. I've got as far as successfully using the sequence command and getting the labels to display. However, I'm finding that for the
2008 Jun 17
2
Reshape or Stack? (To produce output as columns)
Dear all, I have used 'read.table' to create a data frame of 720 columns and 360 rows (and assigned this to 'Jan'). The row and column names are numeric: > columnnames <- sprintf("%.2f", seq(from = -179.75, to = 179.75, length = 720)). > rnames <- sprintf("%.2f", seq(from = -89.75, to = 89.75, length = 360)) > colnames(Jan) <- columnnames
2009 Mar 01
4
Pros & Cons - Microsoft Office on Macintosh OS X
Hello Boys and Girls and Everybody. I have recently started using a Macintosh computer to replace the dinosaur of an unbelievably unreliable PC that I have been using for the last 10 years. So far I have been very pleased. I have been using OpenOffice for quite a while now as I find it is mostly superior to Microsoft Office in many ways, HOWEVER - OpenOffice lacks the Voice Recognition Software
2008 Jul 15
3
Melt (reshape) question
Dear all, I have a grid of 720 columns by 360 rows of global population density values, and hope to convert this to column format using the 'melt' command in the 'reshape' package. I'm not receiving any errors as such, but when the code has finished running, my output looks like this: > head(PopDens.long) Latitude Longitude PopDensity 1 -84.75 V1 0 2
2009 Mar 07
5
The pros and cons of a wiki AppDB
2009/3/7 Rosanne DiMesio <dimesio at earthlink.net>: > I can think of one possible benefit. There are a lot of apps without maintainers, and there might be users of those apps who would be willing take a few minutes to post bits of useful information in a wiki, but don't want the responsibility of being a maintainer. Sure, they could just post info in a comment, but user comments are