Search String: Display: Description: Sort:

Results:

References: [ +from:petr.pikal@precheza.cz: 17 ]

Total 17 documents matching your query.

1. Re: Replacing NA with a particular value (score: 1)
Author: "Petr Pikal" <petr.pikal@precheza.cz>
Date: Thu, 23 Feb 2006 09:11:20 +0100
maybe you can use approx chr chr.pos abs.pos ratio 1 1 2500 3600 0.25 2 1 5600 7500 NA 3 2 1450 5200 NA 4 2 5000 7005 NA 5 2 6480 8754 0.25 6 2 5425 6542 NA 7 2 6000 8963 NA 8 2 6542 9512 0.32 apr<-
/archives/html/s-news/2006-02/msg00075.html (8,985 bytes)

2. Re: How to stack (score: 1)
Author: "Petr Pikal" <petr.pikal@precheza.cz>
Date: Mon, 19 Dec 2005 15:46:14 +0100
probably result <- do.call("c", your.list) dim(result) <- c(length(result)/2, 2) if I understand correctly. HTH Petr On 14 Dec 2005 at 14:35, Overstreet, Jason (FL51) wrote: From: "Overstreet, Jason
/archives/html/s-news/2005-12/msg00056.html (8,402 bytes)

3. Re: NA problem with aggregate (score: 1)
Author: "Petr Pikal" <petr.pikal@precheza.cz>
Date: Fri, 25 Nov 2005 15:00:15 +0100
r
/archives/html/s-news/2005-11/msg00068.html (9,720 bytes)

4. Re: comparing NA values (score: 1)
Author: "Petr Pikal" <petr.pikal@precheza.cz>
Date: Tue, 14 Jun 2005 13:03:41 +0200
everything is possible but I think you will need a special function. e.g. mytest<-function(x,y) { d<-length(x) testvec1<-is.na(x)+is.na(y) firstno<-which(x[testvec1==0]==y[testvec1==0]) secondno<-wh
/archives/html/s-news/2005-06/msg00053.html (8,805 bytes)

5. Re: Joining of two data-frames with keyfields (score: 1)
Author: "Petr Pikal" <petr.pikal@precheza.cz>
Date: Tue, 07 Sep 2004 09:41:13 +0200
8
/archives/html/s-news/2004-09/msg00037.html (9,763 bytes)

6. Re: get the number that occurs the most frequently. (score: 1)
Author: "Petr Pikal" <petr.pikal@precheza.cz>
Date: Thu, 16 Sep 2004 14:38:06 +0200
is 324Mb. -- Br
/archives/html/s-news/2004-09/msg00094.html (8,942 bytes)

7. Re: Extracting vector elements (score: 1)
Author: rian Ripley <ripley@stats.ox.ac.uk>
Date: Fri, 11 Jun 2004 09:14:47 +0200
Did you tried "table()" as Spencer suggested and did you look at the result? If yes, and the result does not suite your purpose can you give an example what you would like to achieve? Cheers Petr Pe
/archives/html/s-news/2004-06/msg00092.html (10,028 bytes)

8. Re: behavioural sequence (score: 1)
Author: "Petr Pikal" <petr.pikal@precheza.cz>
Date: Tue, 25 Feb 2003 13:53:18 +0100
or (x=="F")*1 or in one line rep(Achaz$Col1=="F", Achaz$Col2)*1 CheersPetr Pikal petr.pikal@precheza.cz p.pik@volny.cz
/archives/html/s-news/2003-02/msg00144.html (9,057 bytes)

9. Re: prolem (score: 1)
Author: "Petr Pikal" <petr.pikal@precheza.cz>
Date: Fri, 03 Jan 2003 15:02:38 +0100
If you want only names try names(coef(fit2)) If you want also t values or probability or some other numbers from summary table try summary(fit)$coef[,column number] (tested on R 1.6.1, I do not know
/archives/html/s-news/2003-01/msg00005.html (8,445 bytes)

10. Re: forcing intercept through zero (score: 1)
Author: "Petr Pikal" <petr.pikal@precheza.cz>
Date: Tue, 03 Dec 2002 08:14:42 +0100
Instead Call: lm(formula = y ~ x) Coefficients: (Intercept) x 0.08079 4.65938 try lm(y~x-1) Call: lm(formula = y ~ x - 1) Coefficients: x 4.666 Cheers Petr Pikal petr.pikal@precheza.cz p.pik@volny.c
/archives/html/s-news/2002-12/msg00016.html (7,025 bytes)

11. Re: Query: Time series plots in Splus (score: 1)
Author: "Petr Pikal" <petr.pikal@precheza.cz>
Date: Fri, 14 Jun 2002 08:56:51 +0200
Here is a function which works in R but it shall work in S+ too (maybe:-). You will have to make some improvements to label x axis according to your wish. -- plot.yy<-function(x,yright,yleft, yylab=c
/archives/html/s-news/2002-06/msg00115.html (10,294 bytes)

12. Re: Coding of factors (score: 1)
Author: "Petr Pikal" <petr.pikal@precheza.cz>
Date: Tue, 7 May 2002 14:40:58 +0200
I use R but there should be similar syntax for S+. [1] -1.25 -1.35 -1.00 0.25 0.35 1.00 1.25 [1] -1 -1 -1 1 1 2 2 Levels: -1 1 2 Maybe there is a better solution how to include border data to correct
/archives/html/s-news/2002-05/msg00048.html (8,335 bytes)

13. Re: Area under the curve (score: 1)
Author: "Petr Pikal" <petr.pikal@precheza.cz>
Date: Thu, 30 May 2002 14:49:42 +0200
I do not know exact function of trapz() but from the subject and F.Harrell's reply this remainds me what I use for numeric integration to find out area of a peak integ1<-function (x,y,dm=-Inf,hm=+Inf
/archives/html/s-news/2002-05/msg00210.html (8,163 bytes)

14. Re: Area between curves (score: 1)
Author: "Petr Pikal" <petr.pikal@precheza.cz>
Date: Tue, 17 Apr 2001 08:09:46 +0200
Actually I have only a functions for R which could be used in S+ (I hope) computing the area of a peak in some spectrum, so you mayby has to modify it a bit. And sorry they were not designed for pub
/archives/html/s-news/2001-04/msg00160.html (8,768 bytes)

15. Re: function outer() (score: 1)
Author: "Petr Pikal" <petr.pikal@precheza.cz>
Date: Thu, 20 Jul 2006 10:10:24 +0200
it is probably better to place this question on R-help list. Without knowing your function f it is not possible to tell exactly what is wrong, but probably the answer is in FAQ 7.17. HTH Petr Petr P
/archives/html/s-news/2006-07/msg00049.html (8,156 bytes)

16. Re: replacing values in a data frame (score: 1)
Author: "Petr Pikal" <petr.pikal@precheza.cz>
Date: Tue, 22 Aug 2006 09:40:58 +0200
data.frame[data.frame<20] <- NA works In R so maybe it work in S+ too. HTH Petr Petr Pikal petr.pikal@precheza.cz
/archives/html/s-news/2006-08/msg00056.html (7,442 bytes)

17. Re: For loop (score: 1)
Author: "Petr Pikal" <petr.pikal@precheza.cz>
Date: Mon, 09 Oct 2006 13:36:56 +0200
Well, I would prefer tapply so I will let **you** construct for loop for the calculation. x <- rpois(100, 3) y <- rep(1:ceiling(length(x)/12),each=12) tapply(x,y[1:100],sum) 1 2 3 4 5 6 7 8 9 38 37
/archives/html/s-news/2006-10/msg00007.html (8,284 bytes)


This search system is powered by Namazu