search for: baki

Displaying 4 results from an estimated 4 matches for "baki".

Did you mean: aki
2010 May 02
3
adding year information to a scatter plot
Hi R users, I would like to add year information to each point in a scatter plot. The following example shows what i mean: df=data.frame(year=c(2001,2002,2003),a=c(8,9,7),b=c(100,90,95)) df plot(b~a,data=df) Now, I would like to see which point belongs to 2001, 2002 and 2003 in the above graphic. Thank you very much, ozan [[alternative HTML version deleted]]
2009 Jan 19
1
conditional weighted quintiles
...weight"=c(3,2,3,1,1)) x library(Hmisc) wtd.quantile(x$income,weights=x$weight) wtd.quantile(x$education,weights=x$weight) I would like to see the expenditure of each quintile conditional on income, i.e. the education expenditures of the 5th quintile equal to zero. Thanks in advance, -- ozan bakis --__--__--
2009 Apr 23
2
conditional grouping of variables: ave or tapply or by or???
Dear R Users, I have the following data frame: v1 <- c(rep(10,3),rep(11,2)) v2 <- sample(5:10, 5, replace = T) v3 <- c(0,1,2,0,2) df <- data.frame(v1,v2,v3) > df v1 v2 v3 1 10 9 0 2 10 5 1 3 10 6 2 4 11 7 0 5 11 5 2 I want to add a new column v4 such that its values are equal to the value of v2 conditional on v3=0 for each subgroup of v1. In the above example, the
2010 Nov 12
0
Installing R+Emacs+MikTeX editor on a USB drive
Hi R-users, Since it has been already asked for several times, I would like to share my solution that I have gathered from several sources on internet for portable R+Emacs+MikTeX. This may also help some future R-users. My best, Ozan Installing R, MikTeX, Emacs (+auctex+aspell) on USB Useful information from: - http://at-aka.blogspot.com/2006/06/portable-emacs-22050-on-usb.html -