similar to: indexing a subset dataframe

Displaying 20 results from an estimated 3000 matches similar to: "indexing a subset dataframe"

2017 Aug 09
2
Fill in empty spaces modified
Hi All? I was looking at a posting from June-17. I managed to solve it. However, when I changed the example in the posting, my solution will work only once at a time which was mentioned by Jim Lemon on his response to the original posting. This means that my solution will have to be repeated as many times as the maximum number of spaces on each gap; something that may not work well for large
2017 Jun 24
6
Fill in empty cell in data.frame from previous value
Hello Total newbie here... I hope I read the guide properly I have the following data.frame (I read it from a CSV file I cannot change) names val 1 Mandy 1 2 2 3 John 2 4 2 I want to read the row number 2, but I want the first column to be ?Mandy? and not null print (frame[2,]) 2 Mandy 2 I can manipulate the data.frame once loaded How can I fill all cell in column
2010 Sep 30
1
AIC for tweedie glm
Dear R-users, I'm trying to model some data using a tweedie GLM approach. My response variable is the number of pupae that are the offspring of a subordinate wasp on a wasp's nest. However, they're not count data- for each nest, I only know the mean number of pupae per subordinate, which is continous. The data also contain a high proportion of zeros. I'm not very experienced at
2006 May 22
13
Canceling a specific effect
Is there a way to cancel a specific effect? For instance; Effects are added to the queue. Before actually processing the effect, I''d like to check a condition & cancel the effect if necessary. Here''s the code excerpt: var menu = { toggleText: function(element,toggle) { var vis = $(element+''Text'').visible(); if (toggle && !vis)
2006 Jan 14
3
In place editing and external control
Dear all, First I''d like to thank authors for so nice Scriptaculous and Prototype libraries, which helped me already a lot! I have question regarding externalControl parameter in InPlaceEditor. If I understand correctly, I can use that to have one image as a trigger to enter edit mode? I tried with below code but without success: <span id="id1">My text</span>
2002 Nov 28
3
Samba3.0Alpha21- error on logging in to KDC
Hi all, I have just downloaded and tested with the Samba3.0 Alpha21 Release. I want to try to create the server account in the active directory, however, when I logged in to the KDC by "/usr/kerberos/bin/kinit administrator@xxx.com", but error returned as "KDC has no support for encryptions type while getting the initial credentials" , then I can't go on for creating the
2006 Jan 09
6
inPlace Editor
HI, I am a new to the group. I have run into the following issue. The following works fine <h1 id="tobeedited">To be edited</h1> <script> new Ajax.InPlaceEditor($(''tobeedited''), ''_ajax_inplaceeditor_result.html'', { ajaxOptions: {method: ''get''} }); </script> But I want to pass some more
2008 Dec 09
1
errors with compilation
Hi, i'm trying to compile R on a Cray XT3 using pgi/7.2.1 - CNL (compute node linux) The R version is 2.8.0 this is the option -enable-R-static-lib=yes --disable-R-shlib CPICFLAGS=fpic FPICFLAGS=fpic CXXPICFLAGS=fpic SHLIB_LDFLAGS=shared --with-x=no SHLIB_CXXLDFLAGS=shared --disable-BLAS-shlib CFLAGS="-g -O2 -Kieee" FFLAGS="-g -O2 -Kieee" CXXFLAGS="-g -O2
2017 Jun 25
0
Fill in empty cell in data.frame from previous value
Hi Chris, You may know about the *apply family of functions. These slice various data structures and "apply" a specified function to each slice, usually returning a list of return values. As far as I am aware, you can't access adjacent rows unless you reformat the data structure. There is a way to do this particular job. It requires the sequence operator (:), the ifelse function and
2006 Feb 17
7
Released: window dialog script
Hello, First, please let me thank you to Ryan Gahl and Jerod Venema for their patient help - really appreciated their input - I couldn''t have done this script without their support. Today I released a dialog script based on scriptaculous and prototype. A demo can be seen here: http://net4visions.com/dev/dialog/dialog.htm . Please see the readme and changelog file for details. Your
2006 Jan 11
9
Prototype & Cookies
Has anyone written any "cookie" class using prototype? Basically, what I am looking for is if there is an easy way to store mutiple cookies in a single cookie using hash or something - easy writing and retrieval (updating the cookie value). For eg - If I had 25 cookies for my domain 5 of the cookies would either get dropped or not be set (as there is a limit of 20 cookies per domain).
2005 Dec 04
5
Javascript Logging
Hello Everyone, Just wanted to find out if scriptaculous has a patch for a error logging class? Currently, I have found 2 javascript logging scripts (outside of scriptaculous). Lumberjack: http://gleepglop.com/javascripts/logger/ log4js: http://jroller.com/page/stritti?entry=logging_in_javascript_log4js Could you guys shed some light on what would be a good logger class to use with our
2017 Jun 25
0
Fill in empty cell in data.frame from previous value
Run it through a loop. I assume the cell contents is NA (Not Available). Test for it with is.na(). Whenever that returns TRUE, replace the NA value with the value from the previous row. Cheers, B. > On Jun 24, 2017, at 1:49 PM, Christophe Elek <christophe.elek at gmail.com> wrote: > > Hello Total newbie here... I hope I read the guide properly > > I have the following
2006 Apr 05
1
Firefox - Form within a table issue
Hi, Has anyone seen this issue before? Oversimplified Problem: I have a table within which I have a form - <body> <table> <tbody id=''table_body''> <form id=''table_form''> <tr> <td><input type=text name=name value=mandy> <br /> <input type=text name=age value=26> <br
2005 Oct 25
2
Content-Type: application/rdf+xml
Hi, I am trying to parse the response received from a rdf file using DOM. However, I am not able to get anything in the responseXML. It always returns null. Following is the content type I receive from the server. Content-Type: application/rdf+xml Can someone let me know how I can receive this as an xmlObj? Thanks in advance, Mandy. _______________________________________________
2006 Apr 07
6
ajax loading message
Hello, I''m looking for some help - I''m having problems in getting the loading message to disappear - sometimes it disappears, sometimes it doesn''t. This is the javascript I have: ajaxContent: function(iTabPos) { if (isNaN(iTabPos)) return false; var iTabIndex = this._posToIndex(iTabPos);
2009 Jan 19
3
"gdi32.dll" failed to initialize, aborting
I have a really weird issue which started when I installed some truetype fonts on my system. So far I've been able to verify this with Wine 1.1.3 and am about to test with Wine 1.1.13. doneill at mandy /World of Warcraft $ winecfg doneill at mandy /World of Warcraft $ winecfg err:module:attach_process_dlls "gdi32.dll" failed to initialize, aborting err:module:LdrInitializeThunk
2006 Mar 04
4
Tree
I''m not sure if this has been discussed, but is there a public tree control based on prototype/script.aculo.us? Thanks Jim _______________________________________________ Rails-spinoffs mailing list Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
2008 Jun 29
2
Survival Analysis with two different events
Hello all, I am hoping to use survival analysis to examine whether parasite attack increases nest death in a species of social wasp. I therefore have data for 1. Whether the nest "died" in the 6 week census period ("Status", where 1=died, 0=survived) 2. The day number of death/last recorded day it was observed alive. 3. Whether the nest was attacked by the parasite (0/1 as
2006 Mar 03
3
xml handling
Hello there, im having a problem with the xml handling, i want to get and xml node and put things in an input text but im a little lost, im using this code, but isn''t work, what am i doing wrong? --------------------- <a href="#" onclick="getXML()">Get XML</a> <input type="text" value="nothing here" id="respuesta" />