Re: [R] running saved scripts

2007-06-27 Thread Knut Krueger
is a very comfortable editor 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 b

[R] read.xls problem

2007-06-27 Thread Knut Krueger
s normal? I never had this problem before. And if it is normal I wonder about how to find 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

[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

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] Barplots: Editing the frequency x-axis names

2007-06-08 Thread Knut Krueger
with times() but I am afraid the displayed dates/times 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 l

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 http://www.R-project.org/posting-guide.

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

2007-06-08 Thread Knut Krueger
ates(02/27/92),dates(02/27/95)) y <- c(10,50) plot(x, y) 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 comment

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 Reg

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

2006-12-28 Thread Knut Krueger
the upper boarder of the "paper" 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] 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

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 https://stat.ethz.ch/mailman/listinf

[R] axis and times() problem

2006-12-27 Thread Knut Krueger
x27;n') # axis() command problem: par(cex=1.2,lwd=1) x <- c(times("12:15:00"),times("15:30:00")) y <- c(1,5) plot(x, y,axes=FALSE, type="n",adj=0, asp=0, xlab="", ylab="",font.axis=2,yaxt='n&#x

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

2006-12-13 Thread Knut M. Wittkowski
ked2, lenx) : 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

Re: [R] Switch and integer

2006-12-11 Thread Knut Krueger
-1:3,9)) print(switch(i, 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 pr

[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&q

[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
1") dat <- data.frame(lapply(nams, get)) names(dat) <- nams 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(

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

2006-12-08 Thread Knut Krueger
1") dat <- data.frame(lapply(nams, get)) names(dat) <- nams 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(

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

2006-11-16 Thread Knut M. Wittkowski
ast, 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 rzmail.uni-erlangen

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 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 >

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] generalized Kruskal/Friedman test for replicated blocked data

2006-11-13 Thread Knut M. Wittkowski
help are available from https://mustat.rockefeller.edu under Downloads/prentice.test. Knut M. Wittkowski, PhD,DSc -- The Rockefeller University, Center for Clinical and Translational Science Research Design and Biostatistics, 1230 York Ave #121B, Box 322, NY,NY 10021 +1

[R] Kendall's tau-c

2006-09-12 Thread Knut Wenzig
2,1,2,1,2), weight=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 empir

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

2006-05-09 Thread Knut Krueger
ecogniced that I was right to so. 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
would like to try) http://biostatistic.de/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

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

2006-05-08 Thread Knut Krueger
ow which of them. I hope I explained the problem understandable 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
e]) Ok much better, but I would 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 ht

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

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
-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

[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

[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 the

Re: [R] showing the integrated number by point size

2006-02-18 Thread Knut Krueger
Marc Schwartz (via MN) schrieb: >On Fri, 2006-02-17 at 17:33 +0100, Knut Krueger wrote: > > >>Is there any function to show the points like this example of SPSS? >> >>http://biostatistic.de/temp/reg.jpg >> >>The point size should represent the number o

[R] showing the integrated number by point size

2006-02-17 Thread Knut Krueger
Is there any function to show the points like this example of SPSS? http://biostatistic.de/temp/reg.jpg The point size should represent the number of data at this point. with regards Knut Krueger __ R-help@stat.math.ethz.ch mailing list https

Re: [R] some EPS rotated in journal preview

2006-01-20 Thread Knut Krueger
ith the long text is rotated the second is not rotated. Seems that they rotate the page, 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.

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

Re: [R] some EPS rotated in journal preview

2006-01-18 Thread Knut Krueger
milar), which can make the flow of the code >difficult to review. > sure I only used copy and paste from the sriptfile and did noth thought about the autowrap fo the e-mailclient. thanks very much Knut __ R-help@stat.math.ethz.ch mailing list ht

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 j

Re: [R] some EPS rotated in journal preview

2006-01-18 Thread Knut Krueger
;,family = "Helvetica", font = "Helvetica") There is a error from boxplot without ,height=8,width=8 error in plot.new() : Grafikränder zu groß ( margins to big) but I am afraid that they have autorotation on. I will aks the journal to switch 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
as a free service) but used old files from 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] some EPS rotated in journal preview

2006-01-18 Thread Knut Krueger
unknown system - of the journal will be forced to display 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] 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=","); > > &g

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

2006-01-16 Thread Knut Krueger
89,4.32,4.69) > group <- gl(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

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

2006-01-16 Thread Knut Krueger
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] 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 not found ...

2006-01-16 Thread Knut Krueger
e function but I got 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

