search for: kjetilh

Displaying 20 results from an estimated 30 matches for "kjetilh".

Did you mean: kjetil
2002 Apr 01
3
svd, La.svd (PR#1427)
(I tried to send this earlier, but it doesnt seem to have come through, due to problems on my system) Hola: Both cannot be correct: > m <- matrix(1:4, 2) > svd(m) $d [1] 5.4649857 0.3659662 $u [,1] [,2] [1,] -0.5760484 -0.8174156 [2,] -0.8174156 0.5760484 $v [,1] [,2] [1,] -0.4045536 0.9145143 [2,] -0.9145143 -0.4045536 > La.svd(m) $d [1]
2002 Aug 28
2
Package foreign
....in example data <- read.spss("c:/data.sav",use.value.label=F,to.data.frame=T) try help(read.spss) ! regards,christian kjetilh at umsanet.edu.bo schrieb am 28.08.02 02:08:39: > Hola! > > Can the foreign package now read data from spss 10? > > Kjetil Halvorsen > -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- > r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hor...
2002 Jan 07
3
cluster - clusplot.default (PR#1249)
The following code in clusplot.default (package cluster) is in error: x1 <- cmdscale(x, k = 2, eig = TRUE) var.dec <- sum(x1$eig)/sum(diag(x1$x)) if (var.dec < 0) var.dec <- 0 if (var.dec > 1) var.dec <- 1 x1 <- x1$points x1 has components with names "points" and "eig", not "x", so
2001 Oct 26
3
warnings --- wish/bug (PR#1148)
When R prints warnings, they often go "out of the line", it would be better if they where wrapped with writeLines(strwrap ... I tried to do that , changing the function warnings, but it has only effect when called explicitely, not when R prints the warnings unasked. Anyhow, here is the changed warnings: warnings <- function (...) { if (!(n <- length(last.warning)))
2002 Apr 10
11
Newsgroup
This morning I had 37 messages from the r-help list in my mailbox. I think its becoming excessive for an e-mail list. I wonder if whoever looks after this list could either move or gateway it to a usenet group? That would also eliminate the need for special purpose archiving and searching facilities since the site: http://groups.google.com would automatically provide that. That site also
2001 Sep 27
4
using the pfe editor with R 1.1.3 under windows 2000
I am in the process of setting up R1.3.1 on a new computer running windows 2000. I am having problems running the PFE text editor simultaneously within R for editing functions and outside R for editing ordinary text files. The PFE editor behaves as I expected, if it is opened in R AND but no other PFE window is open outside R. Similarly, it also works fine if I am editing a text file outside
2002 Dec 02
1
Monte Carlo chisq test
Dear all, I have a question about the chisq.test command. As an option one can chose the computation of p-values by Monte-Carlo simulation (simulate.p.value=T). Is there any documentation available how this calculations are done and how this simulation based test behaves in small samples? Thanks Klaus Abberger University of Konstanz, Germany [[alternate HTML version deleted]]
2002 Apr 01
1
An introduction to R (PR#1426)
(I sent this earlier, but it seems not to have come through, due to problems witkh my system) The following command from appendix A, "a sample session", isnt correct: contour(x, y, fa, nint=15) when used R protests: Warning message: parameter "nint" couldn't be set in high-level plot() function it should probably be nlevels, as used a few lines before. This is
2002 Dec 04
1
documentation bug in (ctest) chisq.test (PR#2346)
chisq.test with simulate.p.value=TRUE uses the Patefield algorithm, this is not documented, and the original reference is not given, as it ought to be. The reference is: Patefield,W. M. (1981) An efficient method of generating r * c tables with given row and column totals (algorithm AS 159). Applied Statistics 30, 91-97. Kjetil Halvorsen
2001 Sep 27
2
on.exit
Hola! look at the following: > test <- function() { + options(warn=-1) + on.exit( options(warn=0)) + log(-1) + } > test() [1] NaN but what should be better, doesnt work: > test1 <- function() { + oldwarn <- options("warn") + options(warn=-1) + on.exit( options(warn=oldwarn)) + log(-1) + } > test1() Error in options(...) : warn parameter
2002 Nov 01
0
Re: gregmisc version 0.7.3 now available
> From: kjetil halvorsen [mailto:kjetilh at umsanet.edu.bo] > > Martin Hoyle wrote: > > > > Dear Greg, > > Thanks for the new release. The decomposition of the SSQ is > just what I need! > > > I thought decomposition of the SSQ can be obtained with the split= > argument to summary.aov? That argum...
2001 May 04
1
scoping error in xy.coords (PR#932)
Hola! > rm(list=ls(all=TRUE)) > x <- 1:20 > y <- 1+x+rnorm(x) > xy.coords(y ~ x,NULL) ... expected output, correct, but when called from inside lowess: > lowess(y ~ x) Error in xy.coords(x, y) : x and y lengths differ > debug(xy.coords) > lowess(y ~ x) debugging in: xy.coords(x, y) ... long listing deleted if (is.language(x)) { if (inherits(x,
2001 Oct 26
1
postscript problem (PR#1147)
I reported this earlier, and have got reports that others have the same promlem on UNIX machines, so it is not only a windows problem S I file a bug report. The function (boot.stat) given at the end produces a postscript file, which cannot be included correctly in LaTeX. Specifically, the image in LaTeX (when translated by dvips to postscript) becomes very small, not using the bounding box, and
2000 Jul 24
1
scoping problems (PR#614)
I am resubmitting this to r-bugs, since Thomas Lumley indicates that it might be an error: On Wed, 5 Jul 2000, Thomas Lumley wrote: > On Wed, 5 Jul 2000, halvorsen wrote: > > > Hola! > > > > I have the following simple function: > > > > > testcar > > function(pow){ > > ob <- glm(Pound~CG+Age+Vage,data=car,weights=No, > >
2002 Sep 23
4
How do I change plot colors in bwplot
Hello, I'm using bwplot to make a few plots. The plots are exactly what I need, but are coming out with a grey background and turquoise boxes and whiskers. I cannot figure out how to just get black and white to be the default. Can anyone help me with this? Thanks Kenneth E. Nussear Phone 775 784-1703 Ecology, Evolution and FAX 775 784-1369
2002 Jun 07
1
Bug list summary (automatic post)
...s From: Peter Dalgaard BSA <pd@pubhealth.ku.dk> Date: Wed, 27 Jun 2001 11:54:06 +0200 * PR# 1045 * Subject: Palette changes on redraw From: Peter Dalgaard BSA <p.dalgaard@biostat.ku.dk> Date: 08 Aug 2001 19:08:01 +0200 * PR# 1147 * Subject: postscript problem From: kjetil halvorsen <kjetilh@umsanet.edu.bo> Date: Fri, 26 Oct 2001 15:23:45 -0400 --This seems to be a problem with screen/layout rather than postscript. * PR# 1161 * Subject: x-axis label in persp() From: Rolf Turner <rolf@maths.uwa.edu.au> Date: Wed, 7 Nov 2001 18:07:22 +0800 (WST) * PR# 1207 * Subject: boxplot lab...
2002 Jul 07
1
Bug list summary (automatic post)
...s From: Peter Dalgaard BSA <pd@pubhealth.ku.dk> Date: Wed, 27 Jun 2001 11:54:06 +0200 * PR# 1045 * Subject: Palette changes on redraw From: Peter Dalgaard BSA <p.dalgaard@biostat.ku.dk> Date: 08 Aug 2001 19:08:01 +0200 * PR# 1147 * Subject: postscript problem From: kjetil halvorsen <kjetilh@umsanet.edu.bo> Date: Fri, 26 Oct 2001 15:23:45 -0400 --This seems to be a problem with screen/layout rather than postscript. * PR# 1161 * Subject: x-axis label in persp() From: Rolf Turner <rolf@maths.uwa.edu.au> Date: Wed, 7 Nov 2001 18:07:22 +0800 (WST) * PR# 1207 * Subject: boxplot lab...
2002 Aug 21
1
Bug list summary (automatic post)
...s From: Peter Dalgaard BSA <pd@pubhealth.ku.dk> Date: Wed, 27 Jun 2001 11:54:06 +0200 * PR# 1045 * Subject: Palette changes on redraw From: Peter Dalgaard BSA <p.dalgaard@biostat.ku.dk> Date: 08 Aug 2001 19:08:01 +0200 * PR# 1147 * Subject: postscript problem From: kjetil halvorsen <kjetilh@umsanet.edu.bo> Date: Fri, 26 Oct 2001 15:23:45 -0400 --This seems to be a problem with screen/layout rather than postscript. * PR# 1161 * Subject: x-axis label in persp() From: Rolf Turner <rolf@maths.uwa.edu.au> Date: Wed, 7 Nov 2001 18:07:22 +0800 (WST) * PR# 1207 * Subject: boxplot lab...
2002 Sep 21
1
Bug list summary (automatic post)
...s From: Peter Dalgaard BSA <pd@pubhealth.ku.dk> Date: Wed, 27 Jun 2001 11:54:06 +0200 * PR# 1045 * Subject: Palette changes on redraw From: Peter Dalgaard BSA <p.dalgaard@biostat.ku.dk> Date: 08 Aug 2001 19:08:01 +0200 * PR# 1147 * Subject: postscript problem From: kjetil halvorsen <kjetilh@umsanet.edu.bo> Date: Fri, 26 Oct 2001 15:23:45 -0400 --This seems to be a problem with screen/layout rather than postscript. * PR# 1161 * Subject: x-axis label in persp() From: Rolf Turner <rolf@maths.uwa.edu.au> Date: Wed, 7 Nov 2001 18:07:22 +0800 (WST) * PR# 1207 * Subject: boxplot lab...
2000 Jul 05
1
Scoping problem
Hola! I have the following simple function: > testcar function(pow){ ob <- glm(Pound~CG+Age+Vage,data=car,weights=No, subset=No>0,family=quasi(link=power(pow),var=mu^2)) deviance(ob) } But trying to run it gives: > testcar(1/2) Error in power(pow) : Object "pow" not found I have tried to use debug on testcar, but what I can find