similar to: model fitting using by(): how to get fitted values?

Displaying 20 results from an estimated 20000 matches similar to: "model fitting using by(): how to get fitted values?"

2012 Oct 27
1
contr.sum() and contrast names
Hi! I would like to suggest to make it possible, in one way or another, to get meaningful contrast names when using contr.sum(). Currently, when using contr.treatment(), one gets factor levels as contrast names; but when using contr.sum(), contrasts are merely numbered, which is not practical and can lead to mistakes (see code at the end of this message). This issue was discussed quickly in 2005
2008 Apr 29
2
ggplot2: labels and breaks order does not match and I can't use scale_fill_identity
Hi, I'm plotting a bar chart like this: ggplot() + geom_bar(data=res,aes(fill=f1,x=f2,y=y),stat="identity",position="dodge") f1 contains quite a few levels and the plot is really quite difficult to read when the order of bars on the graph and on the legend does not match. This problem has been discussed recently here:
2008 May 06
1
ggplo2: x_discrete labels size/direction
Hi everyone, I've got quite a few labels along the x axis and ggplot2 basically just crams them on top of each other. Is it possible to reduce the font size and/or text direction? Stretching the "windows" device window manually also helps, but I found that setting the parameters for the pdf device (where my scripts should print the data), such as paper="a4r" just results
2009 Sep 29
3
sort dates within a factor
Dear List, I have the following data: >> test <- data.frame(date = as.Date(c('2007-01-01','2008-03-24','2003-03-02','2008-05-03','2002-05-23','2001-06-30','2005-12-04')), nr = c(2000,2000,2000,2001,2002,2003,2003)) test date nr 1 2007-01-01 2000 2 2008-03-24 2000 3 2003-03-02 2000 4 2008-05-03 2001 5 2002-05-23 2002 6
2008 Apr 29
1
ggplot2: setting global graphic parameters with png driver
Hi all, I prepared a few charts with ggplot2, and was happy with the results as displayed on screen. I tried to draw them with a PNG driver instead. But I ran into several problems while trying to increase the resolution of the picture. Mainly, when I increased the picture size (e.g png(width=1024, height=768) ), the texts (title, labels, etc...) where too small. I tried to set the
2003 Oct 17
2
System error 1314 has occurred
Hello all, I am using Samba on a Debian GNU/Linux box. I am trying to create a netlogon.bat file that will execute whenever a user logs in to the domain. However, I am getting a strange error message on the client workstations. The following is the netlogon.bat: echo Setting Current Time... net time \\xavier /set /yes echo Mapping Network Drives to Samba Server Xavier... net use Z:
2009 Aug 06
5
Wine unable to find DX9 / driver version?
I updated wine to latest git (wine-1.1.26-390-g31dab8f) and upgraded my nvidia drivers to 190.18. When I attempted to test some of the DX9 and 10 games I usually test, none of them seem to be able to recognize either my DX version or the drivers. I suspect that the drivers are the issue. Here is a relevant example from a test for Assassins Creed. xavier at xavier-pc
2012 Jul 06
2
Graph showing fitted values obtained by binomial GLM
I have completed a binomial GLM in R (details attached (finalModel.docx)) and I am trying to create a graph of observed and fitted values using the following commands: > MyData<-data.frame(time=seq(from=0,to=1323,by=1)) > Pred<-predict(M2,newdata=MyData,type="response") > plot(x=turtle$time,y=turtle$success) > lines(MyData$time,Pred) However, I get the following
2010 Jun 11
2
nvfx
Hi Marek Thanks a lot for your rebasing work. Here is my report : - all my games that broke with temporaries patch (they were either completely black or lot of black screen flash every frame) behave badly, but in different ways : * etracer is very slow and often crash in ttm code [1] (I think this is an old bug that just resurrected, no idea why) * foobillard is very slow and still flash a bit *
2017 Oct 28
2
HELP relevel INTERCEPT-COMPARISONS
Dear colleagues, How can I do to "relevel" the intercept? I need that the treatment "Db" be the intercept, and have p-values for the comparisons with the others treatments. I used the function "relevel" but it did not work out to have what I want. Thanks for your help, Xavier T1 <- read.table(file.choose(), h=T) > head(T1) treatment replicate Time
2004 Apr 20
2
Rule-specific Log Prefixes
The current CVS Project Shorewall2/ contains my implementation of this feature. Thanks go to Xavier for ideas about the design. Xavier -- please give my code a try and see if it works ok for you. -Tom -- Tom Eastep \ Nothing is foolproof to a sufficiently talented fool Shoreline, \ http://shorewall.net Washington USA \ teastep@shorewall.net
2015 Feb 10
1
R CMD check: Uses the superseded package: ‘doSNOW’
Oh, I completely missed that one. It's very neat as it seems to work both on Windows and Unix. Thanks! Xavier On 10/02/15 10:52, Martyn Plummer wrote: > The CRAN package snow is superseded by the parallel package which is > distributed with R since version 2.14.0. Here are the release notes > > \item There is a new package \pkg{parallel}. > > It incorporates (slightly
2017 Oct 28
2
Function Relevel DOE NOT FOUND
Dear Forum, Which functions and packages should be installed to make work the function "relevel"? treatment<-revel(treatment,ref="Db") Error: no se pudo encontrar la funci?n "revel" Thank you very much for your help, Xavier Chiriboga M. PhD Candidate Fundamental and Applied Research in Chemical Ecology Lab. Institute of Biology University of Neuchatel
2011 May 24
2
Ntdll hang when starting a new game in Mass Effect
Native dinput8 and d3dx9_36 have to be used in order for the game to load and workaround mouse input (see http://bugs.winehq.org/show_bug.cgi?id=16822). When I start a new game, after setting up Shepard's profile and waiting for the first cinematic to play there is an ntdll error which freezes the game. Any clue on how to workaround it? Code: xavier at xavier
2006 Jul 18
2
I think this is a bug
Hello! I work with: R : Copyright 2006, The R Foundation for Statistical Computing Version 2.3.1 (2006-06-01) On Windows XP Professional (Version 2002) SP2 I think there is a bug in the conditional execution if (expr1) {expr2} else {expr3} If I try: "if (expr1) expr2 else expr3" it works well but when I put the expression expr2 and expr3 between {} I receive an error message
2015 Sep 18
2
Unable to install R 3.2 on debian jessie
Hi everybody I try to update R 3.1.1 to R 3.2.2 on a Debian Jessie (8.2) server. I try to do the following steps : - Adding "deb-src http://cran.irsn.fr/bin/linux/debian jessie-cran3/" to /etc/apt/sources.list - Execute : $ sudo apt-get upgrade $ sudo apt-get update $ sudo apt-get install r-base r-base-dev - And I get this : ... r-base is already the newest version. r-base-dev is
2010 Mar 04
1
[PATCH] Remove leftover in man page and nv_const.h
Signed-off-by: Xavier Chantry <chantry.xavier at gmail.com> --- man/nouveau.man | 16 ---------------- src/nv_const.h | 1 - 2 files changed, 0 insertions(+), 17 deletions(-) diff --git a/man/nouveau.man b/man/nouveau.man index 87f645a..cd66e9a 100644 --- a/man/nouveau.man +++ b/man/nouveau.man @@ -70,22 +70,6 @@ Enable or disable the HW cursor. Default: on. .BI "Option
2015 Sep 19
1
Unable to install R 3.2 on debian jessie
Hi, Am Freitag, 18. September 2015, 15:25:10 schrieb George N. White III: > On Fri, Sep 18, 2015 at 8:35 AM Francois-Xavier Jollois < > > francois-xavier.jollois at parisdescartes.fr> wrote: > > Hi everybody > > > > I try to update R 3.1.1 to R 3.2.2 on a Debian Jessie (8.2) server. I > > try to do the following steps : > > > > - Adding
2006 Nov 13
1
Nominal Respose Model in R
Hi: I have been working in Item Response Theory, exactly, with Nominal Response Model (NRM). Exist in R a function for estimate parameter and ability from database for this Model?. Thank you, Xavier G. Ordóñez [[alternative HTML version deleted]]
2018 Feb 13
2
Crear bucle
Hola, Una forma puede ser la siguiente... Para comparar, he creado una nueva columna "new_zona" que es la que se va rellenando con un bucle... #------------------- > cont <- 1 > new_zona <- 0 > for(i in 1:nrow(data)) { + new_zona[i] <- cont + if(data$Subzona[i] == 1 & i > 1) { + cont <- cont + 1 + new_zona[i] <- cont + } + } > >