Brett Stansfield wrote:
Dear R,
I recently did a canonical correlation analysis on two subsets of data
(location and weather). So I now have canonical scores for location and
weather. but I'd now like to do a scatterplot matrix using the pairs
statement.
Is there a way to somehow join location
Thomas Yee wrote:
Hello,
It seems that if glm used a namespace then the conflict would be avoided?
No. I already descibed why *not*, and I descibed how to work with stats'
family functions even if VGAM has been loaded. Please reread my former
message and tell me what was unclear. You might
OK...x[min(which(x!=0)):length(x)] does the trick!
I guess the coffee is slowly but surely working! .
Manoj
- Original Message -
From: ManojW
To: R-help
Sent: Monday, May 30, 2005 2:12 PM
Subject: Re: Vector Manipulation
I should clarify that I tried x[cumsum(x)!=0] but
I should clarify that I tried x[cumsum(x)!=0] but the problem is that I might
have negative numbers in the vector that can potentially make cumsum(x) equal
to zero somewhere down the line in the vector.
Manoj
- Original Message -
From: ManojW
To: R-help
Sent: Monday, May 30, 2
Dear All,
For any given vector, I want to extract a sub-vector such that the new
vector skips all zeros, if any , at the start of vector. Is it possible to
achieve this w/o looping?
E.G : >x= c(0,0,1,2,3,4,5,0,0,8,9)
>y= somefunc(x);
>
On 5/29/05, Gabor Grothendieck <[EMAIL PROTECTED]> wrote:
> On 5/29/05, McClatchie, Sam (PIRSA-SARDI)
> <[EMAIL PROTECTED]> wrote:
> > Background:
> > OS: Linux Mandrake 10.1
> > release: R 2.0.0
> > editor: GNU Emacs 21.3.2
> > front-end: ESS 5.2.3
> > -
> > Colleag
On 5/29/05, McClatchie, Sam (PIRSA-SARDI)
<[EMAIL PROTECTED]> wrote:
> Background:
> OS: Linux Mandrake 10.1
> release: R 2.0.0
> editor: GNU Emacs 21.3.2
> front-end: ESS 5.2.3
> -
> Colleagues
>
> I am having some trouble extracting results from the function by, u
Background:
OS: Linux Mandrake 10.1
release: R 2.0.0
editor: GNU Emacs 21.3.2
front-end: ESS 5.2.3
-
Colleagues
I am having some trouble extracting results from the function by, used to
average variables in a data.frame first by one factor (depth) and then by a
seco
I don't think Spencer replied to your message. It wasn't addressed to you. He
was replying to a specific post on nomograms. However you might try being less
specific as a search on "spatial cluster" gave back
[R] mclust - clustering by spatial patterns
http://finzi.psych.upenn.edu/R/Rhelp02a/a
R help document showed us that you should not use "==" for comparing
objects, and you will use "all.equal".
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Makram Talih
Sent: Monday, May 30, 2005 8:17 AM
To: r-help@stat.math.ethz.ch
Subject: [R] trouble w
On 29 May 2005 at 20:17, Makram Talih wrote:
| Dear R users,
|
| I am using R version 2.0.1 (2004/11/15) on an i386-pc-mingw32 platform. I
| encounter the following problem while using cumsum:
|
| > a <- rep(0.01, 100)
| > b <- cumsum(a)
| > sum(a) == 1
| [1] TRUE
| > b[100] == 1
| [1] FALSE
|
Spencer Graves wrote:
From www.r-project.org -> search -> "R site search", I got 40 hits
for "nomogram". The first one was for a function "nomogram" in the
"Design" library. I haven't used it, but other people have, and some of
the other 39 hits might answer other questions you might ha
Dear R users,
I am using R version 2.0.1 (2004/11/15) on an i386-pc-mingw32 platform. I
encounter the following problem while using cumsum:
> a <- rep(0.01, 100)
> b <- cumsum(a)
> sum(a) == 1
[1] TRUE
> b[100] == 1
[1] FALSE
Am I missing something? Should cumsum have such an outcome?
Thanks in
From www.r-project.org -> search -> "R site search", I got 40 hits
for "nomogram". The first one was for a function "nomogram" in the
"Design" library. I haven't used it, but other people have, and some of
the other 39 hits might answer other questions you might have in trying
to use it.
Hi, List:
I heard some where about "nomogram" function in R, which package include
this function?
Thanks
Yongfei
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R
Hi List,
does anyone know of an implementation of spatially constrained
clustering in R?
This is where there is a vector of measurements for points on a plane
and only neighbors can be clustered together. I have tried implementint
in myself -- but if someone has alkready done it !
I
Hello,
It seems that if glm used a namespace then the conflict would be avoided?
FYI, I released VGAM 0.6-3 last Friday which has binomial(), poisson()
etc. removed so that it should no longer conflict with glm(). The
families that work under VGAM are called binomialff(), poissonff() etc.
Als
Dear R,
I recently did a canonical correlation analysis on two subsets of data
(location and weather). So I now have canonical scores for location and
weather. but I'd now like to do a scatterplot matrix using the pairs
statement.
Is there a way to somehow join location.U and weather.V to become
Dear Spencer,
> -Original Message-
> From: Spencer Graves [mailto:[EMAIL PROTECTED]
> Sent: Sunday, May 29, 2005 4:13 PM
> To: John Fox
> Cc: r-help@stat.math.ethz.ch; 'Jacob van Wyk'; 'Eric-Olivier Le Bigot'
> Subject: Re: [R] Errors in Variables
>
> Hi, John:
>
> Thanks for th
Hi, John:
Thanks for the clarification. I know that the "errors in X problem"
requires additional information, most commonly one of the variances or
the correlation. The question I saw (below) indicated he had tried
"model of the form y ~ x (with a given covariance matrix ...)", which
ma
Luke wrote:
Hi R-users,
How to get a bug contex?
My R code ran there for several hours, but a bug crashed it, printing
such message like "Error: subscript out of bounds". I want to use
browser() to catch the bug, but I don't know which loop caused the bug
(there are many loops in the code). I
Hi R-users,
How to get a bug contex?
My R code ran there for several hours, but a bug crashed it, printing
such message like "Error: subscript out of bounds". I want to use
browser() to catch the bug, but I don't know which loop caused the bug
(there are many loops in the code). I even don't kno
Check out the JGR link on the web page mentioned by Sander below.
On 5/29/05, Sander Oom <[EMAIL PROTECTED]> wrote:
> HI Robert,
>
> Of course Linux already has a console! Just type R in the Terminal
> console and R will start (assuming all is installed correctly). Graphics
> will be launched in
On 29 May 2005 at 12:13, Robert Citek wrote:
|
| Hello all,
|
| I noticed that both Windows and OS X version of R have a GUI
| (Rconsole). Is there a GUI for Linux? I'm running Debian on which
| the CLI for R works just fine.
$ apt-get install r-gnome ## works up until R 2.0.1
$ R --
Thank you very much for your reply and your *dirty* sloution, which does the
trick for me!
Aleš Žiberna
- Original Message -
From: "Uwe Ligges" <[EMAIL PROTECTED]>
To: "Aleš Žiberna" <[EMAIL PROTECTED]>
Cc: "R-help"
Sent: Saturday, May 28, 2005 7:58 PM
Subject: Re: [R] Forcing ticks
HI Robert,
Of course Linux already has a console! Just type R in the Terminal
console and R will start (assuming all is installed correctly). Graphics
will be launched in separate windows.
If you want more then the Terminal console, try:
http://www.sciviews.org/_rgui/
Good luck,
Sander.
R
Hello all,
I noticed that both Windows and OS X version of R have a GUI
(Rconsole). Is there a GUI for Linux? I'm running Debian on which
the CLI for R works just fine.
Regards,
- Robert
__
R-help@stat.math.ethz.ch mailing list
https://stat.et
Dear Helmut,
The problem is that you're implicitly coercing the entire data frame lab to
character, producing
> as.character(lab)
[1] "c(1, 3, 4, 5, 6, 7, 8, 9, 10, 2)"
The numbers themselves come from the numeric coding of the factor V1 in this
data frame; as.numeric(lab$V1) shows you what's go
Helmut Kudrnovsky wrote:
Hello R-friends,
i have a question to the "text"-function.
a little test-dataset for better understanding:
-the dataset was imported with read.table(,header=TRUE)
s1-s10 are the samplenames
var1 var2 var3
s1 112
s2 231
s3 22
Hello R-friends,
i have a question to the "text"-function.
a little test-dataset for better understanding:
-the dataset was imported with read.table(,header=TRUE)
s1-s10 are the samplenames
var1 var2 var3
s1 112
s2 231
s3 223
s4 543
s5
As a workaround you could try detaching and re-attaching vgam
before and after running glm.
detach("package:vgam")
glm(...whatever...)
library(vgam)
On 5/28/05, Kjetil Brinchmann Halvorsen <[EMAIL PROTECTED]> wrote:
> I just discovered that when the VGAM package (not on CRAN) is loaded,
> glm()
Kjetil Brinchmann Halvorsen wrote:
I just discovered that when the VGAM package (not on CRAN) is loaded,
glm() doesn't work. This is because VGAM defines a family function()
which gets found
by glm() in place of the family function from stats.
Then VGAM:::family returns an object which doesn't
Dear Spencer,
The reason that I didn't respond to the original posting (I'm the author of
the sem package), that that without additional information (such as the
error variance of x), a model with error in both x and y will be
underidentified (unless there are multiple indicators of x, which didn'
I just discovered that when the VGAM package (not on CRAN) is loaded,
glm() doesn't work. This is because VGAM defines a family function()
which gets found
by glm() in place of the family function from stats.
Then VGAM:::family returns an object which doesn't have a $family
component, (it has a
34 matches
Mail list logo