Dear All,
I am Ricky Jacob, a project Student from India who is working on
Forest Inventories.
Input data:
Plot(area = .1 ha) data having the following information:
1) Basal Area
2)Tree Density
3)Volume
So I am applying this information to the corresponding pixels in the
satellite imagery of the
Hi All
I have read this document - An Introduction to the .C Interface to R,
which primarily tells how to interface C language with R.
Is there and more elaborative and online documentation regarding this
interface.
Any pointers appreciated
-thanks
-gaurav
Dear R experts,
I was wondering if there are any R functions that give the tail area
of a sum of chisquare distributions of the type:
a_1 X_1 + a_2 X_2
where a_1 and a_2 are constants and X_1 and X_2 are independent chi-square
variables with different degrees of freedom.
Thanks,
Dear all,
I'm trying to plot the degree symbol by itself between two square
brackets. I just want to have K [°]. So far I got to:
expression(K ~ group([,1*degree,]))
or
expression(K ~ group([,1^o,]))
But it won't work without a number or letter.
Any suggestions?
Thanks,
andre
Hi Klausch:
I was wondering if there are any R functions that give the tail area
of a sum of chisquare distributions of the type:
a_1 X_1 + a_2 X_2
where a_1 and a_2 are constants and X_1 and X_2 are independent
chi-square variables with different degrees of freedom.
Christian
We don't know what document that is, and you haven't given us a useful
pointer, have you? And the authors (presumably Roger Peng and Jan de
Leeuw) deserve credit.
The definitive documentation is the 'Writing R Extensions' manual which
ships with R. There is also a lot in 'S Programming' (see
Andre Jung wrote:
Dear all,
I'm trying to plot the degree symbol by itself between two square
brackets. I just want to have K [°]. So far I got to:
expression(K ~ group([,1*degree,]))
or
expression(K ~ group([,1^o,]))
But it won't work without a number or letter.
This worked for me:
Andre Jung wrote:
Dear all,
I'm trying to plot the degree symbol by itself between two square
brackets. I just want to have K [°]. So far I got to:
expression(K ~ group([,1*degree,]))
or
expression(K ~ group([,1^o,]))
But it won't work without a number or letter.
Any suggestions?
Hi All,
Thank you very much for all your suggestions. It's a
great learning for me. All the three suggested
solutions seem working. I don't know what 'side
effects' that you were talking about. To summarize the
responses:
s - read.table(sample.txt, sep=\t)
s1 - as.matrix(s)
s1
V1 V2
On Fri, 16 Mar 2007, simon bond wrote:
I found that the following code crashes R (version 2.4.0 in windows).
x=rnorm(10,0.1,1)
library(nlme)
gls(x~0)
I quickly found a work-around for what I was trying to do, but I thought
I should report this.
This will be fixed (to give a sensible
On 3/29/07, Prof Brian Ripley [EMAIL PROTECTED] wrote:
We don't know what document that is, and you haven't given us a useful
pointer, have you? And the authors (presumably Roger Peng and Jan de
Leeuw) deserve credit.
It is a great point. I have googled and confirm that the authors are
Roger
Dear R-Helpers,
I'd like to develop a fanny clustering on my data set(70.000 rows), but when
i run the procedure i obtain this error:
error in vector(double, lenght): too big dimension for
the selected vector.
How can i solve this problem?
Thank you in advance.
Sergio Della Franca.
1) Reduce the size of your sample (random or stratified subsampling),
2) Increase the memory of your computer available to R.
Best,
Philippe Grosjean
..°}))
) ) ) ) )
( ( ( ( (Prof. Philippe Grosjean
) ) ) ) )
( ( ( ( (Numerical
Sorry to plague the list, but I think I got the answer. The following
would do:
signalList - list(tradingRules$Signal[tradingRules$Enabled]) [[1]]
length(signalList)
[1] 2
Now my problem is shifted: I have the Signal column in the original data
frame referring to actual
matrices previously
Ok,
How can i increase the memory of your computer available to R?
2007/3/29, Philippe Grosjean [EMAIL PROTECTED]:
1) Reduce the size of your sample (random or stratified subsampling),
2) Increase the memory of your computer available to R.
Best,
Philippe Grosjean
Sergio Della Franca wrote:
Ok,
How can i increase the memory of your computer available to R?
Well, if you would like to increase memory of MY computer... you are
welcome to do so... but I doubt it would be of any use for you ;-)
You don't tell us how much RAM you have currently, which
I have just started programming in R and so my question might be basic but
I cant find it in the manual
I have four matrices A,B,C and D and want them to compose in a big matrix X
with A in the upper left corner, B in the right upper corner, c below A
and D below B.
Thanks for your help
eva
try this:
A1 - matrix(1:20, 5, 4)
B1 - matrix(1:15, 5, 3)
A2 - matrix(1:8, 2, 4)
B2 - matrix(1:6, 2, 3)
#
rbind(cbind(A1, B1), cbind(A2, B2))
I hope it helps.
Best,
Dimitris
Dimitris Rizopoulos
Ph.D. Student
Biostatistical Centre
School of Public Health
Catholic
Eva Ubl wrote:
I have just started programming in R and so my question might be basic but
I cant find it in the manual
I have four matrices A,B,C and D and want them to compose in a big matrix X
with A in the upper left corner, B in the right upper corner, c below A
and D below B.
A -
Hallo,
can anyone help me with datatypes? Which datatypes from R are equivalent
to the following ones from C?
C datatypes:
- double array
- struct array
- cell array
- char array
- logical array
Thanks, Corinna
__
R-help@stat.math.ethz.ch mailing
I was wondering if there are any R functions that give the tail area
of a sum of chisquare distributions of the type:
a_1 X_1 + a_2 X_2
where a_1 and a_2 are constants and X_1 and X_2 are independent
chi-square variables with different degrees of freedom.
You might also check out
On 3/29/2007 6:45 AM, Schmitt, Corinna wrote:
Hallo,
can anyone help me with datatypes? Which datatypes from R are equivalent
to the following ones from C?
I assume you mean functionally equivalent; if you mean equivalent in
storage so you can pass them to C functions, see the Writing R
Thomas Lumley wrote:
On Wed, 28 Mar 2007, Frank E Harrell Jr wrote:
Eric Elguero wrote:
Hi everybody,
recently I had to teach a course on Cox model, of which I am
not a specialist, to an audience of medical epidemiologists.
Not a good idea you might say.. anyway, someone in the
audience
John,
Thanks, that works nicely. Didn't know about 'get'.
Onwards and upwards! :-)
Cheers,
Murali
John James [EMAIL PROTECTED]
29/03/2007 12:40
To
[EMAIL PROTECTED]
cc
Subject
RE: [R] creating conditional list of elements
Murali
If sm is your orginal matrix
# such that
Dear R-Helpers,
I read in the R documentation, about kmeans:
centers
Either the number of clusters or a set of initial (distinct) cluster
centres. *If a number*, a random set of (distinct) rows in x is chosen as
the initial centres.
My question is: could it be possible that the centers are
On Thu, 2007-03-29 at 02:12 -0700, A Ezhil wrote:
Hi All,
Thank you very much for all your suggestions. It's a
great learning for me. All the three suggested
solutions seem working. I don't know what 'side
effects' that you were talking about.
As Peter noted, the phrase 'side effect' may
I reported a similar issue with Adobe Reader in a thread starting here:
http://tolstoy.newcastle.edu.au/R/e2/devel/06/10/0706.html
K Wright
On 3/27/07, Michael Sumner [EMAIL PROTECTED] wrote:
Hello, thanks to Deepayan Sarkar for sorting me out on this one.
The problem with transparent lines
On Thu, 29 Mar 2007, Klaus Nordhausen wrote:
I was wondering if there are any R functions that give the tail area
of a sum of chisquare distributions of the type:
a_1 X_1 + a_2 X_2
where a_1 and a_2 are constants and X_1 and X_2 are independent chi-square
variables with different
Hi,
I have two questions about ccf. 1) does it return correlation value for each
lag? The documentation states the following: The lag is returned and
plotted in units of time, and not numbers of observations. There are
printand subsetting methods for objects of class
acf . Does this mean only lag
On Thu, 2007-03-29 at 15:02 +0200, Sergio Della Franca wrote:
Dear R-Helpers,
I read in the R documentation, about kmeans:
centers
Either the number of clusters or a set of initial (distinct) cluster
centres. *If a number*, a random set of (distinct) rows in x is chosen as
the
Thank you John and Peter.
Peter, yes I'm guilty of tacking onto a random mail. I thought you couldn't
tell since I got ride of the text from the last mail. Apologize.
H.
John Fox [EMAIL PROTECTED] 3/28/2007 5:37 PM
Dear Horace,
The Bonferonni p-value is obtained from the unadjusted p-value
I know almost nothing about the tcltk library, and the
documentation seems very poor. What's the meaning of this
error, and is there any way to fix it? I'm running R 2.4.1
in a Windows XP machine where I have almost no privileges
(but at home I am the Evil Overlord of a Linux machine...)
On Thu, 2007-03-29 at 09:51 -0700, Horace Tso wrote:
Thank you John and Peter.
Peter, yes I'm guilty of tacking onto a random mail. I thought you
couldn't tell since I got ride of the text from the last mail.
Apologize.
H.
Just a quick heads up here, that deleting the body text of a
Hi,
I have a student trying to run R on an Apple (OS 10.3.9). She tried to
cut-and-paste the data via the code:
data-read.table(pipe(pbpaste))
But she keeps getting the error message:
'error in pipe(pbpaste): pipe connections are not available on this
system'
I do not know much about using an
Running this:
library(tcltk)
tt - tktoplevel()
done - tclVar(0)
but - tkbutton(tt, text=OK, command=function() tclvalue(done) - 1)
tkpack(but)
tkwait.variable(done)
works as fine as long as I click the OK. However, if I close
the window (by clicking in the X), R enters into an infinite loop
and
On 29-Mar-07 17:15:27, Marc Schwartz wrote:
[...]
Just a quick heads up here, that deleting the body text of
a message or changing the subject line, does not alter the
'linkage' between posts.
There are standards for how messages are 'threaded' and largely
have to do with the e-mail
The Satterthwaite approximation is surprisingly good, especially in the
most interesting range in the right tail (say 0.9 to 0.999). There is also
another, better, approximation with a power of a chi-squared distribution
that has been used in the survey literature.
However, since it is easy
S Ellison wrote:
I was wondering if there are any R functions that give the tail area
of a sum of chisquare distributions of the type:
a_1 X_1 + a_2 X_2
where a_1 and a_2 are constants and X_1 and X_2 are independent
chi-square variables with different degrees of freedom.
You
Alberto Monteiro albmont at centroin.com.br writes:
library(tcltk)
tt - tktoplevel()
done - tclVar(0)
but - tkbutton(tt, text=OK, command=function() tclvalue(done) - 1)
tkpack(but)
tkwait.variable(done)
works as fine as long as I click the OK. However, if I close
the window (by clicking
Duncan Murdoch murdoch at stats.uwo.ca writes:
On 3/29/2007 6:45 AM, Schmitt, Corinna wrote:
- cell array
I don't know what a cell is in C.
This is MathLabish.
Dieter
__
R-help@stat.math.ethz.ch mailing list
I've searched for 45 minutes, apparently in all the wrong places for a
solution to a configuration issue I'm having.
When I use Xemacs with ESS running in R-mode, and I type a - character, it
autocompletes it to - . How do I disable this annoying feature?
Thanks much.
[[alternative
Dieter Menne wrote:
library(tcltk)
tt - tktoplevel()
done - tclVar(0)
but - tkbutton(tt, text=OK, command=function() tclvalue(done) - 1)
tkpack(but)
tkwait.variable(done)
works as fine as long as I click the OK. However, if I close
the window (by clicking in the X), R enters into an
christian.ritter at shell.com writes:
The Vista issue is not innocent as it threatens the life of R within large
corporations. So any posts on how R
runs under Vista and what has to be done to make it work and what cannot be
done etc will be very useful.
Main problem seems to be the
On Thu, 2007-03-29 at 19:38 +0100, [EMAIL PROTECTED] wrote:
On 29-Mar-07 17:15:27, Marc Schwartz wrote:
[...]
Just a quick heads up here, that deleting the body text of
a message or changing the subject line, does not alter the
'linkage' between posts.
There are standards for how
As a big fan of Wikipedia, it's frustrating to see how little there is about
R in the correlated project, the Wikibooks:
http://en.wikibooks.org/wiki/R_Programming
Alberto Monteiro
__
R-help@stat.math.ethz.ch mailing list
On Thu, 2007-03-29 at 13:57 -0500, c n wrote:
I've searched for 45 minutes, apparently in all the wrong places for a
solution to a configuration issue I'm having.
When I use Xemacs with ESS running in R-mode, and I type a - character, it
autocompletes it to - . How do I disable this
On Thu, 2007-03-29 at 13:57 -0500, c n wrote:
I've searched for 45 minutes, apparently in all the wrong places for a
solution to a configuration issue I'm having.
When I use Xemacs with ESS running in R-mode, and I type a - character, it
autocompletes it to - . How do I disable this
c n [EMAIL PROTECTED] writes:
When I use Xemacs with ESS running in R-mode, and I type a - character, it
autocompletes it to - . How do I disable this annoying feature?
From the ESS manual:
,
|* ESS[S]: Pressing underscore (_) once inserts - (as before);
| pressing underscore
On 29-Mar-07 19:21:12, Marc Schwartz wrote:
On Thu, 2007-03-29 at 19:38 +0100, [EMAIL PROTECTED] wrote:
On 29-Mar-07 17:15:27, Marc Schwartz wrote:
[...]
Just a quick heads up here, that deleting the body text of
a message or changing the subject line, does not alter the
'linkage'
This expression,
read.table(pipe(pbpaste))
does work for me on an OS X 10.4.9 system.
And it was working 2 years ago on a 10.3.8 system (an older R, obviously).
I would look to how R was installed, what version of R, that kind of thing.
Use the sessionInfo() command to provide that
On Mar 29, 2007, at 3:21 PM, Marc Schwartz wrote:
Since most e-mail systems (list managers, MUA's, etc.) thread based
upon
the headers and not the subject, as described in the above references,
unless you generate a completely new e-mail, your reply will be linked
to the e-mail and thread
Hi,
I wonder where I can find an example of using a function in LAPACK library in a
user's own C code. I wrote a C program which will be compiled and linked to
produce a DLL file and then loaded into R. I hope to use a function from LAPACK
library, for example, dgesdd, in the program.
Alberto Monteiro albmont at centroin.com.br writes:
As a big fan of Wikipedia, it's frustrating to see how little there is about
R in the correlated project, the Wikibooks:
http://en.wikibooks.org/wiki/R_Programming
Alberto Monteiro
Well, we do have an R wiki --
Hi,
what would be a good way of enhancing the ancova function from the HH
package when using a 2 factor ANCOVA?
The current behaviour for the ancova function from package HH is:
--
| P1 || P1 || P3 || P4 | | PS | - the lattice strip
Hi,
I am using ccf but I could not figure out how to calculate the actual lag in
number of periods from the returned results. The documentation for ccf
says:The lag is returned and plotted in units of time. What does units of
time mean? For example:
x=ldeaths
x1=lag(ldeaths,1)
The unit of time for a ts class object is deltat(ldeaths).
See the
?deltat
help page.
On 3/29/07, tom soyer [EMAIL PROTECTED] wrote:
Hi,
I am using ccf but I could not figure out how to calculate the actual lag in
number of periods from the returned results. The documentation for ccf
Suppose you have 4 related vectors:
a.id-c(1:25, 1:25, 1:25)
a.vals - c(101:175)# same length as a.id (the values for those IDs)
a.id.levels - c(1:25)
a.id.ratings - rep(letters[1:5], times=5)# same length as a.id.levels
What I would like to do is specify a rating from a.ratings
I think sometime ago someone suggested that we append a
comments/discussion/wiki section to the end of every R functions' help
page that is editable by everyday users.
In other words, every R function help page has a fixed component that
has met R-core's approval and a clearly marked and more
Dear R People:
This is more of an opinion question please:
When putting together GUI type functions, is
it better to use JAVA or Tcl/Tk, please?
Any input is appreciated!
Sincerely,
Erin Hodgess
Associate Professor
Department of Computer and Mathematical Sciences
University of Houston -
Question:
Many (perhaps most?) questions on the list are easily answerable simply by
checking existing R Docs (Help file/man pages, Intro to R, etc.). Why would
a Wiki be more effective in deflecting such questions from the mailing list
than them? Why would too helpful R experts be more inclined
Sounds like you have two different tables and are trying to mine one
based on the other. Try
ref - data.frame( levels = 1:25,
ratings = rep(letters[1:5], times=5) )
db - data.frame( vals=101:175, levels=c(1:25, 1:25, 1:25) )
levels.of.interest - ref$levels[ ref$rating==a ]
Many (perhaps most?) questions on the list are easily answerable simply by
checking existing R Docs (Help file/man pages, Intro to R, etc.). Why would
a Wiki be more effective in deflecting such questions from the mailing list
than them? Why would too helpful R experts be more inclined to
On Thu, 2007-03-29 at 19:55 -0400, Paul Lynch wrote:
Suppose you have 4 related vectors:
a.id-c(1:25, 1:25, 1:25)
a.vals - c(101:175)# same length as a.id (the values for those IDs)
a.id.levels - c(1:25)
a.id.ratings - rep(letters[1:5], times=5)# same length as a.id.levels
I think we occasionally think that it is very easy to get information because
we know how to find the information. This does not mean that other people know
how to find the answer. It is for this reason that questions appear on the
listserver that we might think could be easily found from other
It really depends on what you're trying to do. tcl/tk is convenient in that
support for it is included with R. There won't be any distribution
complications. Obviously, Java is fairly widespread, but then there's the
complication of installing rJava or some other R-Java binding.
If you're doing
Dear All,
I've been using mcmcsamp() successfully with a few different mixed models
but I can't get it to work with the following. Is there an obvious reason
why it shouldn't work with a model of this structure ?
*brief summary of objective:
I want to test the effect of no-fishing marine
Ground floor to the future
Critical Care New
SYm-C.C.T.I
16 Cents is a STEAL
This could hit in short and over in the long run
This one is Guaranteed to double in next 2 days
Get in this gem tomorrow, Catch an easy doubler!!
their fourth straight win, a 131-107 blowout of the Phoenix Suns on
On Thu, 29 Mar 2007, Paul Lynch wrote:
Suppose you have 4 related vectors:
a.id-c(1:25, 1:25, 1:25)
a.vals - c(101:175)# same length as a.id (the values for those IDs)
a.id.levels - c(1:25)
a.id.ratings - rep(letters[1:5], times=5)# same length as a.id.levels
What I would like
Adai-- Thanks a lot! This is just what I was looking for. I was
almost sure there had to be a neat of doing this.
Bert-- Thanks for the tip.
Marc-- Not quite, although your solution works fine for the case I
gave. What I had in mind for a.id was an arbitrary sequence of the
numbers in the
Hi Dieter,
I am facing the same problem in my case. R 2.4.1 have installed
successfully, but when i try to install the packages from a local zip
file. It gives the following error message. Please tell me how to install
the packages in a corporate environment. I mean i could not understand
On Thu, 29 Mar 2007, Paul August wrote:
Hi,
I wonder where I can find an example of using a function in LAPACK
library in a user's own C code.
In about 20 R packages, e.g. the recommended package mgcv.
I wrote a C program which will be
compiled and linked to produce a DLL file and then
*Sorry for duplicate post - i forgot to tell the error
Hi Dieter,
I am facing the same problem in my case. R 2.4.1 have installed
successfully, but when i try to install the packages from a local zip
file. It gives the following error message.
+++
72 matches
Mail list logo