Displaying 2 results from an estimated 2 matches for "lmgp".
Did you mean:
lgmp
2011 May 05
7
Draw a nomogram after glm
...blem, thus I use lrm. My code is:
modele<-lrm(Y~L+P,data=donnee)
fun<- function(x) plogis(x-modele$coef[1]+modele$coef[2])
f <- Newlabels(modele,c(L="poids",P="taille"))
nomogram(f, fun=list('Prob Y<=1'=plogis),
fun.at=c(seq(0,1,by=.1),.95,.99),
lmgp=.1, cex.axis=.6)
fun.at=c(.01,.05,seq(.1,.9,by=.1),.95,.99),
lmgp=.2, cex.axis=.6)
options(Fire=NULL)
Result is bad and I have this following error message:
Erreur dans value.chk(at, i, NA, -nint, Limval, type.range = "full") :
variable L does not have limits defined...
2010 Aug 25
1
modify a nomogram
...:
body(nomo) <- expression({
conf.lp <- match.arg(conf.lp) ..... rest of the function body
this does not even work
-- I am not sure to find the piece of code responsible for
defining the axis
nomogram(logistic.fit, fun = plogis, fun.at = c(seq(0.01,1,by=.2)),
lmgp=.2, lp = T,maxscale = 100, total.sep.page = T )
Thanks
David