[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.tes

Re: [R] high resolution images for publication

2005-10-14 Thread Knut Krueger
ion is ok or not. And if it was ok 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 h

[R] Wrong signature

2005-09-27 Thread Knut Krueger
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

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

2005-09-26 Thread Knut Krueger
he common .. "SPSS-clicks" , I will never be able to suggest R 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

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

2005-09-26 Thread Knut Krueger
150) h<-hist(x,breaks=10,freq = TRUE) #I need this histogramm with... xfit<-seq(min(x),max(x),length=40) yfit<-dnorm(xfit,mean=mean(x),sd=sd(x)) lines(xfit,yfit) h<-hist(x,breaks=10,prob=T) xfit<-seq(min(x),max(x),length=40) yfit<-dnorm(xfit,mean=mean(x),sd=sd(x))

[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] png scaling problem - solved :-)

2005-09-02 Thread Knut Krueger
will write down this solution in our forum ( If the paper is submitted) and will post you 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/lis

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 do

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 recomm

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
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: broke

Re: [R] png scaling problem

2005-09-01 Thread Knut Krueger
e but with defined conditions: Maybe anybody could give me a hint to get the files in the recommendet format. I will ask them immediately which whether the pdf is allowed or not, becaus they have two different instruction sites :-( Regards Knut __ R-help@

[R] png scaling problem

2005-09-01 Thread Knut Krueger
--- the ylab is terrible is there any better 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] 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.c

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 rea

Re: [R] standard deviation in barplots

2005-09-01 Thread Knut Krueger
0.0 ci.h [1] 633.50323 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

[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

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

2005-08-15 Thread Knut Krueger
ot;, width = 480, height = 480, pointsize = 12, 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

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 _

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

2005-08-10 Thread Knut Krueger
an operating system): http://www.biostatistic.de/forum/messages/2291/2350.html I hope 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

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. &

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.biosta

[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] High resolution plots

2005-08-06 Thread Knut Krueger
> >Note that R can produce Windows metafiles only on Windows, which is why 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 en

Re: [R] High resolution plots

2005-08-06 Thread Knut Krueger
Knut Krueger schrieb: >Is there any possibility to get high resolution plots in a windows xp >system? >I tried it with the device function png(filename = >"c:/r/highresplot%d.png",pointsize=12, res=900) >but when I try to set: width = 480, height = 480 or pointsiz

Re: [R] High resolution plots

2005-08-05 Thread Knut Krueger
;generated by R? I am working with R 2.0.1 in WindowsXP 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 tr

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 Windo

Re: [R] High resolution plots

2005-07-14 Thread Knut Krueger
Brian D. Ripley will answer 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 re

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) ...) &g

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) ...) &g

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 Kn

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 (

[R] High resolution plots

2005-07-11 Thread Knut Krueger
way 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

[R] efficient R code

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

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) }

Re: [R] mannwitney

2004-05-12 Thread Knut M. Wittkowski
ded") > Wilcoxon rank sum test: p-value = 0.03175 > > > x1 <- c(1,2, 4,5,6 ) > > x2 <- c( 3, 7,8,9,10) > > sum(x1) > [1] 18 > > sum(x2) > [1] 37 > > R> wilcox.test(x1,x2,alternative="two.sided") > Wilcoxon rank sum test: p-value =

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 (

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

Re: [R] Normality Test on several groups

2004-02-08 Thread Knut M. Wittkowski
Springer: Wien; 1937. 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 Popp

Re: [R] quantile function

2004-02-06 Thread Knut M. Wittkowski
.00 3.50 5.00 +Inf > x <- matrix(c(1:8)) > equalSizeClasses(x,c(0,.25,.5,.75,1)) 0% 25% 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 equ

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 probabilit

Re: [R] Cochran-Mantel-Haenszel problem

2003-12-11 Thread Knut M. Wittkowski
/less 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

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

2003-12-01 Thread Knut M. Wittkowski
gn test, rather than 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 thi

Re: [R] kruskal wallis for manova?

2003-11-21 Thread Knut M. Wittkowski
ihood 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ött

[R] qwilcox

2003-06-10 Thread Knut M. Wittkowski
p-value = 0.0317 > x1 <- c(1,2, 4,5,6 ) > x2 <- c(3, 7,8,9,10) > sum(x1) [1] 18 > sum(x2) [1] 37 R> wilcox.test(x1,x2,alternative="two.sided") Wilcoxon rank sum test: p-value = 0.05556 R> wilcox.exact(x1,x2,alternative="two.sided")

RE: [R] Rounding problem R vs Excel.

2003-06-05 Thread Knut M. Wittkowski
oint 97 and the viewer in more recent versions, 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

Re: [R] R summary (and quantiles)

2003-05-30 Thread Knut M. Wittkowski
27.08 why is ql in summary between x(6) und x(7)?? I have learned that 1st Qu. = q(0.25)... so i am a little confused. Thanks a lot Matze __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help Knut M. Wittkowski, PhD,DSc ---