search for: uhkel

Displaying 8 results from an estimated 8 matches for "uhkel".

Did you mean: hkel
2006 Sep 28
3
Evaluation of defaults in functions
Hello, and sorry if this is already explained somewhere. I couldn't find anything. R (2.3.1, Windows) seems to perform some kind of lazy evaluation when evaluating defaults in function calls that, at least for me, leads to unexpected results. Consider the following, seemingly equivalent functions: > foo1 <- function(x, y=x) { + x <- 0 + y + } > foo1(1) [1] 0 > foo2
2006 Jun 07
4
Edit function
Dear all R users, I have a query on "Edit" function. Suppose I have a data frame named "data". I can use EDIT function to see the materials contained in data, by using the command: > edit(data) But when I close the window then again the materials contained in data is displayed in the command window. But I do not want to see these materials again. Can
2006 Jul 18
3
Test for equality of coefficients in multivariate multiple regression
Hello, suppose I have a multivariate multiple regression model such as the following: > DF<-data.frame(x1=rep(c(0,1),each=50),x2=rep(c(0,1),50)) > tmp<-rnorm(100) > DF$y1<-tmp+DF$x1*.5+DF$x2*.3+rnorm(100,0,.5) > DF$y2<-tmp+DF$x1*.5+DF$x2*.7+rnorm(100,0,.5) > x.mlm<-lm(cbind(y1,y2)~x1+x2,data=DF) > coef(x.mlm) y1 y2 (Intercept)
2010 Oct 07
1
Ubuntu Lucid: no amd64 r-base-core on CRAN
I just tried to install r-base on an AMD64 system but got complaints from aptitude that r-base is broken. The reason seems to be that there currently is no AMD64 version of r-base-core on CRAN, only r-base-core_2.11.1-7lucid0_i386.deb. I managed to find a mirror that still had version 2.11.1-5lucid0 which installed without problems.
2006 May 29
0
Two problems with write.foreign (SPSS)
Hello, Working on a little primer to ease the transition from SPSS to R, I have encountered two problems with write.foreign. One is cosmetic (but still annoying): the text data files will contain "NA" for missing values. Each time SPSS encounters an NA, it will print a warning. This could be easily avoided by calling write.table (which I suppose write.foreign uses) with
2008 Dec 08
2
Ubuntu 8.10: Package installation fails (lf77blas problem)
I just upgraded to Ubuntu 8.10 (i386) from 8.04. After the upgrade, I ran update.packages(.libPaths()[1]) in R to get the packages installed from source up to date too. Unfortunately, two packages could not be updated: mclust and mboost. In both cases, the error I got mentioned lf77blas. Here's the output for mboost: * Installing *source* package 'mboost' ... ** libs gcc -std=gnu99
2005 Dec 22
2
bVar slot of lmer objects and standard errors
Hello, I am looking for a way to obtain standard errors for emprirical Bayes estimates of a model fitted with lmer (like the ones plotted on page 14 of the document available at http://www.eric.ed.gov/ERICDocs/data/ericdocs2/content_storage_01/0000000b/80/2b/b3/94.pdf). Harold Doran mentioned (http://tolstoy.newcastle.edu.au/~rking/R/help/05/08/10638.html) that the posterior modes' variances
2010 Jan 07
7
Strange behaviour of as.integer()
I have encountered a strange behaviour of as.integer() which does not seem correct to me. Sorry if this is just an indication of me not understanding floating point arithmetic. > .57 * 100 [1] 57 > .29 * 100 [1] 29 So far, so good. But: > as.integer(.57 * 100) [1] 56 > as.integer(.29 * 100) [1] 28 Then again: > all.equal(.57 * 100, as.integer(57)) [1] TRUE > all.equal(.29 *