search for: chainsawtiney

Displaying 20 results from an estimated 20 matches for "chainsawtiney".

2011 Mar 08
3
A plot similar to violin plot
Dear R Users, I would like to know is there any package to create a plot like this? http://dl.dropbox.com/u/5409929/cs1160521f01.gif X axis is categorical. And the positions of the points are corresponding to the frequency. (similar to violinplot) Thank you. Regards, CH -- CH Chan
2010 Feb 25
3
R and Wordpress
Dear R helpers, I have a question regarding wordpress and R. I have asked this question in Wordpress support ( http://wordpress.org/support/topic/368312 ) but there is no answer so far, maybe the R community can have a better answer. I followed the excellent tutorial on r-statistics-blog ( http://www.r-statistics.com/2010/02/r-syntax-highlight-on-your-blog-a-wordpress-plugin/ ) to enable syntax
2007 Nov 02
2
Shading area under PDF of t -distribution
Dear R experts, I have plot the PDF of t distribution with df = 74. curve(dt(x,df=74),from=-4, to=4) how can I shade the area under curve (for example, col="red") from t=+- 1.996? Thank you. Regards, CH -- CH Chan Research Assistant - KWH http://www.macgrass.com
2011 Sep 12
3
Multiple t.test
Dear R experts, Suppose I have an data frame likes this: > example <- data.frame(age=c(1,2,3, 4,5,6), height=c(100,110,120,130,140,150), disease=c(TRUE, TRUE, TRUE, FALSE, FALSE, FALSE)) > example age height disease 1 1 100 TRUE 2 2 110 TRUE 3 3 120 TRUE 4 4 130 FALSE 5 5 140 FALSE 6 6 150 FALSE Is there anyway to compare the age and
2010 Sep 17
2
Simple question, name of the variable as string.
Dear R users, I have a very simple question and I've tried to search for the answer. (But failed.) there should be a function (func) that work like > abc <- c(1,2,3,4) > func(abc) "abc" I would like to know the name of that function. Thank you very much for your help. Regards, CH -- CH Chan
2010 Sep 20
3
Composing Music - R Package
Hi R Users,   Thanks in advance.   I am using R-2.11.1 on Windows XP.   May I request you to assist me for the following please.   1.       Is there any R-package or if any to compose music?   2.       Is there any R-package or if any to analyse music?   Once again, thank you very much for the time you have given.   Regards,   Deb   [[alternative HTML version deleted]]
2007 Jun 20
1
Date and selection
Dear R experts, Suppose I have a data.frame recording the date and test results of some subjects like this: Name Date results John 01/01/1991 2 John 02/01/1991 3 John 09/0101991 4 Micheal 02/01/1991 4 Micheal 04/01/1991 5 .... How to select the earliest (or latest) test result from all subjects? Thank you. Regards, CH -- "The scientists of today think deeply instead of clearly. One
2011 Apr 13
2
Dump the "source code" of data frame
Dear R experts, I remember a similar function existed and have been mentioned in R-help before. I tried my best to search but I really can't find it out. suppose I have an data frame like this: > somedata <- data.frame(age.min = 1, age.max = 1.5, male = TRUE, l = -1.013, m=16.133, s=0.07656) In order to back up the data and I don't want to use write.table(), I would like to back
2010 Dec 13
3
check for item in vector
Dear R users, Suppose I have an vector like this: animal <- c("Tiger","Panda") I would like to know is there any function that check for the existence of certain item in a vector. e.g. > func("Tiger",animal) # check for the existence of "Tiger" TRUE > func("Acacia",animal) #Acacia is not an item of the animal vector FALSE I know
2008 Jul 12
5
shapiro wilk normality test
Hi everybody, somehow i dont get the shapiro wilk test for normality. i just can?t find what the H0 is . i tried : shapiro.test(rnorm(5000)) Shapiro-Wilk normality test data: rnorm(5000) W = 0.9997, p-value = 0.6205 If normality is the H0, the test says it?s probably not normal, doesn ?t it ? 5000 is the biggest n allowed by the test... are there any other test ? ( i know qqnorm
2008 Nov 21
3
HELP
[This email is either empty or too large to be displayed at this time]
2007 Nov 23
0
R users in Cyprus
...rif symbol", "bold italic"), cex = 1.5) It's more "Gothic" than what you described, but it may be an acceptable substitute. -- David Winsemius ------------------------------ Message: 83 Date: Thu, 22 Nov 2007 13:42:15 +0800 From: "Chung-hong Chan" <chainsawtiney at gmail.com> Subject: Re: [R] dev.off() To: r-help at stat.math.ethz.ch Message-ID: <30d7ea360711212142m2a938746s5ae2a92b47a0ff96 at mail.gmail.com> Content-Type: text/plain; charset=UTF-8 png function is used for producing png format (Portable Network Graphics) of image. you need to...
2008 Oct 15
0
R-help Digest, Vol 67, Issue 31
...nting things to x11. I am running R-2.7.2 on Red Hat Linux. TIA, Kyle [[alternative HTML version deleted]] ------------------------------ Message: 42 Date: Mon, 29 Sep 2008 10:38:01 -0600 From: Greg Snow <Greg.Snow at imail.org> Subject: Re: [R] Trend graph To: "C.H." <chainsawtiney at gmail.com>, "r-help at r-project.org" <r-help at r-project.org> Message-ID: <B37C0A15B8FB3C468B5BC7EBC7DA14CC6132C7170E at LP-EXMBVS10.CO.IHC.COM> Content-Type: text/plain; charset="us-ascii" Try this: pre <- c(1,2,3,4,5) post <- c(2,5,7,2,3) plot( 1...
2010 Aug 24
0
mlm for within subject design
...tp://www.R-project.org/posting-guide.html >> and provide commented, minimal, self-contained, reproducible code. >> > > > > -- > ----------------- > Jane Chang > Queen's > [[alternative HTML version deleted]] --Forwarded Message Attachment-- From: chainsawtiney at gmail.com CC: r-help at r-project.org To: weiweizhang56 at hotmail.com Date: Tue, 24 Aug 2010 12:50:40 +0800 Subject: Re: [R] forest plot The correct command for forest plot should be "plot" (instead of "forest") if you are using metagen from meta package. For help: ?plot...
2007 Jun 01
1
Proxy Under Mac OS X
Dear R programmers, I can only config. proxy under Mac OS X terminal and launch R under Terminal by Terminal: export http_proxy="http://un:pw at proxy.com:port" Under R: >chooseCRANmirror(graphics=FALSE) >update.packages() I don't know how to config this in R for Mac OS X Aqua GUI. I checked the relevant document but no specific steps for Mac OS X. Regards, Ch Chan --
2009 Feb 20
1
log-minus-log plot
Dear experts, I would like to know how to plot the log-minus-log plot for survival analysis (to check the proportional assumption) in R. Using the AML example. fit <- survfit(Surv(time, status) ~ x, data=aml) length(fit$surv) #20 as the length of fit$surv is shorter than aml$x and aml$time. I don't know how to plot. Thank you. Regards, CH -- CH Chan Research Assistant - KWH
2011 Aug 31
1
Recoding observations in all columns of a data frame.
Dear all, Suppose I have a data frame like this: [code] var1 <- c(1,999,2) var2 <- c(999,1,2) var3 <- c(1,2,999) example <- data.frame(var1,var2,var3) [/code] I want to replace all 999 to NA in all observations in all columns. I know how to do it in each individual column. [code] example$var1[example$var1==999] <- NA [/code] I think it can be done with a for loop. [code] for
2008 Sep 27
2
Trend graph
Dear R Gurus, I have a problem related to plot. For example, I have two variables, pre and post. pre <- c(1,2,3,4,5) post <- c(2,5,7,2,3) How can I plot a line graph similar to this one? http://www.pubmedcentral.nih.gov/articlerender.fcgi?artid=1847566&rendertype=figure&id=F1 Would you please provide me a keyword so that I can search. I don't know what is the name of this
2007 May 07
1
Simple question about function with glm
Dear all, I coded a function called u.glm u.glm <- function (x,ahi,age,bmiz,gender) { library(nortest) lil.rslt <- lillie.test(x) if (lil.rslt$p.value >0.05) { cat("Logtrans=0, lillie=",lil.rslt$p.value,"\n") xmodel<-glm(x~ahi+age+bmiz+as.factor(gender)) summary(xmodel) confint(xmodel) } else { cat("Logtrans=1,
2010 Sep 01
1
OdfWeave and Locale
Dear all, I have a question regarding the odfweave. I created an odt file (test_input.odt) using OO.o for WIndows XP. The code is generic. ---- Code for odt ----------- \Sexpr{dim(iris)[1]} <<listofSpecies, echo=FALSE, results=xml>>= odfItemize(levels(iris$Species)) @ Table 1: <<Table, echo=FALSE, results=xml>>= data.frame(N =tapply(iris$Petal.Length, iris$Species,