similar to: Remove records from a large dataframe

Displaying 20 results from an estimated 1000 matches similar to: "Remove records from a large dataframe"

2012 Oct 21
2
conditional value assignment
Hi, I am trying to assign values to records based conditionally on other records within a dataframe. For example, in the following dataframe the "NA" value in dat$age would be replaced if the age status for that individual and specific year can be found in another record. Ideally this would then also assign the same age status if the individual is recorded in a later year.
2012 Apr 26
2
Subsetting dataframe with missing values
Dear R-community, I am using R (V 2.14.1) on Windows 7. I have a dataset which consists of 19 variables for 91 individuals or rows. Two of my variables are Age (adult/chick, with no NA values) and Sex (0 for females/1 for females, with quite a few NA values). The sex of many adult birds is unknown (entered as NA in dataframe). At some point of my analyses, I happen to need to need to work with
2004 Jun 22
1
Grouped AND stacked bar charts possible in R?
Good day all, My statisticians want an R procedure that will produce grouped stacked barplots. Barplot will stack or group, but not both. The ftable function can produce a table of the exact form they want, but the barplot doesn't show all the divisions we want. For an example, here's the sample from the help file for "ftable:" data(Titanic) ftable(Titanic, row.vars = 1:3)
2007 Dec 03
1
AD issue....
Hi, i want to integrate AD + Samba3 via kerberos, every works great i get the users and groups with wbinfo -u and wbinfo -g so in linux i cat set the permissions to a share using the AD's users. However when i try "getent passwd" I only get the system users and not the AD's users... in my nsswitch.conf i have: passwd: files winbind group: files winbind shadow:
2017 Jun 20
3
Help
Dear expert friends, I'm pretty young of this world and my question at your eyes can be petty easy. I'll need to change the name of the levels inside a column of my data-frame levels(ind.davis$Ageclass) <- c("adult", "Juvanile", "sub-adult") names(ind.davis$Ageclass) <- c("Adult", "Juvenile", "Sub-adult") that is what I
2017 Jun 20
0
Help
Leonardo-- R-help can be a very useful resource. Some suggestions to use it well: 1. use an informative subject line, not "help" 2. include a "minimal working example:" a *little* data, the code that, with those data, reproduces your problem, and the error message that resulted. As to your particular question, at this point I can only guess, but for starters it would
2009 Jun 08
14
script help - '3rd last field'
Hi I need some logic to work out a value for me - this value is _always_ the 3rd last field in a string seperated by '.' but the string could be 5 or 6 fields long, e.g foo.bar.VALUE.baz.lala foor.bar.gigi.VALUE.baz.lala I need to find VALUE - if this were python or something i could do it but this has to be in shell - Any clues? thanks
2006 Jun 16
1
Odd behavior
I''m getting a lot of odd behavior with RedCloth. Perhaps I''ve configured something wrong. Here''s one example... h1. header line # one # two lala haha ------------ Returns the following--------------- <h1>header line <ol> <li>one</li> <li>two<br />lala haha</li> </ol></h1> Any ideas about what this might be?
2008 Aug 28
2
Tidying up code - Warning message: deparse may be incomplete
Dear R users, I am currently writing a R package and to do so I am following the guidelines in manual 'Writing R extensions'. In Section 3.1, it is suggested to tidy up the code using a file containing the following: options(keep.source = FALSE) source("myfuns..R") dump(ls(all = TRUE), file = new.myfuns.R") I have done this for my own packages and although it runs, I get
2005 Jun 03
2
Everyone-- the scoop on Bison/Flex --
Hey, everybody--- Ignorance CAN be bliss, at least for a while, but, .... Just so you know... A week or two ago, some upgrades to the expression parser (you know, the expressions you put in $[ ... ] in your extensions.conf file) that I submitted, have been merged into the CVS HEAD of the source. Hopefully, for around 99.9% of you, it won't make any difference to you. The Makefile has also
2011 Feb 09
3
Need help merging two dataframes
Hi R users, I am trying to extract some attributes (age, sex, area) from dataframe "AB" that has 101,269 observations of 28 variables to dataframe "t2" that has 47 observations of 6 variables. They share a column called "id", which is a factor with 47 levels. I want to end up with a dataframe that has 47 observations of 9 variables (the original 6 variables of t2,
2017 Jun 07
1
Domain Logout, then domain login again, profile corrupt -> replaced by TEMP profile
Hi I have had this problem for a while, but waited to post this until I upgraded to see whether the upgrade would fix it. I upgraded samba to the 4.2.X stream from 3.6.X stream, but it happens on both, 3.6.X and 4.2.10. Whenever someone logs out, then in again the profile gets corrupted and a new TEMP profile is created (the dreadful "creating new desktop"). Now I do not know where
2014 Dec 20
2
Request for wiki access
Lala, Yes, the request has to be filled from admin team, so the request here in this ML. --Humble On Sat, Dec 20, 2014 at 2:44 PM, Lalatendu Mohanty <lmohanty at redhat.com> wrote: > > On 12/20/2014 02:40 PM, Humble Devassy Chirammal wrote: > > UserName: Humble > > --Humble > > Humble, > > Looks like I dont's have admin rights on the pages and
2008 Oct 22
2
Lala music mover throws many errors
I am trying to run the Lala music mover (it works in conjuction with Lala.com, a legal music sharing service). I've managed to tweak Wine enough to work it to a certain point in the wizard (this was a few months ago) but it throws back some errors about unimplimented functions. The console trace is HUGE so I didn't want to post it to the list right off the bat for those of you who read
2018 Feb 07
2
Question about using LoopAccessLegacyAnalysis
Hi LLVM community, I am writing a custom pass for analyzing the dependence information for the memory access within a loop. I found “LoopAccessLegacyAnalysis” class useful, however I m not able to obtain information from that pass. Here is what I did to get the information: // require pass virtual void getAnalysisUsage(AnalysisUsage &AU) const {
2012 Aug 07
2
Passing arguments to a function within a function ...
Hallo Everybody How do you specify arguments for a function used within another function? Here is my problem: I am reconstructing a calculator for the burden of disease due to air pollution from publications and tools published by the WHO. The calculations make use of published dose-response relationships for particular health end-points. This is then applied to populations with known or
2011 Jun 03
2
Arules: R Crashes when running eclat with tidLists=TRUE
Hello, I'm using the eclat function of the arules package (1.0-6) for the identification of frequent itemsets. I need the tidLists, but if I set in the function tidLists=TRUE R crashes (Windows XP Professional SP3, 32 bit, R version 2.12.1 (2010-12-16), reproducible on two different computers) with two different error messages or non at all. Minimum examples are: library(arules)
2017 Jun 07
2
Domain Logout, then domain login again, profile corrupt -> replaced by TEMP profile
Hi I have had this problem for a while, but waited to post this until I upgraded to see whether the upgrade would fix it. I upgraded samba to the 4.2.X stream from 3.6.X stream, but it happens on both, 3.6.X and 4.2.10. Whenever someone logs out, then in again the profile gets corrupted and a new TEMP profile is created (the dreadful "creating new desktop"). Now I do not know where
2014 Dec 20
2
Request for wiki access
UserName: Humble --Humble On Sat, Dec 20, 2014 at 2:35 PM, Lalatendu Mohanty <lmohanty at redhat.com> wrote: > > On 12/20/2014 02:32 PM, Humble Devassy Chirammal wrote: > > Hi, > > I would like to write some articles about GlusterFS in CentOS wiki space > as part of CentOS storage SIG. > > Can you approve the wiki access for the same ? > > >
2012 May 05
3
metafor
Dear users of metafor, I am working on a meta-analysis using the metafor package. I have a excel csv database that I am working with. I am interested in pooling the effect measures for a particular subgroup (European women) in this csv database. I am conducting both sub-group and meta-regression. In subgroup-analyses, I have stratified the database to create a separate csv file just for European