[R] Is Landau-H available

2007-06-27 Thread Knut Krueger
Does anybody knows whether Landau-H index is available in ? I did not found anything about with r Regards Knut __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R

[R] read.xls problem

2007-06-27 Thread Knut Krueger
the sheet numbers Regards Knut __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.

Re: [R] running saved scripts

2007-06-27 Thread Knut Krueger
including run functions (run all, run marked, run until window end and run line by line) available: http://www.sciviews.org/Tinn-R/ And you can use the R-Editor (in the Menu: File- new script) There you can run the marked code or line by line with STGR R Knut

Re: [R] Barplots: Editing the frequency x-axis names

2007-06-08 Thread Knut Krueger
) Regards Knut __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.

Re: [R] Barplots: Editing the frequency x-axis names

2007-06-08 Thread Knut Krueger
will depend on your plot area and the settings with par() did you read the instructions for plot and par already? Regards Knut have a look to ?plot and to ?par __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE

Re: [R] Barplots: Editing the frequency x-axis names -doouble post

2007-06-08 Thread Knut Krueger
Sorry for double posting - was wrong e-mail adress , thougt this one will run into Spam filter __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide

Re: [R] Sorting dataframe by different columns

2007-06-08 Thread Knut Krueger
maybe this page could give you some hints: http://www.ats.ucla.edu/STAT/r/faq/sort.htm Regards Knut __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting

Re: [R] order of values in vector

2007-03-20 Thread Knut Krueger
Tord Snäll schrieb: Dear all, I would like to get the order of the values in a vector. I have tried rank(), order() and searched the archive, though without success. maybe this page could give you some hints: http://www.ats.ucla.edu/STAT/r/faq/sort.htm Regards Knut

Re: [R] axis and times() problem

2006-12-28 Thread Knut Krueger
Thank you for your answer Actually I think there may be a bug here since the axes do not intersect. Should I report this or did you report it already as a possible bug? __ R-help@stat.math.ethz.ch mailing list

[R] Plot window - save as Postscript question

2006-12-28 Thread Knut Krueger
from the plot window. is there any solution for that? opar - par(mfrow = c(2,2), oma = c(0, 0, 1.1, 0)) mp - barplot2(VADeaths) # default mp - barplot2(VADeaths) # default mp - barplot2(VADeaths) # default mp - barplot2(VADeaths) # default par(opar) Regards Knut

Re: [R] Plot window - save as Postscript question

2006-12-28 Thread Knut Krueger
I tried it with paper=special and it worked now Best regards Knut __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented

[R] How to avoid test for NAs in foreign function call

2006-12-13 Thread Knut M. Wittkowski
) : NAs in foreign function call (arg 1) How does one instruct R to avoid checking for NAs? Knut M. Wittkowski, PhD,DSc -- The Rockefeller University, Center for Clinical and Translational Science Research Design and Biostatistics, 1230 York Ave #121B

[R] Switch and integer

2006-12-11 Thread Knut Krueger
I searched the help list and the manual, but I do not find my mistake. Switch is working with character , with integer, but not in the third example Regards Knut count1 - 0 test =c(3,9,3,9,3,9,8,9,8,9,8,9,3,9,3,9,5,9,3,9,1,2,7,9,3,9,1,1,2,2,3,9,2,1,2,5,9,8,9,1,2) count1 - 0 for (i in 1:length

Re: [R] Switch and integer

2006-12-11 Thread Knut Krueger
, 1,2,3,4)) No see I that the 1,2,3,4 is the output not the value, but it's not very clear for me ho it works. I will try to find it out ... The switch for Integer is very different from C++ or Pascal .. maybe this was the reason for the problem. Regards Knut

[R] [OT] sorry for sending two mails ... and thank's for the answers

2006-12-09 Thread Knut Krueger
Does anybody know why this mail did not appear for more than 6 hours? I thought that my URL might be at any blacklist, so I created a web.de account and resent the mail after a couple of hours. Regards Knut __ R-help@stat.math.ethz.ch mailing list

[R] how to create data.frame with dynamic count of values

2006-12-08 Thread Knut Krueger
dat But I need also to create a dynamic count of numeric vectors items = 15 VarSize -10 N1 - rep(0,VarSize) N2 - rep(0,VarSize) N3 - rep(0,VarSize) N4 - rep(0,VarSize) N5 - rep(0,VarSize) ... N15- rep(0,VarSize) # 15 items Thank you in advance Knut

