Displaying 5 results from an estimated 5 matches for "karhunen".
2009 Sep 04
5
< 0 x 0 matrix >
Hi,
Does anybody know, what is going on here?
> diag(sqrt(1))
[,1]
[1,] 1
> diag(sqrt(0.3333))
<0 x 0 matrix>
> sqrt(1)
[1] 1
> sqrt(0.3333)
[1] 0.5773214
BR, Markku Karhunen
researcher
University of Helsinki
2012 Oct 12
3
Loss of dimensions in subsetting arrays
...5 2 # so now dim(B)[3] doesn't work
C=B[2,]
dim(C)
NULL # so now nrow(C) doesn't work
Typically, you can get rid of this by writing as.matrix, as.array(...)
but that generates extra lines of code. This is really annoying. Does
anybody know how to turn this behaviour off?
best,
Markku Karhunen
Uni. Helsinki
2007 Apr 16
2
Matrix manipulation
Hi,
This is a very basic question, but apparently I am too stupid for it.
I have a large matrix A, and I need to avoid for loops. How could I
apply a function f(a,r,c) on each element of A, using the subscript (row
and column) of a as the other arguments?
Thanks in advance,
Markku Karhunen
National Public Health Institute,
Finland
2008 Jan 22
1
ODE's in R
...is, in this kind of task, less reliable than
e.g. MatLab? We use just a simple discretisation written in a for loop
and a variable (i.e. user-fed) time step.
Maybe, I'm too neurotic about this, but I guess I just want some comfort
after seeing a few particularly nasty orbits.
Best,
Markku Karhunen
National Public Health Institute,
Finland
2012 Mar 11
1
CRAN (and crantastic) updates this week
CRAN (and crantastic) updates this week
New packages
------------
* EffectStars (1.0)
Maintainer: Unknown
Author(s): Gunther Schauberger
License: GPL-2
http://crantastic.org/packages/EffectStars
The package provides functions to visualize regression models with
categorical response. The effects of the covariates are plotted with
star plots in order to allow for an optical