Displaying 20 results from an estimated 900 matches similar to: "ldBands (Hmisc)"
2008 Dec 22
2
Hmisc Dotplot with confidence intervals and panel.points problem
Hello useRs,
I have a question regarding the function Dotplot from the Hmisc package: I want two things:
1) confidence intervals around the dots
2) some additional "annotation" points plotted in the graphic
I can easily achieve (1) by constructing an appropriate object with Cbind. But for (2) when I use the panel=function argument the confidence intervals of the original plot are gone.
2008 Oct 10
2
Fatal error: unable to restore saved data in .RData
Hello,
I am unable to start an R session by double-clicking on an existing
.RData file from the Windoze file explorer.
A dialogue appears with the message
"Fatal error: unable to restore saved data in .RData",
and I notice in the R Console the last few lines are:
"Loading required package: R2HTML
NULL
error in function () : unused argument(s) (1:43)"
I tried starting
2009 Feb 12
2
Problem with loading rJava in R
Hello.
I am trying to load the rJava package in R-2.7.2 (Windows XP 64-bit RGui)
and get the following error message even though the mentioned .dll file is
located at the directory listed in the error message. I have tried to
uninstall and reinstall the package but that does not resolve the problem.
Then uninstallation and re-installation of R did not resolve the issue
either. Any suggestions are
2008 Nov 02
1
Simple R (in Sweave) Question
I am writing a report using Sweave with specific R output incorporated into
the text using the Sexpr{} command. I have run into two specific issues:
1) If the result inside the Sexpr{} command is an integer less than 10 I
would like to print the ?word? for that number ? e.g., ?seven? for 7.
2) If a p-value is ?equal to zero? to some arbitrary number of decimal
places -- e.g.,
2003 May 16
1
Question on ldBands function in Hmisc package by Harrell
Has anyone tried to download Hmisc and used ldBands function for calculating
Lan-Demets group sequential boundaries? The write-up in F.Harrell's website
indicates that, besides downloading the package Hmisc, one needs to copy the
progra ld98 from the University of Wisconsin website. As suggested, I did
this but received another error message regarding the search path. I think
I have fixed
2006 Feb 02
1
Help with ldBands(Hmisc)
Hello My Fellow Users,
Under the details it is given that the ld98 executable should be in a subdirectory that is in the system. Should ld98.exe be included under Hmisc (where it is stored) or under the lib subdirectory within Hmisc? I am getting the following error message: Error in (head + 1):length(w) : NA/NaN argument. Does this mean that I didn't store the ld98.exe in the right place
2008 Oct 09
1
YALAQ - Yet Another LApply Question
Hello,
Two lapply questions (system info and sample data below):
1) Why does the first form of command1 add the name of y _after_ the
str() output rather than before as does the second (preferred) form?
# command1 version1
invisible(lapply(ls(pattern='bn'), function(y) cat(y, "\n",
str(get(y)), "\n") ))
# command1 version2 (preferred output)
2008 Oct 18
0
Error in solvet: apparently singular matrix
Hi,
Again I'm doing logistic regression using lrm from Harrell's Design
package, but on wide matrices (28 observations, 1891 variables) so L2
penalisation is used. I get the following error, although I've tried
different penalties and different tolerances. The X matrix is scaled and
centred.
> library(Design)
>
2008 Oct 02
1
nls with plinear and function on RHS
Dear R gurus,
As part of finding initial values for a much more complicated fit I want to
fit a function of the form y ~ a + bx + cx^d to fairly "noisy" data and have
hit some problems.
To demonstrate the specific R-related problem, here is an idealised data
set, smaller and better fitting than reality:
# idealised data set
aDF <- data.frame( x= c(1.80, 9.27, 6.48, 2.61, 9.86,
2008 Nov 26
1
survreg and pweibull
Dear all -
I have followed the thread the reply to which was lead by Thomas
Lumley about using pweibull to generate fitted survival curves for
survreg models.
http://tolstoy.newcastle.edu.au/R/help/04/11/7766.html
Using the lung data set,
data(lung)
lung.wbs <- survreg( Surv(time, status)~ 1, data=lung, dist='weibull')
curve(pweibull(x, scale=exp(coef(lung.wbs)),
2009 Mar 17
0
update on mcmcsamp for glmer
I've searched the help archives of both lists and apologize if I missed the answer to my question:
Is there an update on developing mcmcsamp for glmer?
I'm using R v. 2.7.2 (on our Unix server - will hopefully be updated soon) and 2.8.1 on my PC and get the message for both:
gm1 <- glmer(cbind(incidence, size - incidence) ~ period + (1 | herd),family = binomial, data = cbpp)
2009 Jun 08
0
help with plot.boot
Dear list, this might be a silly question, but I am a bit lost
I have bootstrapped the C-index of a logistic regression model, 500 times.
> results <- boot(data=data,statistic=cindex,R=500,formula = myformula)
When I plot the results I get a histogram of the bootstrapped where the Y axis is density, but it spans from 0 to about 25
> plot(results)
Can
anyone help me interpret
2008 Oct 08
1
Observed responses in 'augPred' data frame - Wrong order ?
Dea-R community.
I'd like to draw your attention to an issue I have recently
encountered while doing my current data analysis.
I've got an unexpected (to me) result from the command:
> augPred(lmList(my.object)),
'my.object' being a grouped data frame of class:
> class(my.object)
[1] "nfnGroupedData" "nfGroupedData" "groupedData"
2008 Oct 09
1
Error when reading a SAS transport file
Dear All,
I get the following error when using either SASxport or Hmisc to read an
.xpt file:
> w <- read.xport("D:/consult/Trophos/dnp/base/TRO_ds_20081006.xpt")
Erreur dans factor(x, f$value, f$label) :
invalid labels; length 15 should be 1 or 14
> z<- sasxport.get("D:/consult/Trophos/dnp/base/TRO_ds_20081006.xpt")
Erreur dans factor(x, f$value, f$label) :
2008 Sep 18
1
PDF fonts problem
Dear List,
I am writing a paper in Hungarian, that I Sweave and than pdfLaTeX.
Everything is fine, except for two accented letters in the graphs that
behave strange, though on the screen and in eps exports they look
perfect. The problem is that I need pdf graphs, since I would like to
have a PDF after LaTeX-ing.
For the example below I downloaded the following two font sets:
1. Latin Modern
2003 Jul 10
1
group sequential and adaptive designs
Hello R users,
I am looking for R (or S) code related to group sequential or adaptive
designs for clinical trials. (The most prominent examples are the designs of
Pocock or O'Brien/Fleming, the alpha-spending function approach, or Fisher's
combination test and the inverse normal method.) I am particularly interested in
the calculation of the critical boundaries, the handling of spending
2009 Jan 22
2
"latex" in Hmisc: cell formating
Hi list,
Could you explain the error I see here? Thanks!
## I'm using R 2.8.0 on WinXP, Hmisc_3.4-3
> table1 <- matrix(10, 180,7)
> cell.format <- matrix("", ncol=7, nrow=180)
> cell.format[c(seq(3,180,6),seq(4,180,6)),] <- "color{red}"
> cell.format[c(seq(5,180,6),seq(6,180,6)),] <- "color{green}"
>
> latex(table1,
2008 Jan 13
1
Hmisc latex() does not want to work
I seem to have a problem getting latex (Hmisc) to
work.
Any suggestions as to what I am doing wrong?
Thanks
library(Hmisc)
aa <- data.frame(aa=1:10, bb=rnorm(10, 5, 2),
cc=rnorm(10, 20, 4))
rr <- lm(cc~aa+bb, data=aa); rr
latex(rr)
> latex(rr)
'latex' is not recognized as an internal or external
command,
operable program or batch file.
Warning messages:
1: In cbind(cx, cxk) :
2007 Jul 13
2
trouble compiling Hmisc package
Hi:
We're trying to install the Hmisc package on a Solaris 9 machine.
Here's what we get:
R CMD INSTALL /usr/local/srctree/Hmisc_3.4-2.tar.gz
* Installing to library '/usr/local/lib/R/library'
* Installing *source* package 'Hmisc' ...
** libs
g95 -fPIC -g -O2 -c cidxcn.f -o cidxcn.o
g95 -fPIC -g -O2 -c cidxcp.f -o cidxcp.o
g95 -fPIC -g -O2 -c hoeffd.f -o
2009 Apr 23
0
latex(Hmisc): cgroup + rownames shifts column names
I have submitted this as a bug
(http://biostat.mc.vanderbilt.edu/trac/Hmisc/ticket/29) but I am
wondering if anyone else has seen it or perhaps developed a
workaround. I could certainly fix the LaTeX by hand, but I am using
this inside Sweave, so it is a bit cumbersome. The exact same code
used to work fine, but something changed underneath it. Even so,
perhaps I am using the latex() command