[R] how to create data.frame with dynamic count of values

2006-12-08 Thread Knut Krueger
dat But I need also to create a dynamic count of numeric vectors items = 15 VarSize -10 N1 - rep(0,VarSize) N2 - rep(0,VarSize) N3 - rep(0,VarSize) N4 - rep(0,VarSize) N5 - rep(0,VarSize) ... N15- rep(0,VarSize) # 15 items Thank you in advance Knut

Re: [R] Code for Screenshots graphics (following on from ease-of-use issues on www.r-project.org)

2006-11-16 Thread Knut
Patrick Drechsler patrick at pdrechsler.de writes: Knut M. Wittkowski wrote: Apologies if this is the wrong list, but could somebody put the information on how to create the graphs on http://www.r-project.org/screenshots/screenshots.html (or a link to these instructions) next

Re: [R] The W statistic in wilcox.exact

2006-11-16 Thread Knut M. Wittkowski
, wilcox.test is based on the rank sums, so that no conversation is needed. wilcox_test does, in fact, the Wilcoxon test in R as well, as does the more general pearson.test, available from http://muStat.rockefeller.edu (click on downloads after login). HTH, Knut Torsten Hothorn Torsten.Hothorn

Re: [R] Code for Screenshots graphics (following on from ease-of-use issues on www.r-project.org)

2006-11-15 Thread Knut M. Wittkowski
Apologies if this is the wrong list, but could somebody put the information on how to create the graphs on http://www.r-project.org/screenshots/screenshots.html (or a link to these instructions) next to the graphs? __ R-help@stat.math.ethz.ch mailing

[R] Kendall's tau-c

2006-09-12 Thread Knut Wenzig
=c(4,2,2,3,0,4)) cityriots - data.frame(lapply(cityriots,function(x) rep(x,cityriots$weight))) xtabs(~ riotsize+citysize,cityriots) tau-c should be .57. Do you have a hint? Best regards Knut Wenzig -- Dipl.-Sozialw. Knut Wenzig Lehrstuhl fuer Soziologie und empirische Sozialforschung

Re: [R] (g)lm ordinal or scaled values?

2006-05-09 Thread Knut Krueger
/temp/testr.csv Regards Knut __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Re: [R] (g)lm ordinal or scaled values?

2006-05-09 Thread Knut Krueger
Knut __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

[R] (g)lm ordinal or scaled values?

2006-05-08 Thread Knut Krueger
Regards Knut __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

[R] factor to real - best way to convert

2006-05-03 Thread Knut Krueger
not be able to find the way from the ?as.numeric help page. Both versions are complete struggled in my mind. maybe anybody is albe to write some hints for me. with regards Knut __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman

[R] Traffic on R-Help Mailing List

2006-03-17 Thread Knut Krueger
hope I will solve the problem. Thank you Knut __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Re: [R] Traffic on R-Help Mailing List

2006-03-17 Thread Knut Krueger
-mail address. Thanks a lot Knut __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Re: [R] Traffic on R-Help Mailing List

2006-03-17 Thread Knut Krueger
No seems that there is an other problem with the spam filter. Another guy told me that they have the same problem. Some of the mails will delivered, most of the mails not Regards Knut __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch

Re: [R] Traffic on R-Help Mailing List

2006-03-17 Thread Knut Krueger
stat.math.ethz.ch, neither in the spamfilter nor in the log files. I will read with the web interface your answers - if there is any solution. One question: Is it a possibility that my domain is blocked from sending e-mails because the e-mails of the last 2 weeks were bounced back? Regards Knut

[R] Bioconductor package on linux machine

2006-03-16 Thread Knut Krueger
Hi together, we received a question about the bioconductor package, maybe anybody could help the guy and I will deliver the message over our forum to him. If this way is allowed ... Regards Knut Here the question: Hello, I have installed R on a linux machine. I have then installed

Re: [R] some EPS rotated in journal preview

