posted mailed
Dear all,
I'm trying to solve the problem, of how to find clusters of values in a
vector that are closer than a given value. Illustrated this might look as
follows:
vector - c(0,0.45,1,2,3,3.25,3.33,3.75,4.1,5,6,6.45,7,7.1,8)
When using '0.5' as the proximity requirement, the
Some progress in my problem:
Samu Mäntyniemi kirjoitti:
With MPICH2 I managed to connect my computers so that I was able to
remotely launch Rgui on both machines but R hanged when calling
library(Rmpi). If only one Rgui was launched on the localhost,
library(Rmpi) worked without errors, but
[EMAIL PROTECTED] napsal dne 20.12.2007 16:33:05:
Dear R-help,
I have a data set consisting of measurements made on multiple
subjects. Measurement sessions are repeated for each subject on
multiple dates. Not all subjects have the same number of
sessions. To create a factor that
MS == Marc Schwartz [EMAIL PROTECTED]
on Thu, 20 Dec 2007 16:33:54 -0600 writes:
MS On Thu, 2007-12-20 at 22:43 +0100, Johannes Graumann wrote:
Hi all,
Does anybody have a magic trick handy to isolate directly consecutive
integers from something like this:
Here is a modification of the algorithm to use a specified value for
the overlap:
vector - c(0,0.45,1,2,3,3.25,3.33,3.75,4.1,5,6,6.45,7,7.1,8)
# following add 0.5 as the overlap detection -- can be changed
x - rbind(cbind(value=vector, oper=1, id=seq_along(vector)),
+
Good morning, Dear Lister,
I really like to use R on our unix server. However, I am not an admin
of the system.
I am wondering if it is possible to install R on unix without admin previlege.
Thank you so much! Have a nice Xmas season!
__
HI, Gabor,
what program do i need to compile R on unix?
local dir? do you mean dir under my user name with my profile?
On Dec 21, 2007 10:42 AM, Gabor Csardi [EMAIL PROTECTED] wrote:
Well i don't know which Unix you have, but it shouldn't matter anyway.
If you're able to compile programs on the
Well i don't know which Unix you have, but it shouldn't matter anyway.
If you're able to compile programs on the machine then download
the R source, compile it and install it into your local directory.
Gabor
On Fri, Dec 21, 2007 at 10:25:36AM -0500, Wensui Liu wrote:
Good morning, Dear Lister,
On Thu, 20 Dec 2007, Kunio takezawa wrote:
R-users
E-mail: r-help@r-project.org
I found the answer myself.
'.Fortran(baklo,' in lo.wam() and .Fortran(bakfit,in
s.wam() may carry out backfitting. But I cannot
create an R code which gives the same results as those of
bakfit. If someone
Hi,
I don't think you have given enough information for
anyone to offer advice.
A small working (or almost working ) exmple that
reproduces the problem would help.
--- Jiaming Zuo [EMAIL PROTECTED] wrote:
Dear R Users,
I am working for the United Nations to construct
a complete
Hello all:
I'm sorry to take up bandwidth with easy questions, but as an R
beginner, I continue to be surprised by factors. If someone can shed
some light for me, I'd be grateful:
d
Total z02801 z02802 z02804 z02806 z02807 z02808 z02809 z02812 z02813
54813 29 51169 2368
On Fri, Dec 21, 2007 at 10:46:39AM -0500, Wensui Liu wrote:
HI, Gabor,
what program do i need to compile R on unix?
At least a C compiler, maybe a Fortran compiler too.
Some standard Unix tools like make as well. See also:
http://cran.r-project.org/doc/manuals/R-admin.html
local dir? do you
This may not be as direct as Jim's in terms of specifying granularity but
will uses conventional hierarchical clustering to create the clusters and also
draws a nice dendrogram for you. I have split the dendrogram at a
height of 0.5
to define the clusters but you can change that to whatever
By default, factors are characters and sorted in alphabetical order.
It looks like somehow you numeric data was converted to factors.
Therefore '10' comes before '2'. If you want the factors in numeric
order you have to convert them back. Look in the FAQs.
x - c(1,2,3,4,5,10,11,20,21,22,30)
Mary Christmas and happy new year to all contributors:-)
Michael
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented,
Thank you Duncan (additional comments below),
-Original Message-
From: Duncan Murdoch [mailto:[EMAIL PROTECTED]
Sent: December 20, 2007 02:36 PM
To: Thompson, David (MNR)
Cc: r-help@r-project.org
Subject: Re: [R] Available environment variables
On 20/12/2007 2:13 PM, Thompson, David
Hello R friends
I am quite impressed by the power of R, I am using it only since some
weeks now. But its visualizing capabilities are outstanding!
But one thing I couldn't solve: I have programs producing lots of data,
most times 3D. In R I am using the library rgl to visualize nicely the
3D
On Fri, 21 Dec 2007, Johannes Graumann wrote:
posted mailed
Dear all,
I'm trying to solve the problem, of how to find clusters of values in a
vector that are closer than a given value. Illustrated this might look as
follows:
vector - c(0,0.45,1,2,3,3.25,3.33,3.75,4.1,5,6,6.45,7,7.1,8)
So you have to write a script that will not terminate until you 'press a
button or something like this'. That's easy to do, but as you haven't
told us your OS. E.g. on Windows, call winDialogString at the end.
On Fri, 21 Dec 2007, Philipp Fechteler wrote:
Hello R friends
I am quite
useR's
I need transform the matrix
wdat
[,1] [,2] [,3] [,4] [,5] [,6]
[1,]010110
[2,]100110
[3,]000011
[4,]110010
[5,]111100
[6,]001000
to gal
Thanks Deepayan, this helped a lot and gave me exactly what I wanted
however I want a few changes and am not sure how to do them. In each
panel the bars for the years are the same color with the bottom axis
(the x-axis) labelled with the years. I would like each year to have a
specific color
On 12/21/07, Spilak,Jacqueline [Edm] [EMAIL PROTECTED] wrote:
Thanks Deepayan, this helped a lot and gave me exactly what I wanted
however I want a few changes and am not sure how to do them. In each
panel the bars for the years are the same color with the bottom axis
(the x-axis) labelled
Thank you very much for this elegant solution to the problem. The reason I
still hope for an extension of Jim's code (not the one re responded with in
this thread, but the one I actually reference) is that windows of overlap
can be asymetric with that: one can check e.g. whether values overlap
Jim,
Although I can't find the post this code stems from, I had come across it on
my prowling the NG. It's not the one you had shared with me to eliminate
overlaps (and which I referenced below:
http://tolstoy.newcastle.edu.au/R/e2/help/07/07/21286.html). That
particular solution you had come up
Dear All,
I have a numerical problem:
R, as other statistical software, can tell the difference between very small
numbers and 0, while apparently cannot distinguish a number close to 1 and 1.
In the example below, is it possible to instruct R to recognize that q is
different from 1?
On 21/12/2007 2:52 PM, [EMAIL PROTECTED] wrote:
Dear All,
I have a numerical problem:
R, as other statistical software, can tell the difference between very small
numbers and 0, while apparently cannot distinguish a number close to 1 and 1.
In the example below, is it possible to
Hi, everyone
I wonder if there is a function in R with which I can create a square
matrix with elements off main diagonal (for example one diagonal below
the main diagonal).
Thanks in advance!
--
Jonas Malmros
Stockholm University
Stockholm, Sweden
And the url is:
http://cran.r-project.org/src/contrib/Views/ExperimentalDesign.html
Hadley
On 12/21/07, Ulrike Grömping [EMAIL PROTECTED] wrote:
Dear UseRs,
the new Task View ExperimentalDesign (Title: Design of Experiments (DoE)
Analysis of Experimental Data) has just been uploaded to
Hi,
I am having trouble getting RMySQL running on a solaris machine.
[43] bedrock:/home/jayoung/source_codes/R/other_packages uname -a
SunOS bedrock 5.10 Generic_118833-36 sun4v sparc SUNW,Sun-Fire-T200
I thought I had finally managed to get it installed, albeit with some
warnings that I
On Dec 21, 2007 3:58 PM, Jonas Malmros [EMAIL PROTECTED] wrote:
I wonder if there is a function in R with which I can create a square
matrix with elements off main diagonal (for example one diagonal below
the main diagonal).
Try this and adjust the formula for other patterns:
mm - matrix(nr
Also try the odiag function in the demogR package
odiag( 1:5, -1)
[,1] [,2] [,3] [,4] [,5] [,6]
[1,]000000
[2,]100000
[3,]020000
[4,]003000
[5,]000400
[6,]000
hadley wickham presented the following explanation :
Perhaps as long as you're learning a new plotting system, you might also
check out whether ggplot2 might be an option.
I did a quick and dirty version (which I'm sure Hadley can improve and
also remind me how to get rid of the legend that
Thanks, Hadley!
Regards, Ulrike
-- Original Message ---
From: hadley wickham [EMAIL PROTECTED]
To: Ulrike Grömping [EMAIL PROTECTED]
Cc: r-help@r-project.org
Sent: Fri, 21 Dec 2007 22:49:38 +
Subject: Re: [R] New Cran Task View: ExperimentalDesign
And the url is:
I am writing a program for automated (i.e. no user intervention - for
biologists) iteratively reweighted least-square fit to a function of the form
reading ~ exp(lm2)/(1 + (dose/exp(lm3))^exp(lm4) using case weight
proportional to the mean, e.g., E(reading).Because for some datasets the
Marie Pierre Sylvestre wrote:
Dear R users,
I am analysing a very large data set and I need to perform several data
manipulations. The dataset is so big that the only way I can play with it
without having memory problems (E.g. cannot allocate vectors of size...)
is to write a batch script
Martin Maechler wrote:
MS == Marc Schwartz [EMAIL PROTECTED]
on Thu, 20 Dec 2007 16:33:54 -0600 writes:
MS On Thu, 2007-12-20 at 22:43 +0100, Johannes Graumann wrote:
Hi all,
Does anybody have a magic trick handy to isolate directly consecutive
integers from
In the R.utils package there is seqToIntervals(), e.g.
print(seqToIntervals(1:10))
## from to
## [1,]1 10
print(seqToIntervals(c(1:10, 15:18, 20)))
## from to
## [1,]1 10
## [2,] 15 18
## [3,] 20 20
There is also seqToIntervals(), which uses the above, e.g.
I was playing around with a simple example using solve.qp ( function is in the
quadprog package ) and the code is below. ( I'm not even sure there if there is
a reasonable solution because I made the problem up ).
But, when I try to use solve.QP to solve it, I get the error that D in the
Dear all,
I'm trying to estimate the parameters of a special case of a poisson
model, where the specified equation has an integral and several fixed
parameters.
I think that the MLE command in STATS4 package could be a good choice,
but it's a little complicated. I've got some problems with the
Dear all,
I'm trying to estimate the parameters of a special case of a poisson
model, where the specified equation has an integral and several fixed
parameters.
I think that the MLE command in STATS4 package could be a good choice,
but it's a little complicated. I've got some problems with the
Check out the drc package.
Also, please read the last line to every message to r-help regarding
reproducible code
and note that function names are case sensitive in R so NLS is not the
same as nls.
On Dec 21, 2007 7:36 PM, [EMAIL PROTECTED] wrote:
I am writing a program for automated (i.e. no
I was thinking about my solve.qp problem on my way home tonight and I think
I can fix it by making Dmat the identity matrix. I'll check this weekend to
make sure
but my thinking is that doing this will make all the variances the same so
that they shouldn't come into play during the evaluation of
On 2007-12-21, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Dear R users,
I have just moved to R2.6.1 under Opensuse linux 10.3. I used to
work with R under XPpro. Is it normal to have a visual aspect of R
under linux different ?
Yes, that's normal. Under windows, you get a GUI interface
How can I insert cross-references to odfWeave generated figures in my
source odf before the graphic has been created with odfWeave?
Many thanks,
Chris
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the
44 matches
Mail list logo