search for: adult

Displaying 20 results from an estimated 213 matches for "adult".

2012 Oct 21
2
conditional value assignment
...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. id<-c(1,1,1,1,2,2,2,2,2, 3,3,3, 4,4) year<-c(1,1,1,2, 2,2,3,2,2, 2,3,4, 8,8) age<-c("Adult","NA","NA","NA", "Adult","NA","NA","NA", "Adult", "NA","Adult","NA", "NA","Adult") dat<-cbind(id,year,age) dat<-data.frame(dat) I am attempting to transf...
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 only male adults, so I tried subsetting the dataframe as follows (see...
2004 Jun 22
1
Grouped AND stacked bar charts possible in R?
...rvived") ftable(Titanic, row.vars = 2:1, col.vars = "Survived") Now take it a step further to try to add another dimension: b <- ftable(Titanic, row.vars=1:3) Survived No Yes Class Sex Age 1st Male Child 0 5 Adult 118 57 Female Child 0 1 Adult 4 140 2nd Male Child 0 11 Adult 154 14 Female Child 0 13 Adult 13 80 3rd Male Child 35 13 Adult 38...
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 tried but of course doesn't work. Thanks, have a wonderful day, Leo [[alternative HTML version deleted]]
2012 Oct 22
3
Remove records from a large dataframe
...cker way to do this? Here is an example of the code I've written. The end result of this bit of code would be a dataframe with any records relating to ID 1 or ID 4 removed: #dataframe id <- c(1,1,1,1,2,2,2,2,2, 3,3,3, 4,4) year <- c(1,1,1,2, 2,2,3,2,2, 2,3,4, 8,8) age <- c("Adult",NA,NA,NA, "Adult",NA,NA,NA, "Adult", NA,"Adult",NA, NA,"Adult") dat <- data.frame(id, year, age) dat.id<-unique(dat$id) #ID numbers for removal bad<- data.frame(c(1,4)) names(bad)<-"id" remove.value<-bad$id good.id&l...
2003 Mar 03
2
I discovered a great site for adults: http://www.HappyHug.com
Hi, I was surfing and than I discovered a great site for Adults: http://www.HappyHug.com This is a new site for adults. They are operating since 9 december 2002. I think they can use some visitors. Go and take a look! Pete _________________________________________________________________ Help STOP SPAM with the new MSN 8 and get 2 months FREE* http://...
2017 Jun 20
0
Help
...leonardomalaguti27 at gmail.com> wrote: > 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 tried but of course doesn't work. > > Thanks, > have a wonderful day, > Leo > > [[alternative...
2011 Feb 09
3
Need help merging two dataframes
...matches contribute one row each--i.e., this code gives me dataframe "t3" of 101,269 observations of 33 variables: >t3<-merge(t2,AB,by="id",all=FALSE) Dataframe AB (24 variables omitted from example dataframe): id sex age area 01 male adult LP 01 male adult LP 01 male adult LP ... 02 female subadult LP 02 female subadult LP 02 female subadult LP 02 female subadult LP ... 03 male subadult MR 03 male subadult MR...
2012 Aug 07
2
Passing arguments to a function within a function ...
...##################################### ## Example data frame with population, concentration and cases ## x = data.frame(Name = LETTERS[1:10], pop=sample(x=1000:10000,size=10), Xbabies = 0.106, Xkids = 0.232, Xteens = 0.375, Xadults = 0.235, Xaged = 0.52, cases = sample(x=100:500,size=10), conc = sample(x=20:125,size=10) ) ## Two of the published dose-response relationships adult.CP.mortality = list(end.point = "Cardiopulmanory mortality in adults over 30&quot...
2000 May 17
1
crosstabs
Hi all! What is the equivalent R function of SPLUS crosstabs? Thank you. Danar. Stat. Inst. Umea Univ. Umea, Sweden -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To:
2012 May 05
3
metafor
...=Pearson,ni=N,data=women_west,append=TRUE) res<-rma(yi,vi,data=dat) is.factor(dat$year) forest(res,transf=transf.ztor) In meta-regression, I used the original database, but used categorical moderators for sex (=women), and ethnicity (=european) to find the effect specifically in European women. adult<-read.csv("adult.csv") print(adult) dat<-escalc(measure="ZCOR",ri=Pearson,ni=N,data=adult,append=TRUE) res<-rma(yi,vi,data=dat) res<-rma(yi,vi,mods=cbind(sex,race),data=dat) predict(res,transf=transf.ztor,newmods=cbind(seq(from=0,to=1,by=1),1),addx=TRUE) I am gettin...
2011 Jun 03
2
Arules: R Crashes when running eclat with tidLists=TRUE
...uent 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) data("Adult") eclat(Adult, parameter=list(support=0.05, tidLists=FALSE)) # OK eclat(Adult, parameter=list(support=0.50, tidLists=TRUE)) # OK eclat(Adult, parameter=list(support=0.05, tidLists=TRUE)) # crashes I started to search the cause of the problem and figured out that the problem must be loc...
2003 Mar 02
0
I discovered a great site for adults: http://www.HappyHug.com
Hi, I was surfing and than I discovered a great site for Aduts: http://www.HappyHug.com This is a new site for adults. They are operating since 9 december 2002. I think they can use some visitors. Go and take a look! John _________________________________________________________________ Tired of spam? Get advanced junk mail protection with MSN 8. http://join.msn.com/?page=features/junkmail
2013 Jul 09
1
[off topic] [research] Interviews for contributors over 50 for Oregon State University research
Hello, Researchers at Oregon State University are striving to conduct research to learn more about the free/open source software community landscape as it relates to older adults. We have identified you as a leader for a free/open source software community. If you?re interested, we will either do an in-person interview (if you are local to the Corvallis or Portland area), or an interview over the phone (if you are not local). The interview is expected to last no longer tha...
2011 Oct 10
1
pmml for random forest & rules
...ndomForest(Species ~ ., data=iris)) pmml(iris.rf) I get this error: Error in UseMethod("pmml") : no applicable method for 'pmml' applied to an object of class "c('randomForest.formula', 'randomForest')" Also, if I run these lines of code data("Adult") ## Mine association rules. rules <- apriori(Adult, parameter = list(supp = 0.5, conf = 0.9, target = "rules")) pmml(rules) I get this error: > pmml(rules) Error in function (classes, fdef, mtable) : unable to find an in...
2009 Oct 23
1
making a plot in xyplot
Hello, I am a newbie to the lattice package in R, and I'm trying to make a plot using the xyplot function. I have repeated measures data (2 conditions) for two different groups of subjects (teens and adults). So far, I've made a basic graph using xyplot(y ~x, group=subnum, data=mydata, type="b"). Now I would like to make all the teens' lines one color and the adults' another. Additionally, I'd like to reformat the dots so that the points referencing condition 1 and condit...
2007 Jul 24
0
New Pinoy Adult site-- FREE Download
visit http://pinoyscandalblog.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to
2008 Feb 14
0
Pay porn - deathbed! Web 2.0 - free adult clips!
Two shy and sexy coeds cry while getting their very tight pussies banged by studs http://www11.kinghost.com/amateur/ladiesfuckgents/free-porn.htm --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to
2006 Jul 23
3
ANN: scoped_proxy plugin
ScopedProxy uses with_scope and proxy objects to make it easy to find and count different types of records. Example: class Person < ActiveRecord::Base scoped_proxy :minor, :conditions => ''age <= 17'' scoped_proxy :adult, :conditions => ''age >= 18'' scoped_proxy :old, :conditions => ''age >= 70'' scoped_proxy :male, :conditions => ''gender = "male"'' scoped_proxy :female, :conditions => ''gender = "female"'...
2003 Aug 13
1
means comparison with seasonal time series?
Dear R list, I have a sequence of weekly observations of number of adults and larvae in various size classes from a butterfly population living in a subtropical area with pronounced wet and dry seasons. Wet and dry seasons are each defined 26 weeks long with fixed start and end dates. The data span 103 weeks (two seasons each of wet and dry) with some missing weeks. W...