2006-01-20 Thread Knut Krueger
, if the text of the y-axes is longer than the text of the x-axes. Are you able to see any other reason for the rotation. I will contact the journal again, if there is no other reason especially of the R-code. Regards Knut Krueger. postscript(c:/r/test/regline2.eps,horizontal = FALSE,onefile=FALSE

Re: [R] some EPS rotated in journal preview

2006-01-19 Thread Knut Krueger
Knut Krueger schrieb: I am trying to send a manuscript to a journal. One of the figures build by R is in the right orientation and 4 are rotated clockwise 90 deg in the preview. So I realized that they rotated the Paper not the figure. I did not realize it because I did not set

[R] some EPS rotated in journal preview

2006-01-18 Thread Knut Krueger
the image in the right direction? Regards Knut __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Re: [R] some EPS rotated in journal preview

2006-01-18 Thread Knut Krueger
the first submission, and they did not give me any answer why one file is not rotated the other 3 are rotated ... Sorry that I could not give you any more hints, but I will ask them to switch off auto rotation. Regards Knut __ R-help

Re: [R] some EPS rotated in journal preview

2006-01-18 Thread Knut Krueger
it off. Regards Knut __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Re: [R] some EPS rotated in journal preview

2006-01-18 Thread Knut Krueger
Marc Schwartz schrieb: On Wed, 2006-01-18 at 13:04 +0100, Knut Krueger wrote: One of the first things to do is to use 'onefile = FALSE', 'horizontal = FALSE' and paper = special'. I am afraid the problem is on the journals side, because the wrong postscript line (with letter

Re: [R] some EPS rotated in journal preview

2006-01-18 Thread Knut Krueger
noth thought about the autowrap fo the e-mailclient. thanks very much Knut __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

[R] rsq.rpart not found ...

2006-01-16 Thread Knut Krueger
the error object not found must I load any package before? there is nothing in the helpfile (R 2.2.0) Regards Knut __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R

Re: [R] problem solved

2006-01-16 Thread Knut Krueger
library(rpart) Regards Knut __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

[R] rsq.rpart is there any R-Square value like in SPSS?

2006-01-16 Thread Knut Krueger
of the Estimate 1 ,768(a) ,589 ,584171,032 Regards Knut __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting

Re: [R] rsq.rpart is there any R-Square value like in SPSS?

2006-01-16 Thread Knut Krueger
(2,10,20, labels=c(Ctl,Trt)) weight - c(ctl, trt) lm.D9 - lm(weight ~ group) summary(lm.D9) summary(lm.D9)$r.squared summary(lm.D9)$adj.r.squared sure .. I was complete on the wrong way because I used the search function :-( used the summary more than one time Regards Knut

Re: [R] new comer's question

2006-01-16 Thread Knut Krueger
Chang Shen schrieb: I have a csv file looks like this: (between two lines) === First I load it by read.table call: myArray - read.table(c:/mydata.csv,sep=,); did you try read.csv(c:/mydata.csv,sep=,) Regards Knut

[R] wilcox.test warnig message p-value where are the zeros in the data?

2006-01-12 Thread Knut Krueger
does anybody know why there are the two warnings in the example above? Regards Knut day_4 [1] 540 1 1 1 1 1 1 300 720 480 day_1 [1] 438 3431 4751 562 500 435 1045 890 is.vector (day_1) [1] TRUE is.vector (day_4) [1] TRUE wilcox.test(day_4 ,day_1,paired

Re: [R] high resolution images for publication

2005-10-14 Thread Knut Krueger
the submission was sent to the journal. Therefore I tried all graphic formats before the regular submission. Regards Knut with regards Knut Krueger http://www.biostatistic.de __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo

[R] Wrong signature

2005-09-27 Thread Knut Krueger
for that. Regards Knut __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

[R] hist(x, ...) with normal distribution curve

2005-09-26 Thread Knut Krueger
. I am looking for a histogram or box plot with the adding normal distribution curve I think that must be possible, but I am not able to find out how to do. Regards Knut __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman

Re: [R] hist(x, ...) with normal distribution curve

2005-09-26 Thread Knut Krueger
-hist(x,breaks=10,prob=T) xfit-seq(min(x),max(x),length=40) yfit-dnorm(xfit,mean=mean(x),sd=sd(x)) # ... this line lines(xfit,yfit) Thanks Knut [[alternative HTML version deleted]] __ R-help@stat.math.ethz.ch mailing list https

Re: [R] hist(x, ...) with normal distribution curve

2005-09-26 Thread Knut Krueger
in the institute to the people with mor statistical knowledge but no knowledge about computer science ... and command line interpreter Regards Knut -- Viele Grüße Knut Krüger -- Reitpark Einthal Leitung: 1 Tierarzt, 1 Berufsreiter Homepage http://www.einthal.de Eine

Re: [R] png scaling problem

2005-09-02 Thread Knut Krueger
Gabor Grothendieck schrieb: If you have not already tried it try creating a fig file: xfig(myfile.fig) plot(1:10) dev.off() and then using the fig2dev utility (find it via google) to convert it to a tiff: fig2dev -L tiff myfile.fig myfile.tiff Error:: fig2def: broken pipe

Re: [R] png scaling problem

2005-09-02 Thread Knut Krueger
but back to the last problem, what could be wrong that the ylab is not displayed as expected? with regards Knut __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R

Re: [R] png scaling problem

2005-09-02 Thread Knut Krueger
Knut Krueger schrieb: Ok there is a second description for the file format :-( http://authors.elsevier.com/ArtworkInstructions.html?dc=AI2 there are pdf formats welcome but with defined conditions: Maybe anybody could give me a hint to get the files in the recommendet format. I will ask

Re: [R] png scaling problem

2005-09-02 Thread Knut Krueger
thx I will try it ... think I will be newbie in R for the next 10 jears ... And I don't know why wh choosed the only journal which don't want pdf files :-( __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE

Re: [R] png scaling problem - solved :-)

2005-09-02 Thread Knut Krueger
the link. If anybody else will need the same you could post only the link ;-) thx Knut __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

[R] standard deviation in barplots

2005-09-01 Thread Knut Krueger
Is there any function to plot the standard deviation with the barplots _ _ | Deviation |--- | -| | | | | Barplot | | | | | | with regards Knut Krueger __ R-help

Re: [R] standard deviation in barplots

2005-09-01 Thread Knut Krueger
426.10093 45.12493 344.85453 196.19980 198.17632 208.96365 [8] 76.49691 0.0 0.0 xrow [1] 468.8 314.3 20.1 204.0 96.0 96.0 115.0 36.0 0.0 0.0 barplot2(xrow,plot.ci=TRUE,ci.l=ci.l,ci.h=ci.h) Knut __ R-help@stat.math.ethz.ch mailing

Re: [R] standard deviation in barplots

2005-09-01 Thread Knut Krueger
I forgot the error message ... Error in barplot2.default(xrow, plot.ci = TRUE, ci.l = ci.l, ci.h = ci.h) : confidence interval values are missing __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do

Re: [R] standard deviation in barplots

2005-09-01 Thread Knut Krueger
There is an error in your function call. The argument 'ci.h' is incorrect, as it should be 'ci.u'. Thus, use: ... I think I will need glasses Tank's a lot Knut __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman

[R] png scaling problem

2005-09-01 Thread Knut Krueger
solution to scale the resolution and the width/height? with regards Knut __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Re: [R] png scaling problem

2005-09-01 Thread Knut Krueger
them immediately which whether the pdf is allowed or not, becaus they have two different instruction sites :-( Regards Knut __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http

[R] relation between cex.axis and pointsize in graphics device

2005-08-15 Thread Knut Krueger
, bg = white, res = NA) axis(1, 1:7, LETTERS[1:7], cex.axis=2) with regards Knut Krueger __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org

Re: [R] RGUI crash when opening script in XP Home enviroment

2005-08-12 Thread Knut Krueger
Prof Brian Ripley schrieb: However, as I don't know what the `open file button' is, I cannot reproduce it. Is this MDI or SDI mode, found it : MDI Mode Pager Style multiple windows Knut Krueger __ R-help@stat.math.ethz.ch mailing list

Re: [R] RGUI crash when opening script in XP Home enviroment

2005-08-10 Thread Knut Krueger
Knut Krueger schrieb: If there is a helpfile open (f.e ?glm) and it is the top window, then an exception error occurs (closing RGUI) when I hit the open file button. If the helpfile is not the top window (of the RGUI) I am able to open a new script without any error. The RGUI is not closing

Re: [R] RGUI crash when opening script in XP Home enviroment

2005-08-10 Thread Knut Krueger
this is clarifying the open questions with regards Knut Krueger http://www.biostatistic.de __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

[R] RGUI crash when opening script in XP Home enviroment

2005-08-09 Thread Knut Krueger
screen left which I have to close with the X Button or Taskmanager Windows XP Home - German Version updates installed. R-Version 2.1.0 If there you need any further details please ass for. with regards Knut Krueger http://www.biostatistic.de __ R

Re: [R] RGUI crash when opening script in XP Home enviroment

2005-08-09 Thread Knut Krueger
Knut Krueger schrieb: If there you need any further details please ass for. ask for :-( AppName: rgui.exeAppVer: 2.10.50418.0ModName: r.dll ModVer: 2.10.50418.0 Offset: 77cc with regards Knut Krueger http://www.biostatistic.de

Re: [R] High resolution plots

2005-08-06 Thread Knut Krueger
it is not in `An Introduction to R'. I was looking for ?wmf because ?png, ?jpeg and ?bmp is working. Of course because the function is named as the ending of the file format Regards Knut [[alternative HTML version deleted]] __ R-help

Re: [R] High resolution plots

2005-08-05 Thread Knut Krueger
and am having similar problems as Knut Krueger in printing high-quality plots. I have looked at the help file and examples therein as well as others I have been able to find online but to no avail. After many many tries I have to concede I cannot figure it out. I would be very grateful for your help

Re: [R] High resolution plots

2005-07-14 Thread Knut Krueger
to this question even though I got him on his nerves with a wrong answer. :-( with regards Knut Krueger http://www.biostatistic.de __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide

Re: [R] High resolution plots

2005-07-14 Thread Knut Krueger
Peter Dalgaard schrieb: Knut Krueger [EMAIL PROTECTED] writes: Peter Dalgaard schrieb: What is the real issue here? Import trouble? If you're importing to Word/PowerPoint, why not use the Windows metafile? Perhaps they are too ugly compared to EPS by your taste? My reason

Re: [R] texture in barplots?

2005-07-13 Thread Knut Krueger
Adrian Dusa schrieb: Is it possible to draw barplots using a texture instead of colors, for a black and white printer? barplot(height,.,density=c(4,6,8,10) ...) for each bar one number - this example is for a barplot with 4 bars. with regards Knut Krueger http

Re: [R] texture in barplots?

2005-07-13 Thread Knut Krueger
Knut Krueger schrieb: Adrian Dusa schrieb: Is it possible to draw barplots using a texture instead of colors, for a black and white printer? barplot(height,.,density=c(4,6,8,10) ...) for each bar one number - this example is for a barplot with 4 bars. forgot

Re: [R] texture in barplots?

2005-07-13 Thread Knut Krueger
Knut Krueger schrieb: Adrian Dusa schrieb: Is it possible to draw barplots using a texture instead of colors, for a black and white printer? barplot(height,.,density=c(4,6,8,10) ...) for each bar one number - this example is for a barplot with 4 bars. forgot

[R] High resolution plots

2005-07-12 Thread Knut Krueger
as the plots. with regards Knut Krueger http://www.biostatistic.de __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Re: [R] High resolution plots

2005-07-12 Thread Knut Krueger
Sorry i sent the answer not to the mailing list - here it is Brian D Ripley schrieb: On Tue, 12 Jul 2005, Knut Krueger wrote: Prof Brian Ripley schrieb: Please read carefully what `resolution' means for a png() device (and a PNG file). It is a hint to the viewer in the file header

[R] efficient R code

2005-02-09 Thread Knut M. Wittkowski
the programming efficiency for this problem. (The return(...) seems to be necessary in R only.) Knut #-- # asymp.SMN.pvalue(pP,qP,pX,qX,pQ,qQ) # exact.SMN.pvalue(pP,qP,pX,qX,pQ,qQ

Re: [R] alternate rank method

2004-06-28 Thread Knut M. Wittkowski
Try: MxRank - function(x, na.last = keep) { if (na.last != keep) return(rank(x, na.last)) else { r - x*NA NoWarn(r[is.orderable(x)] - rank(x,na.last=NA)) return(r) } } Knut M. Wittkowski, PhD,DSc

Re: [R] mannwitney

2004-05-12 Thread Knut M. Wittkowski
for the .05 level (two-sided) is 18, the result of S qwilcox(.025,5,5) [1] 18 while the result of R R qwilcox(.025,5,5) [1] 3 doesn't directly compare to the results of wilcox.test (both R and S). I hope this helps. Knut Knut M. Wittkowski, PhD,DSc

RE: [R] logo

2004-03-29 Thread Knut M. Wittkowski
Dear Cecilia, while Saghir and Kjetil may have a point, guidances are no laws. After all, it's your presentation and only you can decide what suits the specific purpose best. An R logo can be found on http://www.r-project.org/foundation/. Knut At 09:17 2004-03-29 +0200, Bashir Saghir (Aztek

Re: [R] normality test

2004-02-17 Thread Knut M. Wittkowski
Hello Samuel, Regardless of some more fundamental problems (see below), a test to prove normality based on a sample of 9? - Fugetaboutit. Knut At 10:20 2004-02-06 +0100, I wrote: ... It may be tempting to interpret a non-significant result of a statistical test as to verify the hypothesis

Re: [R] Normality Test on several groups

2004-02-08 Thread Knut M. Wittkowski
. English: The Logic of Scientific Discovery. Basic Books: New York; 1959. Cheers, Knut At 12:38 2004-02-07 -0500, Andy wrote: Hi Knut, Could you please provide more information on the Popper and Adams references you cite above? While I'm fairly certain that Popper 1979 is: Popper, Karl. Objective

Re: [R] Normality Test on several groups

2004-02-06 Thread Knut M. Wittkowski
hope this helps. Knut At 10:20 2004-02-06 +0100, you wrote: Hi, I use ks.test or lillie.test to verify a normal distribution. It's performed for a group My users use SigmaStat software and a One Way ANOVA on several groups In the result page there is a probability value to determine if Normality

Re: [R] quantile function

2004-02-06 Thread Knut M. Wittkowski
% 50% 75% 100% -Inf 2.50 4.50 6.50 +Inf Knut At 09:30 2004-02-06 -0600, Giovanni Petris wrote: I am trying to `cut' a continuous variable into contiguous classes containing approximately an equal number of observations. I thought quantile() was the appropriate function to use in order to find

Re: [R] Cochran-Mantel-Haenszel problem

2003-12-11 Thread Knut M. Wittkowski
estrogen) - (more appropriate/less appropriate) men:(more estrogen/less estrogen) - (less appropriate/more appropriate) and if this reflects your hypothesis, it will solve your problem. Knut At 14:42 2003-12-11 +0100, you wrote: Hello, I've tried to analyze some data with a CMH test. My

Re: [R] wilcoxon-pratt signed rank test in R - drug-effiacy

2003-12-01 Thread Knut M. Wittkowski
the Wilcoxon signed rank test, the same rationale applies. Note that if two tests, i.e., the sign test with ties discarded and the sign test with ties not discarded, are not asymptotically equivalent, a single exact tests cannot be appropriate for both. I hope this helps Knut At 13:04 2003-12-01

Re: [R] kruskal wallis for manova?

2003-11-21 Thread Knut M. Wittkowski
principle (Wittkowski 1992, JASA 75:258). With u-statistics (Wittkowski, in press, Statistics in Medicine) one obtains a very good approximation to these unique scores, which is computationally more efficient (n^2 vs n!). Please feel free to contact me for reprints and details. Knut (Ex-Göttinger

[R] qwilcox

2003-06-10 Thread Knut M. Wittkowski
) Wilcoxon rank sum test: p-value = 0.05556 R wilcox.exact(x1,x2,alternative=two.sided) Exact Wilcoxon rank sum test: p-value = 0.05556 S wilcox.test(x1,x2,alternative=two.sided) Exact Wilcoxon rank sum test: p-value = 0.0556 Knut M. Wittkowski, PhD,DSc

RE: [R] Rounding problem R vs Excel.

2003-06-05 Thread Knut M. Wittkowski
, but that more recent versions of PowerPoint are not really compatible. Knut M. Wittkowski, PhD,DSc -- The Rockefeller University, GCRC 1230 York Ave #121B, Box 322, NY,NY 10021 +1(212)327-7175, +1(212)327-8450 (Fax) [EMAIL PROTECTED] http://www.rucares.org