search for: bendix

Displaying 20 results from an estimated 135 matches for "bendix".

2008 Nov 24
1
FW: read.ssd
Did not seem to reach Saikat DebRoy, this might be the forum. Bendix -----Original Message----- From: BXC (Bendix Carstensen) Sent: 24. november 2008 15:00 To: 'saikat at stat.wisc.edu'; 'stvjc at channing.harvard.edu' Subject: read.ssd It's always annoyed me that that read.ssd crashed on datasets with long variable names, but the other day a...
2018 Mar 07
3
Names of variables needed in newdata for predict.glm
...c(0,5)) + 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, Bendix Carstensen Senior Statistician Steno Diabetes Center Clinical Epidemiology Niels Steensens Vej 2-4 DK-2820 Gentofte, Denmark b at bxc.dk bendix.carstensen at regionh.dk http://BendixCarstensen.com ________________________________ Denne e-mail indeholder fortrolig information. Hvis du ikke er de...
2018 Mar 31
1
Names of variables needed in newdata for predict.glm
all.vars works fine, EXCEPT, it give a bit too much. I only want the regression variables, but in the following example I also get "k" the variable holding the chosen knots. Any machinery to find only "real" regression variables? cheers, Bendix library( splines ) y <- rnorm(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 <marc_grt at yahoo.fr> Sendt: 8. m...
2008 Jul 29
2
FW: Installing BRugs
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 ______________________________________________ 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) bxc at steno.dk http://www.biostat.ku.dk/~bxc -----Original Message----- From:...
2009 Apr 27
2
The .tex version of the manual in foo.Rcheck
...er foo.Rcheck. But as of 2.9.0 only foo-manual.pdf and foo-manual.log are there. Is this intentional? Anyway it is inconvenient, because I would occasionally like to include the manual at the 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) +45 30 75 87 38 (mobile) bxc at steno.dk http://www.biostat.ku.dk/~bxc www.steno.dk This e-mail (including any a...
2018 Mar 08
0
Names of variables needed in newdata for predict.glm
...; > all.vars(mi$formula) [1] "D" "x" "f" "Y" > names(mx$xlevels) [1] "f" > all.vars(mx$formula) [1] "D" "x" "f" When offset is indicated out of the formula, it does not work... Marc Le 07/03/2018 ? 06:20, Bendix Carstensen a ?crit?: > I would like to extract the names, modes [numeric/factor] and levels > of variables needed in a data frame supplied as newdata= argument to > predict.glm() > > Here is a small example illustrating my troubles; what I want from > (both of) the glm objects is...
2004 May 24
2
Month names
..."februar" "marts" "april" "maj" "juni" "juli" "august" "september" [10] "oktober" "november" "december" Surely someone on the list can beat that in elegance? Bendix Carstensen ---------------------- Bendix Carstensen Senior Statistician Steno Diabetes Center Niels Steensens Vej 2 DK-2820 Gentofte Denmark tel: +45 44 43 87 38 mob: +45 30 75 87 38 fax: +45 44 43 07 06 bxc at steno.dk www.biostat.ku.dk/~bxc
2012 Feb 20
2
Computing plot size in Sweave
...ou want to compute the physical size of a plot based on data. In R itself this is no problem. But is there a way to compute the values of height and width in S-weave, say: <<graph,fig=TRUE,height=xx,width=yy>>= where xx and yy are computed and not physically written in the document? 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) bxc at steno.dk http://BendixCarstensen.com www.steno.dk This e-mail...
2001 Jan 02
1
sink() does not seem to release the file
...12 day 15 language R > sink("foo") > cat("some text") > sink() > shell("type foo") some text > shell("dir f*") Volume in drive N is Local Disk Volume Serial Number is 1C5E-3A70 Directory of N:\Bendix\Steno\JaSv\iddm 02-01-2001 11:33 9 foo 1 File(s) 9 bytes 0 Dir(s) 172.857.344.000 bytes free > shell("del foo") N:\Bendix\Steno\JaSv\iddm\foo The process cannot access the file because it is being used by another process....
2000 Feb 08
2
Windows metafile
...bels and titles on axes are in the file. No axes or lines of any kind. (I look at the file by inserting it in Word, which is what I need for my client). Variations over the theme by using type="l" or "p", does not change anything. Am I missing a point? Or is this a known bug? Bendix Carstensen \\\|/// \\ - - / ( @ @ ) +------------------o00o-(_)-o00o-------------------------+ | Bendix Carstensen tel: +45 44 43 87 38 | | Senior Statistician SDC: +45 44 43 90 42 | | Steno Diabetes Ce...
2008 May 18
1
Figure environment and includegraphics options from Sweave
...re environment. 1) Is there a way to do this without writing the figure environment manually? 2) If not, is there a way to 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 Center Niels Steensens Vej 2-4 DK-2820 Gentofte Denmark +45 44 43 87 38 (direct) +45 30 75 87 38 (mobile) bxc at steno.dk http://www.biostat.ku.dk/~bxc This e-mail (including any attac...
2010 Apr 17
1
Fishy error with NAMESPACE when checking package
...year 2009 month 12 day 14 svn rev 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 Denmark +45 44 43 87 38 (direct) +45 30 75 87 38 (mobile) bxc at steno.dk http://www.biostat.ku.dk/~bxc www.steno.dk This e-mail (including any a...
2005 Feb 17
1
How to get interction terms first in a model
...n with the constant variable w is how I got to have the two spline terms as "proper" intercept terms. Is there another way to do this, or is it a featur of the model formulae that lower order terms appear before higher order terms regardless of the order they are specified in the model? Bendix Carstensen ---------------------- Bendix Carstensen Senior Statistician Steno Diabetes Center Niels Steensens Vej 2 DK-2820 Gentofte Denmark tel: +45 44 43 87 38 mob: +45 30 75 87 38 fax: +45 44 43 07 06 bxc at steno.dk www.biostat.ku.dk/~bxc
2004 Nov 03
1
Building a package under WIN2000 / rw2.0
...file). Having made a few changes here and there in some of the functions I transferred them one at a time to a new folder and tried to build it there. The probelm seems to be that once I exceed 5 functions in the package the above error appears, with 5 or fewer functions it works OK. Any ideas? Bendix Carstensen ---------------------- Bendix Carstensen Senior Statistician Steno Diabetes Center Niels Steensens Vej 2 DK-2820 Gentofte Denmark tel: +45 44 43 87 38 mob: +45 30 75 87 38 fax: +45 44 43 07 06 bxc at steno.dk www.biostat.ku.dk/~bxc
2004 Nov 03
1
Building a package under WIN2000 / rw2.0
...file). Having made a few changes here and there in some of the functions I transferred them one at a time to a new folder and tried to build it there. The probelm seems to be that once I exceed 5 functions in the package the above error appears, with 5 or fewer functions it works OK. Any ideas? Bendix Carstensen ---------------------- Bendix Carstensen Senior Statistician Steno Diabetes Center Niels Steensens Vej 2 DK-2820 Gentofte Denmark tel: +45 44 43 87 38 mob: +45 30 75 87 38 fax: +45 44 43 07 06 bxc at steno.dk www.biostat.ku.dk/~bxc
2011 Jul 16
2
Sweave in 2.13.1
...nd for Sweave Options: -h, --help print this help message and exit -v, --version print version info and exit Report bugs to <r-bugs at r-project.org>. Same probelem for help on Stangle, but not 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 87 38 (mobile) bxc at steno.dk www.biostat.ku.dk/~bxc www.steno.dk This e-mail (including any attachmen...
2004 Sep 27
1
Funny behaviour of coef() and vcov() if X is singular
coef() and vcov() have different dimensions if a model contains alised parameters as the following example illustrates. A search on "alised" gave noting as far as I could see. Is this a known bug? Bendix C ---------------------- Bendix Carstensen Senior Statistician Steno Diabetes Center Niels Steensens Vej 2 DK-2820 Gentofte Denmark tel: +45 44 43 87 38 mob: +45 30 75 87 38 fax: +45 44 43 07 06 bxc at steno.dk www.biostat.ku.dk/~bxc ---------------------- > x <- rnorm(100) > y <- rnor...
2007 Jun 11
2
Rounding?
...day 23 svn rev 41293 language R version.string R version 2.5.0 (2007-04-23) My machine runs Windows NT. Is this intended or just a Windows facility? ______________________________________________ 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) +45 44 43 73 13 (fax) bxc at steno.dk http://www.biostat.ku.dk/~bxc This e-mail (including any attachments) is intended for the ...{{dropped}}
2004 Mar 02
3
Margins on tables
...isance to me not being able to form margins on multiway tables in a simple fashion, so i wrote margins(). In my opinion it should go into the base package. The code and the documentation is in: http://www.biostat.ku.dk/~bxc/R/margins/ Please help yourself, and enhance and rename as you see fit. Bendix ---------------------- Bendix Carstensen Senior Statistician Steno Diabetes Center Niels Steensens Vej 2 DK-2820 Gentofte Denmark tel: +45 44 43 87 38 mob: +45 30 75 87 38 fax: +45 44 43 07 06 bxc@steno.dk www.biostat.ku.dk/~bxc
2001 Sep 05
3
Bug in ftable?? (Was: Two-way tables of data, etc)
...> attr( tp, "class" ) <- "table" > ftable( tp ) Error in cbind(...) : number of rows of matrices must match (see arg 2) # But still they seem to have similar attributes (except for the naming) attributes( tb ) attributes( tp ) Is this a bug or a facility of ftable ? Bendix Carstensen ---------------------- Bendix Carstensen Senior Statistician Steno Diabetes Centre Niels Steensens Vej 2 DK-2820 Gentofte Denmark tel: +45 44 43 87 38 mob: +45 28 25 87 38 fax: +45 44 43 73 13 bxc at novo.dk www.biostat.ku.dk/~bxc ---------------------- -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-...