Hello,
As an example, I ran the following code:
library("rgl")
example(plot3d)
rgl.snapshot("test.png")
The f
Dear Duncan, Thanks very much for your reply. I guess I'll start with
R-SIG-Fedora. I'll keep you cc'd unless you tell me you would rather I not. -Ben
-Original Message-
From: Duncan Murdoch [mailto:murdoch.dun...@gmail.com]
Sent: Friday, January 08, 2016 8:13 PM
To: Wit
-
From: R-help [mailto:r-help-boun...@r-project.org] On Behalf Of Wittner, Ben,
Ph.D.
Sent: Friday, January 08, 2016 4:13 PM
To: r-help@r-project.org
Subject: [R] rgl.snapshot only captures a small portion what's visible in the
RGL device window on CentOS 7
Hello,
As an example, I ra
Does anyone know how to make a plot like Fig. 4 of Paik, et al., New England
Journal of Medicine, Dec. 30, 2004?
Given survival data and a covariate, they plot a curve giving "Rate of Distant
Recurrence at 10 Yr (% of patients)" on the y-axis versus the covariate on the
x-axis. They also plot curv
I've been trying with no success to model mixtures of Gamma distributions using
the package flexmix (see examples below). Can anyone help me get it to model
better? Thanks very much.
-Ben
##
## Please help me get flexmix to correctly model mixtures of
## Gamma distributions. See examples below.
Hello,
I would like to display a heatmap with dendrograms and allow the user to click
on either dendrogram to choose a sub-dendrogram.
The function heatmap() uses layout() and image() and the plot method of
dendrogram to plot the heatmap and dendrograms, but if locator() is then called
and the us
Is there a way to display an image (such as is done with the function image())
in a grid package viewport?
Thanks.
-Ben
The information transmitted in this electronic communica...{{dropped:16}}
__
R-help@r-project.org mailing list
https://stat.ethz.c
Short form:
How do I transform the output of grid.locator() (or
grid.locator(unit='npc')) to the native (or npc) coordinates of a viewport other
than the top-level viewport?
Thanks in advance. -Ben
Long form:
I would like the user to be able to cl
From: hadley wickham [mailto:[EMAIL PROTECTED]
Sent: Sun 6/1/2008 3:24 PM
To: Wittner, Ben, Ph.D.
Cc: [EMAIL PROTECTED]
Subject: Re: [R] transforming output of grid.locator() to coordinates of a leaf
viewport
Ben,
What if the click occurs over multiple viewports?
Hadley
essage-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> On Behalf Of Paul Murrell
> Sent: Monday, June 02, 2008 10:05 PM
> To: Wittner, Ben, Ph.D.
> Cc: [EMAIL PROTECTED]
> Subject: Re: [R] transforming output of grid.locator() to coordinates of a
> leaf viewport
>
&
Hello,
I am interested in using nlme to model repeated measurements, but I don't seem
to get good CIs.
With the code below I tried to generate data sets according to the model given
by equations (1.4) and (1.5) on pages 7 and 8 of Pinheiro and Bates 2000 (having
chosen values for beta, sigma.b an
The problem is that the backslash character (i.e., the "\" in "C:\online") is
used to separate folder names on MS Windows, but it's used for something else in
R.
Try
survey <- read.csv(file=file.path("C:", "onlinesurvey.csv"), head= TRUE, sep
=",")
-Ben
p.s., As the posting guide instructs, plea
Several people have mentioned large, messy data sets.
I am curious as to in what way messy data sets are messy.
(I am also curious about what SAS does that helps one deal with them, but
perhaps that's asking too much.)
Thanks.
-Ben
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[E
I recently upgraded my OS to Fedora 8 from Red Hat Enterprise Work Station 3.
Before I upgraded certain operations would produce a warning to the effect that
a desired font was not available so one had been substituted, which was okay.
After the upgrade to Fedora 8, the plotting operation halts mid
Dalgaard [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, January 22, 2008 5:00 PM
> To: Wittner, Ben, Ph.D.
> Cc: r-help@r-project.org
> Subject: Re: [R] X11 font at size 6 could not be loaded
>
> Wittner, Ben, Ph.D. wrote:
> > I recently upgraded my OS to Fedora 8 from Red Hat E
8 5:16 PM
> To: Wittner, Ben, Ph.D.
> Cc: r-help@r-project.org
> Subject: Re: [R] X11 font at size 6 could not be loaded
>
> Have you also changed your locale? F8 defaults to UTF-8 locales, whereas
> people usually set up RHEL3 with an 8-bit locale. That changes the font
&g
I suspect that someone will write saying that what you want is in one or a few
packages, but you might also find the code below useful.
(Note, the first two functions require the third.)
-Ben
##
## Do power calculation of Freedman for Cox PH as set forth on page 733
## of 5th edition of Rosner,
I don't know what unix you're using, but if it's fedora 8, the command
yum install emacs
did the trick for me. You probably need to have root (a.k.a. superuser)
privileges to do that.
If you like to use ESS with emacs to edit R scripts,
yum install emacs-ess
My guess is this would work for any Re
In general functions changing global variables as a side effect is dangerous
(i.e., often leads to programming errors and difficult-to-maintain code).
So, if the performance of the following is sufficient, it is what I would
recommend.
addition <- function(X, a) {
X[1, 1] <- X[1, 1] + a
X
19 matches
Mail list logo