search for: gorjanc

Displaying 20 results from an estimated 134 matches for "gorjanc".

2005 May 02
2
"Special" characters in URI
...ge: Biobase Loading required package: tools Welcome to Bioconductor Vignettes contain introductory material. To view, simply type: openVignette() For details on reading vignettes, see the openVignette help page. R> library(XML) R> tmp$term <- "gorjanc g[au]" R> tmp$URL <- "http://eutils.ncbi.nlm.nih.gov/entrez/eutils/esearch.fcgi?term=gorjanc g[au]" R> tmp $term [1] "gorjanc g[au]" $URL [1] "http://eutils.ncbi.nlm.nih.gov/entrez/eutils/esearch.fcgi?term=gorjanc g[au]" R> xmlTreeParse(tmp$URL, isURL...
2005 Feb 07
2
Programming/scripting with "expressions - variables"
...illy one but shows what I don't know how to do in R. %macro test(data, colname, colvalue); data &data; ... &colname="&colvalue"; other_&colname="other_&colvalue"; run; %mend; And if I run it with this call: %test(Gregor, Gorjanc, 25); I get a table with name 'Gregor' and columns 'Gorjanc', and 'other_Gorjanc' with values: Gorjanc other_Gorjanc "25" "other_25" So can one show me the way to do the same thing in R? Thanks! -- Lep pozdrav / With regards, Gregor GORJANC...
2005 Mar 25
4
Gmail invitation
Hello R users! I just found out that I have 49 invitations for Gmail (gmail.google.com). I have been using it now for a while and is really nice. Don't forget 1 GB for free. I will invite those who respond to this mail by FIFO. -- Lep pozdrav / With regards, Gregor Gorjanc ------------------------------------------------------------------------ University of Ljubljana Biotechnical Faculty URI: http://www.bfro.uni-lj.si/MR/ggorjan Zootechnical Department email: gregor.gorjanc <at> bfro.uni-lj.si Groblje 3 tel: +386 (0)1 72 17 861 SI-12...
2006 Jul 02
4
Test for argument in ...
...was given in foo1. Is it possible to test whether some argument was passed in "..." i.e. something like foo1 <- function(x, ...) { if(testForArgumentInThreeDots(arg1)) arg1 <- "some value" foo2(x, arg1=arg1, ...) } Thanks! -- Lep pozdrav / With regards, Gregor Gorjanc ---------------------------------------------------------------------- University of Ljubljana PhD student Biotechnical Faculty Zootechnical Department URI: http://www.bfro.uni-lj.si/MR/ggorjan Groblje 3 mail: gregor.gorjanc <at> bfro.uni-lj.si SI-1230 Domzale...
2005 Feb 22
6
Run Sweave and LaTeX directly from command line
...hose of you, who use Sweave a lot, will probably find my shell script usable. You can get it at: http://www.bfro.uni-lj.si/MR/ggorjan/programs/shell/Sweave.sh No warranty, however don't hesitate to contact me if you find an error or have a patch! -- Lep pozdrav / With regards, Gregor GORJANC --------------------------------------------------------------- University of Ljubljana Biotechnical Faculty URI: http://www.bfro.uni-lj.si Zootechnical Department mail: gregor.gorjanc <at> bfro.uni-lj.si Groblje 3 tel: +386 (0)1 72 17 861 SI-1230 Domzale...
2004 Dec 31
4
R-intro
...gestion mm <- data(morley) rm(fm, fm0) suggestion rm(fm, fm0, mm) objects(); rm(x, y, f, fa) suggestion objects(); rm(x, y, f, fa, oldpar) It might also be usefull to use # for comments, since it is easier to copy&paste to R terminal from manual. -- Lep pozdrav / With regards, Gregor GORJANC --------------------------------------------------------------- University of Ljubljana Biotechnical Faculty URI: http://www.bfro.uni-lj.si Zootechnical Department email: gregor.gorjanc <at> bfro.uni-lj.si Groblje 3 tel: +386 (0)1 72 17 861 SI-1230 Domzale...
2005 Feb 23
4
Sweave and \input or \include LaTeX commands
.... So, is it aware of such a possible hierarchy in documents. I would test that, but I don't have such a report available at the moment. I thought of that when I was writting shell script for Sweave from command line and I have solved that part there. -- Lep pozdrav / With regards, Gregor GORJANC --------------------------------------------------------------- University of Ljubljana Biotechnical Faculty URI: http://www.bfro.uni-lj.si Zootechnical Department email: gregor.gorjanc <at> bfro.uni-lj.si Groblje 3 tel: +386 (0)1 72 17 861 SI-1230 Domzale...
2005 Mar 27
3
F90
...manual 'Writing R Extensions' and successfully loaded one F77 subroutine in R for test and I had no problem. However, what is the strategy if one has a whole program i.e. main program + subroutines and wants to call it from R? Thanks in advance! -- Lep pozdrav / With regards, Gregor Gorjanc ------------------------------------------------------------------------ University of Ljubljana Biotechnical Faculty URI: http://www.bfro.uni-lj.si/MR/ggorjan Zootechnical Department email: gregor.gorjanc <at> bfro.uni-lj.si Groblje 3 tel: +386 (0)1 72 17 861 SI-12...
2005 Mar 27
3
F90
...manual 'Writing R Extensions' and successfully loaded one F77 subroutine in R for test and I had no problem. However, what is the strategy if one has a whole program i.e. main program + subroutines and wants to call it from R? Thanks in advance! -- Lep pozdrav / With regards, Gregor Gorjanc ------------------------------------------------------------------------ University of Ljubljana Biotechnical Faculty URI: http://www.bfro.uni-lj.si/MR/ggorjan Zootechnical Department email: gregor.gorjanc <at> bfro.uni-lj.si Groblje 3 tel: +386 (0)1 72 17 861 SI-12...
2004 Nov 12
4
How to get mode (the most frequent value in distribution)?
...basic thing but not mode function. Can anyone help? I know there my might be problems with multiple modes, but still I think that there should be a mode function in R. Please send mail to R-help list and me, so I can get response faster. Thank you! -- Lep pozdrav / With regards, Gregor GORJANC --------------------------------------------------------------- University of Ljubljana Biotechnical Faculty URI: http://www.bfro.uni-lj.si Zootechnical Department mail: gregor.gorjanc <at> bfro.uni-lj.si Groblje 3 tel: +386 (0)1 72 17 861 SI-1230 Domzale...
2005 Apr 24
4
Upgrading R
...people upgrade R on windows? For every patch? I know that it depends on the bug, but I would just like to hear what are your habits. I suppose Debian packages of "base R" are updated accordingly to R patches, aren't they? Thanks in advance! -- Lep pozdrav / With regards, Gregor Gorjanc ------------------------------------------------------------------------ University of Ljubljana Biotechnical Faculty URI: http://www.bfro.uni-lj.si/MR/ggorjan Zootechnical Department email: gregor.gorjanc <at> bfro.uni-lj.si Groblje 3 tel: +386 (0)1 72 17 861 SI-12...
2005 Apr 24
4
Upgrading R
...people upgrade R on windows? For every patch? I know that it depends on the bug, but I would just like to hear what are your habits. I suppose Debian packages of "base R" are updated accordingly to R patches, aren't they? Thanks in advance! -- Lep pozdrav / With regards, Gregor Gorjanc ------------------------------------------------------------------------ University of Ljubljana Biotechnical Faculty URI: http://www.bfro.uni-lj.si/MR/ggorjan Zootechnical Department email: gregor.gorjanc <at> bfro.uni-lj.si Groblje 3 tel: +386 (0)1 72 17 861 SI-12...
2006 Feb 10
8
Fitdistr and MLE for parameter lambda of Poisson distribution
...s <- sqrt(estimate/n) Is this MLE? With my poor math/stat knowledge I thought that MLE for Poisson parameter is (in mixture of LaTeX code) l(\lambda|x) \propto \sum^n_{i=1}(-\lambda + x_iln(\lambda)). Is this really equal to (\sum^n_{i=1} x_i) / n -- Lep pozdrav / With regards, Gregor Gorjanc ---------------------------------------------------------------------- University of Ljubljana PhD student Biotechnical Faculty Zootechnical Department URI: http://www.bfro.uni-lj.si/MR/ggorjan Groblje 3 mail: gregor.gorjanc <at> bfro.uni-lj.si SI-1230 Domzale...
2006 Mar 22
0
[Fwd: Re: levels for list and data.frame]
I unintentionally missed to cc to r-devel. -------- Original Message -------- Subject: Re: [Rd] levels for list and data.frame Date: Tue, 21 Mar 2006 20:50:21 +0100 From: Gregor Gorjanc <gregor.gorjanc at gmail.com> Reply-To: gregor.gorjanc at gmail.com To: Martin Maechler <maechler at stat.math.ethz.ch> References: <441F2C49.8080703 at gmail.com> <17439.50351.172900.987055 at stat.math.ethz.ch> Martin Maechler wrote: > Hi Gregor, > > before even...
2005 May 08
2
Extract just some fields from XML
...get anything usable from it. Here is something not very usable ;) PubDate <- function(x, ...) { print(x) } xmlEventParse(URL, isURL = TRUE, handlers=list(PubDate=PubDate), addContext = FALSE) Thanks in advance! Lep pozdrav / With regards, Gregor Gorjanc ---------------------------------------------------------------------- University of Ljubljana Biotechnical Faculty URI: http://www.bfro.uni-lj.si/MR/ggorjan Zootechnical Department mail: gregor.gorjanc <at> bfro.uni-lj.si Groblje 3 tel: +386 (0)1 72 17 861 SI-12...
2005 Jun 08
6
Random seed problem in MCMC coupling of chains
...is a bit to technical for me, but I think it also doesn't give identical seed for parallels. 'setRNG', especially it's function 'getRNG()' looks nice but its arguments should have seed stored. How can one do that? Thanks in advance! Lep pozdrav / With regards, Gregor Gorjanc ---------------------------------------------------------------------- University of Ljubljana Biotechnical Faculty URI: http://www.bfro.uni-lj.si/MR/ggorjan Zootechnical Department mail: gregor.gorjanc <at> bfro.uni-lj.si Groblje 3 tel: +386 (0)1 72 17 861 SI-12...
2007 May 19
4
GPG key for Ubuntu packages
Hi! Is anyone experiencing the following: $ gpg --keyserver subkeys.pgp.net --recv-key E2A11821 gpg: requesting key E2A11821 from hkp server subkeys.pgp.net gpg: keyserver timed out gpg: keyserver receive failed: keyserver error Regards, Gregor
2005 Jan 05
5
Converting integers to chars i.e 1 to "01"
...unction (see below), but I do not know how this limit stuff can be imporved to work really well with default. Any suggestions? int2char <- function(x, limit = max(x)) { # Description: # Converts integer to character such that numbers bellow limit get 0 in # front # Gregor GORJANC, 2005-01-05 # Arguments: # x: vector of numbers # limit: limit up to which numbers should get 0 in front, default # max(x) # Examples: # a <- seq(0, 20, 1) # int2char(a) # this does not work OK # int2char(a, limit = 10) # this does work OK #...
2006 Mar 28
6
Remove [1] ... from output
...8295162 0.209858040558174 0.304300333140418 0.105796672869474 0.743657597573474 0.409294542623684 0.825012607965618 0.282235795632005 0.21159387845546 0.620056127430871 0.337449935730547 0.754527133889496 0.280175548279658 Any hints how to solve my task? -- Lep pozdrav / With regards, Gregor Gorjanc ---------------------------------------------------------------------- University of Ljubljana PhD student Biotechnical Faculty Zootechnical Department URI: http://www.bfro.uni-lj.si/MR/ggorjan Groblje 3 mail: gregor.gorjanc <at> bfro.uni-lj.si SI-1230 Domzale...
2007 Dec 06
3
Warnings
...rch i486 os linux-gnu system i486, linux-gnu status major 2 minor 6.1 year 2007 month 11 day 26 svn rev 43537 language R version.string R version 2.6.1 (2007-11-26) -- Lep pozdrav / With regards, Gregor Gorjanc ---------------------------------------------------------------------- University of Ljubljana PhD student Biotechnical Faculty www: http://www.bfro.uni-lj.si/MR/ggorjan Zootechnical Department blog: http://ggorjan.blogspot.com Groblje 3 mail: gregor.gorjanc <at&...