Displaying 20 results from an estimated 169 matches for "erasmusmc".
Did you mean:
erasmus
2010 Nov 09
3
Row-wise recurive function call
Dear Group,
I have a following dataset:
> a
A B C D
1 22 3 31 40
2 26 31 36 32
3 3 7 49 16
4 24 40 27 26
5 20 45 47 0
6 34 43 11 18
7 48 48 24 2
8 3 16 39 48
9 20 49 7 21
10 17 36 47 10
> dput(a)
structure(list(A = c(22L, 26L, 3L, 24L, 20L, 34L, 48L, 3L, 20L,
17L), B = c(3L, 31L, 7L, 40L, 45L, 43L, 48L, 16L, 49L, 36L),
C = c(31L, 36L, 49L, 27L, 47L, 11L, 24L,
2010 Nov 07
3
regular exprs
...but I haven't managed to succeed.
Thanks in advance.
Best,
Dimitris
--
Dimitris Rizopoulos
Assistant Professor
Department of Biostatistics
Erasmus University Medical Center
Address: PO Box 2040, 3000 CA Rotterdam, the Netherlands
Tel: +31/(0)10/7043478
Fax: +31/(0)10/7043014
Web: http://www.erasmusmc.nl/biostatistiek/
2010 Oct 07
1
venneuler() - customize a few things.
...circle labels?
-suppress only certain circle labels?
-print specific text strings at specified locations within the circles?
and unions?
-specify circle colors?
-specify label font, size & color?
All thoughts and response's greatly appreciated, cheers,
Karl
--
Karl Brand <k.brand at erasmusmc.nl>
Department of Genetics
Erasmus MC
Dr Molewaterplein 50
3015 GE Rotterdam
P +31 (0)10 704 3409 | F +31 (0)10 704 4743 | M +31 (0)642 777 268
2008 May 08
1
Reading multiple tables from file
...e,
but would rather be able to process
the output files directly.
Thanks,
Gerrit.
--
Gerrit Draisma
Department of Public Health
Erasmus MC, University Medical Center Rotterdam
Room AE-103
P.O. Box 2040 3000 CA Rotterdam The Netherlands
Phone: +31 10 7043124 Fax: +31 10 010-7038474
http://mgzlx4.erasmusmc.nl/pwp/?gdraisma
2007 Aug 01
2
Simple table with frequency variable
...only once.
How does one get a table with the corresponding N's?
Thanks!
Gerrit.
--
Gerrit Draisma
Department of Public Health
Erasmus MC, University Medical Center Rotterdam
Room AE-103
P.O. Box 2040 3000 CA Rotterdam The Netherlands
Phone: +31 10 4087124 Fax: +31 10 4638474
http://mgzlx4.erasmusmc.nl/pwp/?gdraisma
2010 Dec 01
1
attempted merge() returns: cannot coerce type 'closure' to vector of type 'any'
...)
[1] "matrix"
[1] "matrix"
Any idea why i cant use merge() in the normal way here? I'm forced to
add the column using:
temp.b <- cbind(x, y[match(rownames(x), rownames(y)),17])
All insights appreciated for this leaRner,
cheers,
Karl
--
Karl Brand <k.brand at erasmusmc.nl>
Department of Genetics
Erasmus MC
Dr Molewaterplein 50
3015 GE Rotterdam
P +31 (0)10 704 3211 | F +31 (0)10 704 4743 | M +31 (0)642 777 268
2008 Sep 17
5
Loop on vector name
[My previous message rejected, therefore I am sending same one with some modification]
I have 3 vectors with object name : dat1, dat2, dat3
Now I want to create a loop, like :
for (i in 1:3)
{
cat(sd(dati))
}
How I can do this in R?
Regards,
2006 May 15
1
Memory allocation fails in R 2.2.1 and R 2.3.0 on SGI Irix, while plenty of memory available (PR#8861)
...ld have set,
I think this is a bug.....
With kind regards,
Mirjam van Vroonhoven
--
Dr. Mirjam van Vroonhoven
system administrator/programmer, dept. of Bioinformatics
Erasmus Medical Center, Rotterdam, The Netherlands
Room Number Ee 15.32, phone +31-10-463 81 11
Web: http://www.erasmusmc.nl/bioinformatics/
E-mail: m.vroonhoven at erasmusmc.nl
2012 Nov 01
3
convert list without same component length to matrix
Hi,
I have this lame question. I want to convert a list (each with varies in
length) to matrix with same row length by eliminating vectors outside the
needed range.
For example:
l<-list(NULL)
l[[1]]=1,2,3.7
l[[2]]=3,4,5,6,3
l[[3]]=4,2,5,7
l[[4]]=2,4,6,3,2
l[[5]]=3,5,7,2
#so say I want to only have 4 rows and 5 column in my matrix (or
data.frame) and eliminating the 5th index value in l[[2]]
2010 Dec 07
3
understanding output of tapply/by cumsum
...e individual cumsum values?
# and assign them to d$Sn?
--------------
Thanks,
Gerrit.
---
Gerrit Draisma
Department of Public Health
Erasmus MC, University Medical Center Rotterdam
Room AE-235
P.O. Box 2040 3000 CA Rotterdam The Netherlands
Phone: +31 10 7043787 Fax: +31 10 7038474
http://mgzlx4.erasmusmc.nl/pwp/?gdraisma
2012 Apr 20
3
Matrix multiplication by multple constants
Dear R helpers
Suppose
x <- c(1:3)
y <- matrix(1:12, ncol = 3, nrow = 4)
> y
[,1] [,2] [,3]
[1,] 1 5 9
[2,] 2 6 10
[3,] 3 7 11
[4,] 4 8 12
I wish to multiply 1st column of y by first element of x i.e. 1, 2nd column of y by 2nd element of x i.e. 2 an so on. Thus the resultant matrix should be like
> z
[,1] [,2] [,3]
[1,] 1
2005 Aug 11
2
question
...wnloadable version?
Kind regards, wilfred
--
Dr. Ir. Wilfred Van IJcken
Labmanager Genomics
Erasmus Center for Biomics, Erasmus MC
P.O. Box 1738, 3000 DR Rotterdam
Dr. Molewaterplein 50, 3015 GE Rotterdam
The Netherlands
Tel +31 (0) 10 40 88 454
Fax +31 (0) 10 40 89 468
www.erasmusmc.nl/biomics <http://www.erasmusmc.nl/biomics>
2009 Jun 06
1
correct line types in lattice legends
Hallo R-users,
I do not understand how to specify the correct
line and symbol types in the legends of a lattice xyplot.
This is what I tried, but the line types and symbol in the
graph are not seen in the legend.
Any help is appreciated.
Thanks,
Gerrit.
library(lattice)
s<-rep(1:3,len=10)
x<- 1:10
y<- x+s+rnorm(10)
d<-data.frame(s,x,y)
xyplot(y~x, groups=s,data=d,
2008 Jul 30
1
Unexpected line type in lattice plot key on pdf device
...key=list(points=F,lines=T,columns=2, type="o",divide=1))
# dev.off()
-------
--
Gerrit Draisma
Department of Public Health
Erasmus MC, University Medical Center Rotterdam
Room AE-103
P.O. Box 2040 3000 CA Rotterdam The Netherlands
Phone: +31 10 7043124 Fax: +31 10 7038474
http://mgzlx4.erasmusmc.nl/pwp/?gdraisma
2013 Apr 18
1
snow: cluster initialization
...lso tried:
cl = makeCluster(rep('localhost', ncore), type='SOCK')
cl = makeCluster(rep('localhost', as.integer(ncore)), type='SOCK')
no luck.
Could anyone please help? Thanks!
Best regards,
Kaiyin ZHONG
------------------------------
FMB, Erasmus MC
k.zhong@erasmusmc.nl
kindlychung@gmail.com
[[alternative HTML version deleted]]
2013 Apr 18
1
parSapply can't find function
...# r = sapply(k, function(i) predR(x, i))
}
r = testK()
stopCluster(cl)
Here is the error:
Error in checkForRemoteErrors(val) :
8 nodes produced errors; first error: could not find function "predR"
Best regards,
Kaiyin ZHONG
------------------------------
FMB, Erasmus MC
k.zhong@erasmusmc.nl
kindlychung@gmail.com
[[alternative HTML version deleted]]
2010 Jul 19
1
heatmap.2() yielding an inappropriate key?
...col = c(heat.colors(4, alpha = 1), "gray"),
breaks = c(0, 0.01, 0.05, 0.075, 0.1, 1),
trace = "none",
dendrogram = "none",
density.info = "none",
margins=c(12, 8))
--
Karl Brand <k.brand at erasmusmc.nl>
Department of Genetics
Erasmus MC
Dr Molewaterplein 50
3015 GE Rotterdam
P +31 (0)10 704 3409 | F +31 (0)10 704 4743 | M +31 (0)642 777 268
2011 Aug 23
4
Correlation discrepancy
Dear R list, I have one very elementary question regrading correlation between two variables.
x = c(44,46,46,47,45,43,45,44)
y = c(44,43,41,41,46,48,44,43)
> cov(x, y)
[1] -2.428571
However, if I try to calculate the covariance using the formula as
covariance = sum((x-mean(x))*(y-mean(y)))/8 # no of of paired obs. = 8
or
covariance = sum(x*y)/8-(mean(x)*mean(y))
gives
2018 May 22
0
Nelson-Aalen Estimator in R: Error Message
...over) which will dump you into the browser() environment when the error occurs and you can oka around and see what the value of variables was at the point of the error. This could give you a clue about what is going on.
-pd
> On 22 May 2018, at 15:29 , A.C. van der Burgh <a.c.vanderburgh at erasmusmc.nl> wrote:
>
> Dear all,
>
> Currently, I am doing a research project about serum sodium levels and falling. I am doing my analysis in R. I am performing the multiple imputation right now. I want to perform a survival analysis later, but therefore I need to specify the Nelson-Aalen...
2018 May 22
2
Nelson-Aalen Estimator in R: Error Message
Dear all,
Currently, I am doing a research project about serum sodium levels and falling. I am doing my analysis in R. I am performing the multiple imputation right now. I want to perform a survival analysis later, but therefore I need to specify the Nelson-Aalen estimator. My dataset is called DF1, the event indicator is Falls and the time variable is Time. The code that I use is as follows: