Displaying 20 results from an estimated 8000 matches similar to: "Searching for glmmNQ"
2003 Nov 04
2
help with nomogram function
I have fitted a logistic regression model
> failed.lr2$call
lrm(formula = failed ~ Age + task2 + Age:task2, data = time.long,
na.action = na.omit)
using the Design package functions and would like to generate a
nomogram from this model.
the datadist information is generated and stored in
> ddist
time.long$Age time.long$task2
Low:effect 45
2005 Apr 13
3
A suggestion for predict function(s)
Maybe a useful addition to the predict functions would be to return the
values of the predictor variables. It just (unless there are problems)
requires an extra line. I have inserted an example below.
"predict.glm" <-
function (object, newdata = NULL, type = c("link", "response",
"terms"), se.fit = FALSE,
2002 Feb 15
2
Reordering factor levels
I would like to define the order of the levels of a factor.
The relevel function would work but since I have 20 levels I would prefer
to declare the order explicitly. Using a smaller example
levels(oldfactor)
"b1" "b2" "r1" "r2"
nufactor <- order(oldfactor,order=c("b1","r1","b2","r2")) # my fabricated function
2002 Dec 05
2
Problems with segments and multiple graphs
I would like to create a page of two graphs (2 rows by 1 col) and then
draw vertical lines (segments?) on both graphs from the minimum
values to the corresponding maximum value.
So I have tried
#
> y <- rnorm(3000)
> par(mfrow=c(2,1))
> plot(y,type="l")
> plot(cumsum(y),type="l")
> segments(1000,min(cumsum(y)),1000,max(cumsum(y)))
> par(mfg=c(1,1))
>
2004 Jun 01
1
WinMenu's question
I am using the Windows menu functions below which will work on the
first pass, but if I repeat the same script I cannot get the
WinMenuAddItem to work. This is a problem if I change the menu
structure and reread the source code I am forced to quit and restart Rgui.
"try.menu" <- function(){
OS <- .Platform$OS.type
GUI <- .Platform$GUI
if (!(OS == "windows" &
2004 Jul 20
1
Histogram without common borders
Is it possible to produce a histogram directly using the hist()
function with the common borders removed?
It can be done by plotting the histogram object using type 's'teps.
my.hist <- hist(x,plot=FALSE)
plot(my.hist$breaks,c(0,my.hist$counts),type='s')
I would appreciate help
Ross Darnell
--
University of Queensland, Brisbane QLD 4067 AUSTRALIA
Email: <r.darnell at
2007 May 01
0
[Fwd: Re: [R-downunder] Beware unclass(factor)] (PR#9641)
It really is unclear what is claimed to be a bug here. But see
https://stat.ethz.ch/pipermail/r-devel/2007-May/045592.html
for why the bug is not in R: your old and new data do not match.
Your fit is to a category.
[The problem with the web interface to R-bugs was reported last week: it
is being worked on.]
On Mon, 30 Apr 2007, r.darnell at uq.edu.au wrote:
> This is a multi-part
2005 Sep 13
2
Translating lme model call to lme4
I would appreciate help translating the following lme model to an lmer
function.
lme(lognrms ~ Group*Rotation*muscle*side*support*arms,
random=~1|Subject/Stratum2/rep, data=Data)
Many thanks
Ross Darnell
r.darnell at uq.edu.au
2007 Jan 25
3
Error in loadNamespace(name) (PR#9464)
Full_Name: Ross Darnell
Version: 2.4.1
OS: Linux
Submission from: (NULL) (130.102.133.33)
rdarnell at pc:~/Data$ ls -al .RData
-rwxrwxrwx 2 root root 13551 2006-12-06 08:58 .RData
rdarnell at pc:~/Data$ R
R version 2.4.1 (2006-12-18)
Copyright (C) 2006 The R Foundation for Statistical Computing
ISBN 3-900051-07-0
R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to
2002 Dec 11
0
stepAIC and the keep argument
I would like to "keep" the call formulae from the stepAIC sequence.
Does anyone know of an example showing how to use the keep argument?
Help would be much appreciated.
Ross Darnell
Email: <r.darnell at shrs.uq.edu.au>
2007 Oct 17
2
Need help with function that includes 2 summation
I am relatively new to R, so this may be a much simpler question than it
seems to me. I am trying to create a function that includes two
summations, and can't figure out how. I am attaching the equation as a
pdf file. This function will then be optimized over a chosen range of
values, but right now I just need help with the function. Thank you.
Zack Darnell
Duke University
--
Zack
1999 May 19
1
shell command
Using R (version 0.63.3) for MS windows, I try the following command
> shell(paste("cd ",getenv("RHOME"),sep=""))
which replies with an error message
Too many parameters - FILES\RW0633
which appears to suggest that the space if the path name is causing
difficulties to the cd command. getenv returns
> getenv("RHOME")
RHOME
2006 May 21
3
Unreadable labels
Playing around with examples from MASS4, I found a font problem in the
mosaicplot in R-2.3.0. It doesn't happen in other plots. Running this
example from MASS4, page 326...
library(MASS)
caith1 <- as.matrix(caith)
names(dimnames(caith1)) <- c("eyes", "hair")
mosaicplot(caith1, color = TRUE)
...I get an image as attached. The column and row labels are unreadable.
It
2003 Dec 20
3
Level(3) SIP termination services
John,
I spoke with Level(3) last week regarding SIP termination. They
quoted $0.01/minute, with an 11 Million Minute / Month minimum.
Ugh!
-dg
--------------------------------------------------------------
Darnell Gadberry
President
binaryMedia
darnell AT binmedia DOT com
------------
Date: Fri, 19 Dec 2003 21:12:22 -0500
To: asterisk-users@lists.digium.com
From: John Todd
2007 Apr 18
1
[Bridge] RE: [VLAN] Re: [PATCH/RFC] Let {ip, arp}tables "see" bridged VLAN tagged{I,AR}P packets
-----Original Message-----
>From: Tommy Christensen [mailto:tommy.christensen@tpack.net]
>Sent: Wednesday, October 08, 2003 10:09 AM
>To: Christian Darnell
>Cc: 'Linux 802.1Q VLAN'; Bart De Schuymer; netdev@oss.sgi.com; bridge
>Subject: Re: [Bridge] RE: [VLAN] Re: [PATCH/RFC] Let {ip, arp}tables
>"see" bridged VLAN tagged{I,AR}P packets
>
>
>
>This
2005 Apr 14
1
predict.glm(..., type="response") loses names (was RE: [R] A sugg estion for predict function(s))
> From: Ross Darnell
>
> Liaw, Andy wrote:
> >>From: Liaw, Andy
> >>
> >>
> >>>From: Ross Darnell
> >>>
> >>>A good point but what is the value of storing a large set of
> >>>predicted
> >>>values when the values of the explanatory variables are lost
> >>>(predicted
>
2003 Feb 02
3
Finding Missing Data Patterns
Dear R-Helpers,
I have a large data matrix, which contains missing data. The matrix
looks something like this:
1) X X X X X X NA NA NA
2) NA NA NA NA X X X X X
3) NA NA X X X X NA NA NA
4) X X X X X X X X X
5) X X NA NA X NA NA NA NA
and so on. Notice that the first row starts with complete data but ends
with missing. The second row starts with missing, but the rest is
2002 Feb 25
4
replace NAs
Dear R community:
it is possible to replace NA?s in a data frame with zeroes?
what should I do?
Thanks in advance
Juan Pablo
_________________________________________________________________
MSN Photos es la manera m?s sencilla de compartir e imprimir sus fotos:
http://photos.latam.msn.com/Support/WorldWide.aspx
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
1999 Jun 18
1
R INSTALL -l
The FAQ says in
[5.2 How can add-on packages be installed?]
to install a package to a private tree, use
[$ R INSTALL -l lib pkgdir_1 ... pkgdir_n]
where lib gives the path to the library tree to install to.
which, for me, returns
Package '-l' does not exist. Has there been a change?
Thank you
Ross
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~.
|Ross
2000 Apr 12
1
Matrix indexing question
I apologise if this type of question has been answered before, however
how do I count the number of TRUE's in the upper half (non-symmetric)
matrix of logicals.
Thank you
Ross Darnell
University of Newcastle
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info",