Displaying 3 results from an estimated 3 matches for "obergeschoss".
2024 Feb 28
1
[EXT] Initializing vector and matrices
...gt; PLEASE do read the posting guide
> http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
--
Eik Vettorazzi
Universit?tsklinikum Hamburg-Eppendorf
Institut f?r Medizinische Biometrie und Epidemiologie
Christoph-Probst-Weg 1
4. Obergeschoss, Raum 04.1.021.1
20246 Hamburg
Telefon: +49 (0) 40 7410 - 58243
Fax: +49 (0) 40 7410 - 57790
Web: www.uke.de/imbe
Webex: https://webteaching-uke.webex.com/meet/e.vettorazzi
--
_____________________________________________________________________
Universit?tsklinikum Hamburg-Eppendorf; K...
2024 Feb 29
1
[EXT] Initializing vector and matrices
Hello Eik:
Thanks. I do not need to sample. Essentially, I have a do loop which
produces 24 vectors of length of some length (say k=300) and 24 matrices
of 300x300. Then, I simply need to? take the averages of these 24
vectors and matrices:
x=(x1+x2+...+x24)/k
y=(y1+y2+...+y24)/k
I am just looking for ways to do this in a do loop, which requires
initialization (to 0's) of x and y. My
2024 Feb 28
3
Initializing vector and matrices
Is there as way to initialize a vector (matrix) with an unknown length
(dimension)? NULL does not seem to work. The lines below work with a
vector of length 4 and a matrix of 4 x 4. What if I do not know
initially the length/dimension of the vector/matrix?
All I want is to add up (accumulate)? the vector and matrix as I go
through the loop.
Or, are there other ways to accumulate such vectors