with R' by (surprise, surprise) me,
published by OUP a few months ago.
b.r.
Bendix Carstensen
Senior Statistician
Steno Diabetes Center Copenhagen
Clinical Epidemiology
Niels Steensens Vej 2-4
DK-2820 Gentofte
Denmark
tel: +45 30 91 29 61
b...@bxc.dk
bendix.carsten...@reg
In the Epi package is a function, Relevel (note the capital R), that does
general reordering and combination of factor levels.
Bendix Carstensen
maintainer of Epi
__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch
To: Bendix Carstensen; r-help@r-project.org
Subject: RE: xtabs ignores l.h.s. rows with NA in just one column - bug or
facility?
The documentation describes how to control the behavior of missing values:
> xtabs( cbind(xx,yy) ~ ff, addNA=TRUE)
ff xx yy
a 17
b 55 66
But of course, now
I would have guessed the upper left entry would be 17 in the first instance
too, but it appears that xtabs does something like complete.cases() on the
l.h.s. before summing. At least this should be in the description.
Am I missing something here?
Bendix Carstensen
Steno Diabetes Center Copenhagen
orm(100)
x <- rnorm(100)
k <- -1:1
ml <- lm( y ~ bs(x,knots=k) )
mg <- glm( y ~ bs(x,knots=k) )
all.vars(ml$terms)
all.vars(mg$terms)
all.vars(mg$formula)
Fra: Marc Girondot
Sendt: 8. marts 2018 06:26
Til: Bendix Carstensen; r-help@r-project.o
+ f:I(x^2) , offset=log(Y) ,
family=poisson, data=dd)
mi <- glm( D ~ ns(x,knots=1:2,Bo=c(0,5)) + f:I(x^2) + offset(log(Y)),
family=poisson, data=dd)
attr(mx$terms,"dataClasses")
attr(mi$terms,"dataClasses")
mi$xlevels
mx$xlevels
...so far not quite there.
Regards,
B
I would like to generate a natural spline where the slope beyond the last knot
(the right outer knot) is constrained to be 0.
Is that available in some package around?
_
Bendix Carstensen
Senior Statistician
Steno Diabetes Center
Clinical Epidemiology
Niels Steensens Vej 2-4
Bendix
__
Bendix Carstensen
Senior Statistician
Epidemiology
Steno Diabetes Center A/S
Niels Steensens Vej 2-4
DK-2820 Gentofte
Denmark
+45 44 43 87 38 (direct)
+45 30 75 87 38 (mobile)
b...@steno.dkhttp://BendixCarstensen.com
www.steno.dk
This e-mail (including any attachmen
Does anyone have a piece of R-code that draws a nice picture of a (piece of a)
DNA double helix?
B.r.
Bendix
_
Bendix Carstensen
Senior Statistician
Epidemiology
Steno Diabetes Center A/S
Niels Steensens Vej 2-4
DK-2820 Gentofte
Denmark
+45 44 43 87
ot for any other command.
Is this a bug or some new facility I overlooked?
Best regards,
Bendix
_________
Bendix Carstensen
Senior Statistician
Steno Diabetes Center A/S
Niels Steensens Vej 2-4
DK-2820 Gentofte
Denmark
+45 44 43 87 38 (direct)
+45 30 75
> Sent: 9. februar 2011 11:48
> To: Philipp Pagel
> Cc: BXC (Bendix Carstensen); r-help@r-project.org
> Subject: Re: [R] as.Date
>
> And I am hereby reporting this bug to the package maintainer.
>
> On Wed, 9 Feb 2011, Philipp Pagel wrote:
>
> > On Wed, Feb 09,
50720
language R
version.string R version 2.10.1 (2009-12-14)
Best regards,
Bendix
_______
Bendix Carstensen
Senior Statistician
Steno Diabetes Center
Niels Steensens Vej 2-4
DK-2820 Gentofte
Denma
for a package?
br.
Bendix
__
Bendix Carstensen
Senior Statistician
Steno Diabetes Center
Niels Steensens Vej 2-4
DK-2820 Gentofte
Denmark
+45 44 43 87 38 (direct)
+45 30 75 87 38 (mobile)
b...@steno.dk http://www.biostat.ku.dk/~bxc
www.steno.dk
end of a set of exercises, and this was a convenient file to
\input with a few select %'s added.
br.
Bendix
___
Bendix Carstensen
Senior Statistician
Steno Diabetes Center
Niels Steensens Vej 2-4
DK-2820 Gentofte
Denmark
+45 44 43 87 38 (direct
nd that is hardly what you want, presumably you meant
list("y"=y,"X"=X,"n"=n,"m"=m)
??
__
Bendix Carstensen
Senior Statistician
Steno Diabetes Center
Niels Steensens Vej 2-4
DK-2820 Gentofte
Denmark
+45 44 43 87 38 (direct)
+45 30 75 87 38 (m
A funny thing happened when I wanted a student of mine to install Brugs.
Using the InstallPackages in the windows version, firts gives an erro, but
trying again works flawlessly.
R version is 2.7.0 on WinXP.
Any explanation?
Bendix Carstensen
rates taking time dependent covariates into account.
Best regards,
Bendix
______
Bendix Carstensen
Senior Statistician
Steno Diabetes Center
Niels Steensens Vej 2-4
DK-2820 Gentofte
Denmark
+45 44 43 87 38 (direct)
+45 30 75 87 38 (mobile)
[EMAIL PROTECTED]
\includegraphics[width=0.63\textwidth]{./graph/xx-TJUNK2}
\caption{\it Here is the caption.}
\label{fig:Tschunks1und2}
\end{figure}
\end{document}
> -Original Message-
> From: Charilaos Skiadas [mailto:[EMAIL PROTECTED]
> Sent: 18. maj 2008 17:08
> To: BXC (Bendix Carste
o get the generated filename of the plot, or to
explicitly give it
in the .rnw file? The point of course being to avoid to start and stop
the graphics driver explicitly?
Best,
Bendix Carstensen
______
Bendix Carstensen
Senior Statistician
Steno Diabetes Cen
homepage: www.biostat.ku.dk/~bxc/SPE
--
Krista Fischer, University of Tartu, Estonia
Esa Läärä, University of Oulu, Finland
Bendix Carstensen, Steno Diabetes Center, Denmark
(Organizers)
__
R-help@r
epidemiological analysis.
See more on the package homepage, www.biostat.ku.dk/~bxc/Epi
Note also that there will be a course 28 May - 2 June in Estonia, see
www.biostat.ku.dk/~bxc/SPE.
Bendix Carstensen
Epi package maintainer
__
Bendix Carstensen
Senior
21 matches
Mail list logo