[R] Checkinstall and R-2.14.0

2011-11-14 Thread Andrej Kastrin
Dear all, I try to install the latest R version using checkinstall (v. 1.6.2) on Ubuntu 11.10. After solving all the dependencies (installed using apt-get build-dep r-base) checkinstall fails to build and install R package with the following error (the same commands build and install R-2.13.2

Re: [R] Nonparametric alternative to LDA

2010-02-09 Thread Andrej Kastrin
Classification trees (rpart package), but know too little about your problem... Best, Andrej On Feb 9, 5:50 pm, Robert Lonsinger wrote: > Can anybody recommend a nonparametric alternative to linear discriminant > function that may be available as a package in R? > > Cheers, > Rob > >         [[a

[R] Hypercube in R

2010-02-08 Thread Andrej Kastrin
Dear all, Does anybody have an idea or suggestion how to construct (plot) 4-dimensional hypercube in R. Thanks in advance for any pointers. Regards, Andrej __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do rea

Re: [R] running a .r script and saving the output to a file

2009-07-26 Thread Andrej Kastrin
Check out: http://akastrin.wordpress.com/category/r/ David Riebel wrote: Hello, I am running R under Ubuntu 8.04. I am trying to do numerous linear fits to various subsets of my data set. I am having trouble convincing R to send the output from these fits to text files from within a script. W

Re: [R] Superstring in text()

2009-07-26 Thread Andrej Kastrin
Sorry, there should be a caret symbol (^) between "R" and "2". Murray Pung wrote: I'd like to paste a superstring with a number in an object. Thanks for any help. Murray mycor <- cor(1:10,1:10) plot(1:10,1:10) text(8,2,paste(expression(R^2)," = ",mycor)) [[alternative HTML version d

Re: [R] Superstring in text()

2009-07-26 Thread Andrej Kastrin
mycor <- cor(1:10,1:10) plot(1:10,1:10) text(8,2,bquote(R^2 == .(mycor))) HTH, Andrej Murray Pung wrote: I'd like to paste a superstring with a number in an object. Thanks for any help. Murray mycor <- cor(1:10,1:10) plot(1:10,1:10) text(8,2,paste(expression(R^2)," = ",mycor)) [[alt

Re: [R] EM algorithm

2009-07-21 Thread Andrej Kastrin
Hi, two useful references for beginning: www.stat.umn.edu/geyer/5931/mle/mle.pdf www.unc.edu/~monogan/computing/r/MLE_in_R.pdf Andrej Elena 5/12 wrote: Hi, I have the following problem: I am working on assessing the accuracy of diagnostic tests. I have a log likelihood and 3 unknown paramete

Re: [R] Re al Time PCR data analysis help

2009-07-20 Thread Andrej Kastrin
Check out qpcR package. Andrej gauravbhatti wrote: Hi I need help since I have never worked on RT PCR data before . I have 8 data files each corresponding to a single pcr run. Each file also represent 10 samples(5 cancer and 5 healthy) belonging to a unique gene. I have 7 unique genes and 1 r

Re: [R] how to run the R script in background in Windows XP?

2009-07-18 Thread Andrej Kastrin
Check out http://akastrin.wordpress.com/2009/06/18/batch-processing-with-r/ HTH, Andrej On Jul 18, 6:04 am, Gabor Grothendieck wrote: > Check out: > > ?Rscript > > > > On Fri, Jul 17, 2009 at 10:14 PM, Jie TANG wrote: > > Hello ,everyone. > > >  I am a fresh user of R. I wrote several several R

[R] Compare matrices

2009-01-19 Thread Andrej Kastrin
Dear all, Suppose that I have a matrix A A <- matrix(c(3,3,3,3,3,3,3,3,3),3,3) and a logical matrix B B <- matrix(c(T,T,T,F,T,T,F,T,F),3,3) The result matrix should be C <- matrix(c(3,3,3,NA,3,3,NA,3,NA),3,3) Is there any simple tip or trick to perform this without looping? Thank

[R] PRESS alternative

2009-01-12 Thread Andrej Kastrin
Dear all, Using lm models one can calculate predicted residual sum of squares (PRESS) statistic to select appropriate number of prediction variables in lm model. Is there any alternative to PRESS statistic for lda (linear discriminant analysis) model where predicted outcome variable is categ

[R] Ability estimates for partial credit model

2008-09-18 Thread Andrej Kastrin
Dear all, I'm working on ability estimates using Rasch model. Using the "ltm" package, the procedure is quite simple: ## Factor Scores for the Rasch model fit <- rasch(LSAT) factor.scores(fit) What about Partial Credit Model (PCM)? For PCM I use PCM function from eRm package. Is there any si

[R] Ability estimates for partial credit model

2008-09-18 Thread Andrej Kastrin
Dear all, I'm working on ability estimates using Rasch model. Using the "ltm" package, the procedure is quite simple: ## Factor Scores for the Rasch model fit <- rasch(LSAT) factor.scores(fit) What about Partial Credit Model (PCM)? For PCM I use PCM function from eRm package. Is there any si

[R] Mountain visualization

2008-08-08 Thread Andrej Kastrin
Dear all, I'm working on mountain visualization in gCLUSO program (http://www-users.cs.umn.edu/~mrasmus/gcluto/index.shtml). Does anyone of you know, if three exist any analogy in R? Best regards, Andrej __ R-help@r-project.org mailing list https:/