<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>2657 Productions News - Latest Comments</title><link xmlns="http://www.w3.org/2005/Atom" rel="http://api.friendfeed.com/2008/03#sup" href="http://disqus.com/sup/all.sup#forumcomments-1532b681" type="application/json" /><link>http://2657productionsnews.disqus.com/</link><description /><language>en</language><lastBuildDate>Thu, 19 Jan 2012 12:26:05 -0000</lastBuildDate><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/2657-comments" /><feedburner:info xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" uri="2657-comments" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item><title>Re: Stratified random sampling in R from a data frame</title><link>http://m.news.mrdwab.com/2011/05/20/stratified-random-sampling-in-r-from-a-data-frame/#comment-415454694</link><description>Hi. I hope you have found the function useful.&lt;br&gt;&lt;br&gt;It sounds like you've solved the problem you were having, but I'm not sure I understand your follow up response here. Do you have an example you can share?</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">mrdwab</dc:creator><pubDate>Thu, 19 Jan 2012 12:26:05 -0000</pubDate></item><item><title>Re: Stratified random sampling in R from a data frame</title><link>http://m.news.mrdwab.com/2011/05/20/stratified-random-sampling-in-r-from-a-data-frame/#comment-415400541</link><description>I think I've found the reason for that problem. The key thing is the sample() function used in this stratified() function.  When there is only one numeric value (say, 10) to be sampled from, the sample() function samples by default from 1 to 10.&lt;br&gt;Sorry for the misleading message I posted earlier.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">B Li</dc:creator><pubDate>Thu, 19 Jan 2012 11:12:32 -0000</pubDate></item><item><title>Re: Stratified random sampling in R from a data frame</title><link>http://m.news.mrdwab.com/2011/05/20/stratified-random-sampling-in-r-from-a-data-frame/#comment-415301822</link><description>There seems to be a bug for large data set with lots of groups. In my case, there are 24000 observations and 2089 groups. I used this function to sample one observation from each group. No errors and the total sample size is alway 2089, but there are always some groups that are sampled with 2 observations and some are sampled with 0 observation. &lt;br&gt;The sample size is very different from group to group in my case. Maybe that's what you mean in the NOTE of the function "NOTE: Not tested on datasets with LOTS of groups or with HUGE differences in group sizes. Probably INCREDIBLY inefficient." ?</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">B Li</dc:creator><pubDate>Thu, 19 Jan 2012 08:33:21 -0000</pubDate></item><item><title>Re: An interview with Ananda Mahto</title><link>http://news.mrdwab.com/2009/02/06/an-interview-with-ananda-mahto/#comment-402436592</link><description>Very informative interview Ananda!</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Rinki gupta</dc:creator><pubDate>Fri, 06 Jan 2012 11:24:14 -0000</pubDate></item><item><title>Re: Am I inconsistent?</title><link>http://news.mrdwab.com/2009/11/15/am-i-inconsistent/#comment-323673016</link><description>Hi Ananda,&lt;br&gt;&lt;br&gt;Greetings2You&lt;br&gt;&lt;br&gt;Being a Academy student it is really difficult to understand your motive behind being sarcastic on students when they ask for some software (I can understand this after I came out of academy). I didn't had chance to went through your post earlier but as I went through, I couldn't stop me writing this reply. I (I believe all PDM 10) always had a special respect for you as a teacher and probably the reason for this was you values and energy for teaching student. I can bet that you are the only one in academy who never hesitated to teach (when you are approached by us) us. &lt;br&gt;&lt;br&gt;There is nothing specific in this reply about the post. It is the memories of past which over shrouded me and led to memorize you through this reply. I would request you to forgive me (my friends) for all know, unknown mistakes I (we) might have done during the "TWO YEARS" period of time.&lt;br&gt;&lt;br&gt;Yours Sincerely&lt;br&gt;Akhilesh</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Akhileshwar Singh</dc:creator><pubDate>Fri, 30 Sep 2011 07:04:44 -0000</pubDate></item><item><title>Re: Suckerpunch (10&amp;#8243; and split flexi with Born Against)</title><link>http://m.news.mrdwab.com/2008/07/08/suckerpunch/#comment-316243877</link><description>i don't think they ever made a east coast tour, and i too didn't have friends with cars.  song for karl is one of favorites.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">patrick</dc:creator><pubDate>Tue, 20 Sep 2011 19:20:53 -0000</pubDate></item><item><title>Re: Sometimes, I wish I could turn my editing eyes off</title><link>http://news.mrdwab.com/2010/08/01/editors-eyes/#comment-314868490</link><description>Interesting!  I must mention that when I went to Nagapattinam, I saw exactly the same scene.  For a moment, I wondered if I took this picture?  If pictures usually depict a 'point of time' then Nagapattinam beach scene would be an exception.  I guess, coming across such pictures may not have taken much time for you, or tell me if it is otherwise.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Kunj Mann</dc:creator><pubDate>Mon, 19 Sep 2011 08:19:07 -0000</pubDate></item><item><title>Re: Quickly reshaping data from &amp;#8220;wide&amp;#8221; to &amp;#8220;long&amp;#8221; formats in R</title><link>http://m.news.mrdwab.com/2010/04/18/reshaping-wide-to-long-in-r/#comment-257308692</link><description>Hey guys,&lt;br&gt;I was looking for months someone to explain for me this topic, because I was trying to calculate the age range of household characteristic from one single variable. &lt;br&gt;It is VERY USEFUL topic and no body can know it unless s/he worked on it.&lt;br&gt;&lt;br&gt;Many thanks for your effort.&lt;br&gt;&lt;br&gt;Regards&lt;br&gt;Omar</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Omaransi</dc:creator><pubDate>Tue, 19 Jul 2011 11:30:05 -0000</pubDate></item><item><title>Re: Using the reshape package in R for pivot-table-like functionality</title><link>http://news.mrdwab.com/2010/08/08/using-the-reshape-packagein-r/#comment-240176325</link><description>I still need to get to grips with &lt;code&gt;plyr&lt;/code&gt; (pun intended?), but it appears it could also help with the wide-to-long reshape example. That example isn't a simple transpose example though--if it were, the dimensions of the output would be the same as the input, but with the lengths of the rows and columns switched.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">mrdwab</dc:creator><pubDate>Fri, 01 Jul 2011 14:35:32 -0000</pubDate></item><item><title>Re: Quickly reshaping data from &amp;#8220;wide&amp;#8221; to &amp;#8220;long&amp;#8221; formats in R</title><link>http://m.news.mrdwab.com/2010/04/18/reshaping-wide-to-long-in-r/#comment-240168020</link><description>Thanks!&lt;br&gt;&lt;br&gt;I know it's not exactly useless knowledge, but honestly speaking, I don't need R or much data organizing/manipulating/analyzing skills in my work... hence the "useless knowledge" part. This is more something I do out of a personal interest to learn and explore things that I find interesting, and hopefully share what I've found in a way that &lt;em&gt;others&lt;/em&gt; might find useful.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">mrdwab</dc:creator><pubDate>Fri, 01 Jul 2011 14:27:08 -0000</pubDate></item><item><title>Re: Using the reshape package in R for pivot-table-like functionality</title><link>http://news.mrdwab.com/2010/08/08/using-the-reshape-packagein-r/#comment-239322500</link><description>I agree, &lt;code&gt;melt&lt;/code&gt;/&lt;code&gt;recast&lt;/code&gt;/&lt;code&gt;reshape&lt;/code&gt; is essentially a better (harder to use but better) version of Pivot tables / OLAP cubes. I wouldn't say your other post was &lt;i&gt;wrong&lt;/i&gt; exactly, just not using the full power of &lt;code&gt;plyr&lt;/code&gt;.&lt;br&gt;I think in the other one you could have just transposed the data, no?</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">isomorphisms</dc:creator><pubDate>Fri, 01 Jul 2011 01:21:34 -0000</pubDate></item><item><title>Re: Quickly reshaping data from &amp;#8220;wide&amp;#8221; to &amp;#8220;long&amp;#8221; formats in R</title><link>http://m.news.mrdwab.com/2010/04/18/reshaping-wide-to-long-in-r/#comment-239321282</link><description>I don't think this belongs under "useless knowledge" — it's very useful!</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">isomorphisms</dc:creator><pubDate>Fri, 01 Jul 2011 01:18:02 -0000</pubDate></item><item><title>Re: We 2 Ours 1-1</title><link>http://m.news.mrdwab.com/2011/06/15/on-the-trucks-around-town/we-2-ours-1-1/#comment-232011186</link><description>Glad you enjoyed it. I enjoyed making it!</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">mrdwab</dc:creator><pubDate>Wed, 22 Jun 2011 12:58:08 -0000</pubDate></item><item><title>Re: The new sample size calculator for R (already)</title><link>http://news.mrdwab.com/2010/09/10/sample-size-calculator-for-r/#comment-232002631</link><description>You're welcome. &lt;br&gt;&lt;br&gt;Just out of curiosity, do you use R at your work? I'm curious about R's uptake in India's professional sector.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">mrdwab</dc:creator><pubDate>Wed, 22 Jun 2011 12:47:16 -0000</pubDate></item><item><title>Re: We 2 Ours 1-1</title><link>http://m.news.mrdwab.com/2011/06/15/on-the-trucks-around-town/we-2-ours-1-1/#comment-231771185</link><description>It is great Ananda. Nice painting with present message.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Shantigupta211087</dc:creator><pubDate>Wed, 22 Jun 2011 06:06:40 -0000</pubDate></item><item><title>Re: The new sample size calculator for R (already)</title><link>http://news.mrdwab.com/2010/09/10/sample-size-calculator-for-r/#comment-231696209</link><description>Thanks! Very useful.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Prashanth NS</dc:creator><pubDate>Wed, 22 Jun 2011 02:15:48 -0000</pubDate></item><item><title>Re: Stratified random sampling in R from a data frame</title><link>http://m.news.mrdwab.com/2011/05/20/stratified-random-sampling-in-r-from-a-data-frame/#comment-208053755</link><description>Of course, standard tricks can also be used. For instance, if you wanted to take a sample of only groups "CA" and "NY" and drop "TX", you can use the following:&lt;br&gt;&lt;br&gt;&lt;pre&gt;&lt;br&gt;&amp;gt; stratified(dat[dat$E!="TX",], 1, 5, .1, 1)&lt;br&gt;   A  B           C   D  E&lt;br&gt;2 36 DD  0.33295037 0.2 CA&lt;br&gt;4 44 CC  0.70021365 0.8 CA&lt;br&gt;1 23 DD  0.61072635 0.5 NY&lt;br&gt;3 37 DD  1.06309984 1.5 NY&lt;br&gt;5 52 EE  0.04211587 1.7 NY&lt;br&gt;6 91 BB -1.91435943 0.7 NY&lt;br&gt;&lt;/pre&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">mrdwab</dc:creator><pubDate>Fri, 20 May 2011 14:56:46 -0000</pubDate></item><item><title>Re: New (old) Pictures</title><link>http://news.mrdwab.com/2006/10/25/new-old-pictures/#comment-204007500</link><description>Links have been updated to redirect to the &lt;em&gt;newest&lt;/em&gt; photo site on &lt;a href="http://mrdwab.com" rel="nofollow"&gt;mrdwab.com&lt;/a&gt;.... Self-hosting photos has been a &lt;strong&gt;pain&lt;/strong&gt;.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">mrdwab</dc:creator><pubDate>Sun, 15 May 2011 09:44:11 -0000</pubDate></item><item><title>Re: Exciting day!</title><link>http://news.mrdwab.com/2006/10/14/exciting-day/#comment-204005123</link><description>Well, the site is gone, but she Amy has moved on to much bigger things at &lt;a href="http://tnsms.org" rel="nofollow"&gt;http://tnsms.org&lt;/a&gt;. Be sure to check it out!</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">mrdwab</dc:creator><pubDate>Sun, 15 May 2011 09:34:09 -0000</pubDate></item><item><title>Re: Using the reshape package in R for pivot-table-like functionality</title><link>http://news.mrdwab.com/2010/08/08/using-the-reshape-packagein-r/#comment-194795393</link><description>Mauricio, &lt;br&gt;&lt;br&gt;I'm not sure I understand entirely what you're looking for. Can you provide an example of the raw data and describe what you want to end up with?</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">mrdwab</dc:creator><pubDate>Sat, 30 Apr 2011 12:08:11 -0000</pubDate></item><item><title>Re: Using the reshape package in R for pivot-table-like functionality</title><link>http://news.mrdwab.com/2010/08/08/using-the-reshape-packagein-r/#comment-194163180</link><description>Would be great if you could comment on whether or not 'reshape' can be used to create output similar to that of ftable ... that is, how to create something that looks like a pivot table with categorical variables on both the rows and columns ... but with values based on functions (i.e. sum)</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Mauricio</dc:creator><pubDate>Fri, 29 Apr 2011 11:07:41 -0000</pubDate></item><item><title>Re: Making an A6 booklet in OpenOffice.org the easy way</title><link>http://m.news.mrdwab.com/2009/11/19/making-an-a6-booklet-in-openoffice-org-the-easy-way/#comment-191743234</link><description>Wow, this one is hugely informative post about making booklet. And the whole post really shares the importance regarding information. I am really totally crazy about this post.&lt;br&gt;&lt;br&gt;&lt;a href="http://www.printinghq.com/booklet-printing" rel="nofollow"&gt;booklet printing&lt;/a&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">brookmounts</dc:creator><pubDate>Mon, 25 Apr 2011 18:53:30 -0000</pubDate></item><item><title>Re: Using the reshape package in R for pivot-table-like functionality</title><link>http://news.mrdwab.com/2010/08/08/using-the-reshape-packagein-r/#comment-174686879</link><description>You're welcome. I think solving problems in R helps generate new ideas anyway...</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">mrdwab</dc:creator><pubDate>Wed, 30 Mar 2011 03:00:28 -0000</pubDate></item><item><title>Re: Using the reshape package in R for pivot-table-like functionality</title><link>http://news.mrdwab.com/2010/08/08/using-the-reshape-packagein-r/#comment-173937493</link><description>Thanks for your sharing! It at least gives me some ideas when difficulties keep coming to me~~</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Edmundchen</dc:creator><pubDate>Tue, 29 Mar 2011 04:57:29 -0000</pubDate></item><item><title>Re: The new sample size calculator for R (already)</title><link>http://news.mrdwab.com/2010/09/10/sample-size-calculator-for-r/#comment-173867200</link><description>Shanti, &lt;br&gt;&lt;br&gt;The calculation part is useful, but what I like most is being able to see multiple scenarios in a single place. For instance, what would our samples be at different confidence levels? What about different margins of error? Using this function--or slightly modified versions of this function, it is easy to see how changing these values would affect your sample size.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">mrdwab</dc:creator><pubDate>Tue, 29 Mar 2011 02:57:38 -0000</pubDate></item></channel></rss>

