Displaying 20 results from an estimated 67 matches for "kjernsmo".
2000 Jan 14
2
Matrix output from drawing functions
..., what am I getting...?
So, I went on to thinking that
> outer(10, 1:10, rpois)
would do the trick, but no.... Again, what am I getting?
So, is there a simple way of doing this...? If not, would it be reasonable
for me to request this as a feature in future releases?
Best,
Kjetil
--
Kjetil Kjernsmo
Graduate astronomy-student Problems worthy of attack
University of Oslo, Norway Prove their worth by hitting back
E-mail: kjetikj at astro.uio.no - Piet Hein
Homepage <URL:http://www.astro.uio.no/~kjetikj/>
Webmaster at skepsis.no...
2000 Nov 08
1
Re: [R] Strange means of numbers drawn from rpois (PR#729)
Kjetil Kjernsmo <kjetil.kjernsmo@astro.uio.no> writes:
> On 8 Nov 2000, Peter Dalgaard BSA wrote:
>
> >I'm not at all happy with this:
> >
> >Solaris :
> >> range(sapply(1:2000, function(n) mean(rpois(10000, 15.0))))
> >[1] 15.0524 15.3403
>
> Hm, OK, so it...
2013 Mar 06
8
Understanding lm-based analysis of fractional factorial experiments
...differs from effects() in the case of fractional factorial experiments,
and the other is the factor 1/4 between the coefficients used by Wu &
Hamada and the values returned by effects() as I would think from theory
I've read that it should be a factor 2.
Best regards,
Kjetil
--
Kjetil Kjernsmo
PhD Research Fellow, University of Oslo, Norway
Semantic Web / SPARQL Query Federation
kjekje at ifi.uio.no http://www.kjetil.kjernsmo.net/
2001 Feb 15
2
Reading single precision floats from binary file
...reading 20000 records,
indicating that it does read the file as double precision floats.
It is not clear to me what the last sentence in the notes for this
function means, and indeed not quite clear what the function does at all,
but I was hoping someone can enlighten me.
Best,
Kjetil
--
Kjetil Kjernsmo
Graduate astronomy-student Problems worthy of attack
University of Oslo, Norway Prove their worth by hitting back
E-mail: kjetikj at astro.uio.no - Piet Hein
Homepage <URL:http://www.astro.uio.no/~kjetikj/>
Webmaster at skepsis.no...
2000 Aug 04
1
Inverting matrix...
...look. However, I found that solve() was not mentioned, I found that
strange... Was something forgotten here? :-)
I found the answer to my question in V&R, so don't be bothered about that,
but I thought you'd like to be told when things are unclear in the docs.
Best,
Kjetil
--
Kjetil Kjernsmo
Graduate astronomy-student Problems worthy of attack
University of Oslo, Norway Prove their worth by hitting back
E-mail: kjetikj@astro.uio.no - Piet Hein
Homepage <URL:http://www.astro.uio.no/~kjetikj/>
Webmaster@skepsis.no
-.-.-...
2001 Nov 16
1
$name vs. [["name"]]
...gt; x[["col1"]]
[1] 1
Browse[1]> x[["col2"]]
[1] 3
Browse[1]> x$col2
NULL
it seems like the $name notation and the [["name"]] notation are
different, yet, what I understand from the intro, they should be
identical.
What's the deal?
Best,
Kjetil
--
Kjetil Kjernsmo
Graduate astronomy-student Problems worthy of attack
University of Oslo, Norway Prove their worth by hitting back
E-mail: kjetikj at astro.uio.no - Piet Hein
Homepage <URL:http://folk.uio.no/kjetikj/>
Webmaster at skepsis.no...
2001 Aug 02
1
Package GSS for interpolation in more than 2D?
...0, 1000, length=7))
what I want to do, is simply to interpolate the data in the smaller
data.frame so that I get a new data.frame where the three first coloumns
are identical to the larger data.frame and contains interpolated data at
the corresponding points.
Any advices?
Best,
Kjetil
--
Kjetil Kjernsmo
Graduate astronomy-student Problems worthy of attack
University of Oslo, Norway Prove their worth by hitting back
E-mail: kjetikj at astro.uio.no - Piet Hein
Homepage <URL:http://folk.uio.no/kjetikj/>
Webmaster at skepsis.no...
2000 Jul 11
1
q() problem and more.
Hi Rers,
W/o trying to make a long story short (I hope you read that correctly), I
have been working on a nice little R function ...
Somewhere along the line I got an error that refers to a max function in
my function (I think this is a vector vs. scalar issue):
Error in max(..., na.rm = na.rm) : invalid "mode" of argument
If that's not bad enough, even when I q() R and say
2000 Apr 26
1
Writing lgrindefs
...appears to be in use in most
definitions for other languages. Are there special conventions in use?
Other ideas?
I think lgrind is very nice in producing pretty code for LaTeX documents,
so I hope someone is interested in joining me in producing a good
definition file.
Best,
Kjetil
--
Kjetil Kjernsmo
Graduate astronomy-student Problems worthy of attack
University of Oslo, Norway Prove their worth by hitting back
E-mail: kjetikj at astro.uio.no - Piet Hein
Homepage <URL:http://www.astro.uio.no/~kjetikj/>
Webmaster at skepsis.no...
2000 Apr 26
1
Writing lgrindefs
...appears to be in use in most
definitions for other languages. Are there special conventions in use?
Other ideas?
I think lgrind is very nice in producing pretty code for LaTeX documents,
so I hope someone is interested in joining me in producing a good
definition file.
Best,
Kjetil
--
Kjetil Kjernsmo
Graduate astronomy-student Problems worthy of attack
University of Oslo, Norway Prove their worth by hitting back
E-mail: kjetikj at astro.uio.no - Piet Hein
Homepage <URL:http://www.astro.uio.no/~kjetikj/>
Webmaster at skepsis.no...
2001 Aug 08
1
Strategy for creating a palette...?
...0:255)/80), 0))
greenred2 <- greenred[c(1:160, 220:256)]
and use greenred2.
Any ideas...? Anybody got a pretty palette for this purpose? Also, I'd
like to tune the palette so that the break between green and red happens
at a value of e.g. 0.05. How would I do that?
Best,
Kjetil
--
Kjetil Kjernsmo
Graduate astronomy-student Problems worthy of attack
University of Oslo, Norway Prove their worth by hitting back
E-mail: kjetikj at astro.uio.no - Piet Hein
Homepage <URL:http://folk.uio.no/kjetikj/>
Webmaster at skepsis.no...
2000 May 25
4
Needed: Understading runif() output :-)
...resumably) of little
importance. However, I should understand what is going on here.... :-)
Finally, I may get a "loss of precision"-problem in my coding of my
quantile function, but I guess it is not that much of a concern.
Hope somebody can help me with this.
Best,
Kjetil
--
Kjetil Kjernsmo
Graduate astronomy-student Problems worthy of attack
University of Oslo, Norway Prove their worth by hitting back
E-mail: kjetikj at astro.uio.no - Piet Hein
Homepage <URL:http://www.astro.uio.no/~kjetikj/>
Webmaster at skepsis.no...
2000 Nov 08
3
Strange means of numbers drawn from rpois
...56154 13.900369
[15] 14.999378
and again:
> sapply(1:15, function(n) mean(rpois(1000000, n)))
[1] 0.998570 2.000155 2.999534 4.002987 4.997999 5.996326 6.996761
[8] 7.996728 8.997265 9.764972 10.793913 11.822874 12.859886 13.903846
[15] 15.000311
Weird....?
Best,
Kjetil
--
Kjetil Kjernsmo
Graduate astronomy-student Problems worthy of attack
University of Oslo, Norway Prove their worth by hitting back
E-mail: kjetikj at astro.uio.no - Piet Hein
Homepage <URL:http://www.astro.uio.no/~kjetikj/>
Webmaster at skepsis.no...
2000 May 02
16
R Documentation(s)
Dear all,
I am interested by the various messages sent to the r-help mailing list
these last few days about documentation on R. Yet, there are a lot of
issues actually open on this topic, and it is not clear to me what is the
"urgent need for documentation" on R.
R comes with the 'Introduction to R' by Venables et al. I recommend the
colleagues and students in my lab who are
2001 Jun 04
1
2D convolution
...understood the docs for convolve
correctly, it only works in 1D (and I have tried to convolve, it didn't
look good).
So, I wondered if anybody have implemented 2D convolution in R, or have
any good advices to share (beyond having a look at mvfft), before I go
hacking?
Best,
Kjetil
--
Kjetil Kjernsmo
Graduate astronomy-student Problems worthy of attack
University of Oslo, Norway Prove their worth by hitting back
E-mail: kjetikj at astro.uio.no - Piet Hein
Homepage <URL:http://www.astro.uio.no/~kjetikj/>
Webmaster at skepsis.no...
2000 Feb 13
1
Underflow warnings?
...> 1.0000000000000001 - 1
[1] 0
> 1.000000000000001 - 1
[1] 1.110223e-15
> 1.00000000000001 - 1
[1] 9.992007e-15
I guess many users are unaware of the potential problems caused by
underflow (i.e. garbage becoming significant), so perhaps R should issue
a warning?
Best,
Kjetil
--
Kjetil Kjernsmo
Graduate astronomy-student Problems worthy of attack
University of Oslo, Norway Prove their worth by hitting back
E-mail: kjetikj at astro.uio.no - Piet Hein
Homepage <URL:http://www.astro.uio.no/~kjetikj/>
Webmaster at skepsis.no...
2001 Apr 30
1
Some loglog density plot
...nsity.
I understand the point and I hope you will forgive my ignorance:
What alternatives do I have in R?
(In astronomy, which is full of power laws, loglog histograms are
not infrequently seen, I have resisted making them since this post, but it
is getting hard... :-) ).
Best,
Kjetil
--
Kjetil Kjernsmo
Graduate astronomy-student Problems worthy of attack
University of Oslo, Norway Prove their worth by hitting back
E-mail: kjetikj at astro.uio.no - Piet Hein
Homepage <URL:http://www.astro.uio.no/~kjetikj/>
Webmaster at skepsis.no...
2000 Feb 29
2
Reading data from file made by C fwrite
...istribution functions with a couple of
jumps, they would like to share, I'd be happy (I'm an astronomer with very
little training in statistics, so I'm uncertain whether I've got my code
right (while it returns the expected results, I have a bad feeling)).
Best,
Kjetil
--
Kjetil Kjernsmo
Graduate astronomy-student Problems worthy of attack
University of Oslo, Norway Prove their worth by hitting back
E-mail: kjetikj at astro.uio.no - Piet Hein
Homepage <URL:http://www.astro.uio.no/~kjetikj/>
Webmaster at skepsis.no...
2000 Jun 24
1
Garbage Collecting
...o.uio.no/~kjetikj/tmp/kjetil.RData>
I had a core dump (warning, 291MB), after killing R with wildly giving all
kinds of signals... (BREAK, QUIT, STOP, KILL) :-)
<URL:http://www.astro.uio.no/~kjetikj/tmp/Rcore1>, I don't know if it is
of much use.
Yours Confusedly,
Kjetil
--
Kjetil Kjernsmo
Graduate astronomy-student Problems worthy of attack
University of Oslo, Norway Prove their worth by hitting back
E-mail: kjetikj at astro.uio.no - Piet Hein
Homepage <URL:http://www.astro.uio.no/~kjetikj/>
Webmaster at skepsis.no...
2000 Nov 08
0
Re: [R] Strange means of numbers drawn from rpois (PR#730)
Kjetil Kjernsmo <kjetil.kjernsmo@astro.uio.no> writes:
> On 8 Nov 2000, Peter Dalgaard BSA wrote:
>
> >> > range(sapply(1:2000, function(n) mean(rpois(10000, c(15,15+1e-8)))))
> >> [1] 14.8692 15.1200
> >
> >AHA! Spotted, I think.
>
> Wow! Great, that was fast!...