Taking note of the first post, this is what I assume you wish. Note Paul's
caveat in the help file
"If you resize the device, all bets are off!"
require(gridBase)
x<-seq(0,1,0.2)
y<-x
pred<-matrix(c(0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.7, 0.7, 0.7, 0.7,
0.5, 0.5, 0.7, 0.9, 0.9, 0.7, 0.5, 0.5, 0.
Benjamin M. Osborne uvm.edu> writes:
:
: Is it possible to give a temporary object a name that varies with each run
of a
: foreloop? For example, I want to fill a matrix every time I run a loop, and
I
: want a new matrix with each run, with an appropriate new name.
: i.e.:
: for(i in 1:5){...
Hi there,
I would like to add a few circles to the following image:
x<-seq(0,1,0.2)
y<-x
pred<-matrix(c(0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.7, 0.7, 0.7, 0.7,
0.5, 0.5, 0.7, 0.9, 0.9, 0.7, 0.5, 0.5, 0.7, 0.9, 0.9, 0.7, 0.5, 0.5,
0.7, 0.7, 0.7, 0.7, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5), 6, 6)
image(
Is it possible to give a temporary object a name that varies with each run of a
foreloop? For example, I want to fill a matrix every time I run a loop, and I
want a new matrix with each run, with an appropriate new name.
i.e.:
for(i in 1:5){... matrix.i<-some values ...}
so that in the end I wou
Erin Hodgess wrote:
Dear R People:
There is a function from the fBasics library to get the probability
and quantiles for the hyperbolic probability function.
Is there one that will estimate parms of the hyperbolic probability
function from a data set, please?
Thanks in advance!
Sincerely,
Erin Hod
[EMAIL PROTECTED] wrote:
Hi there,
I tried to add a few circles on an existing figure using the following
codes
grid.circle(x=0.5, y=0.5, r=0.1, draw=TRUE, gp=gpar(col=5))
grid.circle(x=0.5, y=0.5, r=0.3, draw=TRUE, gp=gpar(col=5))
grid.circle(x=0.5, y=0.5, r=0.5, draw=TRUE, gp=gpar(col=5))
On Sun, 21 Nov 2004, Erin Hodgess wrote:
Dear R People:
There is a function from the fBasics library to get the probability
and quantiles for the hyperbolic probability function.
Is there one that will estimate parms of the hyperbolic probability
function from a data set, please?
Look at the packag
Dear R People:
There is a function from the fBasics library to get the probability
and quantiles for the hyperbolic probability function.
Is there one that will estimate parms of the hyperbolic probability
function from a data set, please?
Thanks in advance!
Sincerely,
Erin Hodgess
mailto: [EMA
On Mon, 22 Nov 2004 13:10:59 +1300 (NZDT), "Richard A. O'Keefe"
<[EMAIL PROTECTED]> wrote:
>I'm running R2.0.1 under Solaris 2.9 on a SunBlade 100.
>When I installed it, I set things up to use the Sun compilers
>cc, CC, f95 with the options recommended in the installation and
>administration guide
Hi there,
I tried to add a few circles on an existing figure using the following
codes
grid.circle(x=0.5, y=0.5, r=0.1, draw=TRUE, gp=gpar(col=5))
grid.circle(x=0.5, y=0.5, r=0.3, draw=TRUE, gp=gpar(col=5))
grid.circle(x=0.5, y=0.5, r=0.5, draw=TRUE, gp=gpar(col=5))
points(0.5, 0.5, col
[EMAIL PROTECTED] (Stella) asked
I want to create a sequence of numbers for the multiple records of
individual animal in my dataset. The SAS code below will do the trick,
but
I want to learn to do it in R. Can anyone help ?
data ht&ssn;
set ht&ssn;
Better install and run R from a USB flash drive. This will save you
the trouble of re-writing the CD as you upgrade and install new
packages. Also, you can simply copy the R installation on your work
computer (no install rights needed); R will run.
HTH,
b.
From: Hans van Walen
Date: Fri 27 Aug
Shigeru Mase <[EMAIL PROTECTED]> wrote:
I am posting this question on behalf of a Japanese R user
who wants to know how to change the siginificant codes default.
It's the line
symbols = c("***", "**", "*", ".", " "))
in printCoefmat(), isn't it?
(summary.lm makes
I'm running R2.0.1 under Solaris 2.9 on a SunBlade 100.
When I installed it, I set things up to use the Sun compilers
cc, CC, f95 with the options recommended in the installation and
administration guide.
Until today, no worries.
With all this discussion about R GUIs I thought I'd give R Commande
Hi:
I want to analyze some multinomial data. And the
response has a natural ordinal sturcture. I want to
fit a adjacent category model to the data by logit,
probit and complementary log-log link functions. I
found a package "VGAM"
(www.stat.auckland.ac.nz/~yee/VGAM/ ) whose function
"acat" can fi
On Sunday 21 November 2004 16:35, John Maindonald wrote:
> I'm puzzled about side effects of trellis.unfocus():
>
> The following runs without problem, though grid.text() does not
> seem to do anything. (I'd thought that I had it working at one
> point.)
>
> library(DAAG); library(lattice); l
> From: [EMAIL PROTECTED]
> Date: Fri, 19 Nov 2004 16:53:12 -0500
>
> Thanks for reply. I need to first draw the map of USA a perspective plot.
> I guess thats where my problem was.
>
Try something like this:
library(maps)
states <- map("state", plot=F)
x1 <- rep(0, 3)
x2 <- rep(0, 3)
maxz <-
I think this might do it.
> x.1 <- data.frame(x=sample(1:3,20,T), y=sample(10:12,20,T)) # create
test data
> x.1 # print it out
x y
1 2 11
2 3 11
3 2 10
4 1 12
5 3 11
6 1 10
7 3 10
8 1 11
9 1 12
10 1 11
11 1 12
12 1 12
13 2 11
14 3 11
15 3 10
16 3 10
17 2 12
18 2 10
19 3 11
20 2
[EMAIL PROTECTED] writes:
> Dear members,
>
> I want to create a sequence of numbers for the multiple records of
> individual animal in my dataset. The SAS code below will do the trick, but
> I want to learn to do it in R. Can anyone help ?
>
> data ht&ssn;
> set ht&ssn;
> by anml_key;
> if firs
> Date: Fri, 19 Nov 2004 15:59:25 -0500
> From: Michael Friendly <[EMAIL PROTECTED]>
>
> Here's what I tried. I can plot a selection of regions, but I
> can't seem to remove an arbitrary list of region numbers, unless I've
> done something wrong
> by selecting the regions I want to plot with de
I'm puzzled about side effects of trellis.unfocus():
The following runs without problem, though grid.text() does not
seem to do anything. (I'd thought that I had it working at one point.)
library(DAAG); library(lattice); library(grid)
cuckoos.strip <- stripplot(species ~ length, xlab="", d
Dear members,
I want to create a sequence of numbers for the multiple records of
individual animal in my dataset. The SAS code below will do the trick, but
I want to learn to do it in R. Can anyone help ?
data ht&ssn;
set ht&ssn;
by anml_key;
if first.anml_key then do;
seq_ht_rslt=0;
end;
seq_ht_
Your mail have been blocked
__
[EMAIL PROTECTED] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
With the next release of Rmetrics the help page will extended in the
following way:
\item{lambda}{
a numeric value between zero and one giving the decay length
of the exponential moving average. If an integer value greater
than one is given, lambda is used as a lag of "n" p
Uwe Ligges statistik.uni-dortmund.de> writes:
:
: (Ted Harding) wrote:
:
: > On 20-Nov-04 Uwe Ligges wrote:
: >
: >>Shigeru Mase wrote:
: >>
: >>>Dear R experts,
: >>>
: >>>I am posting this question on behalf of a Japanese R user
: >>>who wants to know how to change the siginificant codes def
On Sun, 21 Nov 2004 [EMAIL PROTECTED] wrote:
>On 21-Nov-04 Dan Bolser wrote:
>>
>> Sorry for the dumb question, but I cant work out how to do this.
>>
>> Quick version,
>>
>> How can I re-bin a given frequency distribution using new breaks
>> without reference to the original data? Given dist
On Sun, 2004-11-21 at 09:15 -0800, [EMAIL PROTECTED]
wrote:
> I wish some of the corporations or
> universities that are using SAS would fund the R group a little, too.
We do via the R Foundation!
http://www.r-project.org/nosvn/foundation/memberlist.html
Talk to the folks at your institutions..
> From: Uwe Ligges
>
> (Ted Harding) wrote:
>
> > On 20-Nov-04 Uwe Ligges wrote:
> >
> >>Shigeru Mase wrote:
> >>
> >>>Dear R experts,
> >>>
> >>>I am posting this question on behalf of a Japanese R user
> >>>who wants to know how to change the siginificant codes default.
> >>>As you know, R's d
On 21-Nov-04 Uwe Ligges wrote:
> (Ted Harding) wrote:
>> [...]
>> Then, when you want your private version, simply do
>>
>> source("printCoefmat.R")
>>
>> and it will overlay the original version. (Experts will have
>> to advise whether this clashes with any "namespace" issues.
>> On my reading
SAS
* better manuals.
* tech support for most universities contracted into the price, thus
for researchers.
* batch orientation. if you have to handle data sets that are as large
as your memory, SAS generally does it better. It seems to be an
"n-pass design." Years ago, when memory was expens
Michael Friendly wrote:
I can't resist dipping my oar in here:
For me, some significant advantages of SAS are
- Ability to input data in almost *any* conceivable form using the
combination of features available through
input/infile statements, SAS informats and formats, data step
programming, etc
On Sun, 2004-11-21 at 12:31 +0100, Jean-Louis Abitbol wrote:
> Dear All
>
> I am trying to graph a proportion and CI95% by a factor with ooplot (any
> other better solution ?)
>
> It works well until I try to add the confidence interval.
>
> this is the error message and and a description of the
On 21-Nov-04 Dan Bolser wrote:
>
> Sorry for the dumb question, but I cant work out how to do this.
>
> Quick version,
>
> How can I re-bin a given frequency distribution using new breaks
> without reference to the original data? Given distribution has
> integer valued bins.
>
>
> Long versi
I can't resist dipping my oar in here:
For me, some significant advantages of SAS are
- Ability to input data in almost *any* conceivable form using the
combination of features available through
input/infile statements, SAS informats and formats, data step
programming, etc. Dataset manipulation
(Ted Harding) wrote:
On 20-Nov-04 Uwe Ligges wrote:
Shigeru Mase wrote:
Dear R experts,
I am posting this question on behalf of a Japanese R user
who wants to know how to change the siginificant codes default.
As you know, R's default significant codes are:
Signif. codes: 0 `***' 0.001 `**' 0.01 `
Sigal Blay wrote:
gregmisc is installed yet the problem persist.
I installed gregmisc using
install.packages(c("combinat","gregmisc","genetics"),lib='/home/sblay/lib')
(on the same library path where I am trying to install LDheatmap)
Have you set the environment variable R_LIBS appropriately?
Uwe
Uwe Ligges wrote:
Prof Brian Ripley wrote:
On Sat, 20 Nov 2004, Frank E Harrell Jr wrote:
In
platform i386-pc-linux-gnu
arch i386
os linux-gnu
system i386, linux-gnu
status
major2
minor0.1
year 2004
month11
day 15
language R
I'm getting an error when using strwidth
Jean-Louis Abitbol wrote:
Dear Pr Harrel,
Thanks for your help at this occasion as well as for previous questions
to the list.
I just looked at the example in your intro doc.
However I am dealing with proportions (ie % of patients responding to a
given treatment).
In this case I am not sure I can u
Sorry for the dumb question, but I cant work out how to do this.
Quick version,
How can I re-bin a given frequency distribution using new breaks without
reference to the original data? Given distribution has integer valued
bins.
Long version,
I am loading a frequency table into R from a fil
Jean-Louis Abitbol wrote:
Dear All
I am trying to graph a proportion and CI95% by a factor with ooplot (any
other better solution ?)
It works well until I try to add the confidence interval.
this is the error message and and a description of the data:
> dat1
PointEst
TT1 1 3.6
TT
I want to specify a two-factor model in lme, which should be easy?
Here's what I have:
factor 1 - treatment FIXED (two levels)
factor 2 - genotype RANDOM (160 genotypes in total)
I need a model that tells me whether the treatment, genotype and
interaction terms are significant. I have been readi
Dear All
I am trying to graph a proportion and CI95% by a factor with ooplot (any
other better solution ?)
It works well until I try to add the confidence interval.
this is the error message and and a description of the data:
> dat1
PointEst
TT1 1 3.6
TT2 2 5.0
TT3 3
Hello,
BXC (Bendix Carstensen) schrieb:
Two major advantages of SAS that seems to have been overlooked in
the previous replies are:
1) The data-set language is SAS for data manipulation is more
human-readable than R-code in general.
R is not a definite write-only laguage as APL, but in parti
43 matches
Mail list logo