Hi all,
I want to create a simple plot with 2 type='s' lines on it:
plot(a, b, type='s')
lines(x, y, type='s')
I wish to then fill the area between the curves with a colour to
accentuate the differences eg col=gray(0.95). I cant seem to come up
with a simple method for this. Any pointers in th
I guess this sample is required for some practical application, say a
simulation for something done over the Earth. Then, I also guess that
the sample does not have to be _absolutely_ exact, but a reasonable
approximation can do it. And the ellipsoid is a rotation ellipsoid.
This is my suggestion:
Hi,
I wonder if anyone can help me with specifying a right model for my analysis. I
am a beginner to lme methods and though have spent already many hours studying
from various books an on-line helps, I was unfortunately not able to find a
solution to my problem on my own.
Data structure:
I st
On 25-Feb-07 Ranjan Maitra wrote:
> "My" method is for the surface, not for the interior. The
> constraint d*X/|| \Gamma^{-1/2}X ||ensures the constraint, no?
> The uniformity is ensured by the density restricted to satisfy
> the constraint which makes it a constant.
>
> Ranjan
OK -- I admit tha
Its a FAQ.
http://cran.r-project.org/doc/FAQ/R-FAQ.html#How-can-I-turn-a-string-into-a-variable_003f
On 2/25/07, Monika Kerekes <[EMAIL PROTECTED]> wrote:
> Dear members,
>
>
>
> I have started to work with R recently and there is one thing which I could
> not solve so far. I don't know how to de
Alberto Vieira Ferreira Monteiro wrote:
> I seems like I will join two threads :-)
Please address RPy-specific questions to the Rpy mailing list, where
they will be answered swiftly and without annoyance to everyone else on
this general r-help mailing list.
> Ok, RPy was installed (in Fedora Core
Dear All,
the patient risk score could be calculated by the weighted linear combination
of variables with estimated coefficients (linear.predictors returned by coxph).
if the linear predictor is greater than 0, the risk score is high and low in
the opposite case. however, I don't find the cohere
I have both handbook and MASS and think MASS is much better. But of
course, it also depends on how you want to use R or your previous
exposure to R.
On 2/25/07, Julien Barnier <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I am starting a new job as a study analyst for a social science
> research unit. I w
I seems like I will join two threads :-)
Ok, RPy was installed (in Fedora Core 4, yum -y install rpy), and it
is running. However, I have a doubt, and the (meagre) documentation
doesn't seem to address it.
In python, when I do this:
>>> import rpy
>>> rpy.r.setwd("/mypath")
>>> rpy.r.source("my
Dear members,
I have started to work with R recently and there is one thing which I could
not solve so far. I don't know how to define macros in R. The problem at
hand is the following: I want R to go through a list of 1:54 and create the
matrices input1, input2, input3 up to input54. I have tr
On Feb 24, 2007, at 6:12 PM, Joseph Retzer wrote:
> I'd like to create an mtext title which has certain words bold, the
> rest not bold.
x <- 1:10
y <- x^2
plot(x, y, main = expression(paste(
"Overall Satisfaction Call",
bold(" Difference "),
"vs. Overall Satisfaction Rep.",
Duncan Temple Lang wrote:
>
> Well, we'll need to know in what ways it doesn't work and
> what operating system you are using, etc.
>
In python:
>>> import RS
Traceback (most recent call last):
File "", line 1, in ?
ImportError: No module named RS
In R:
> library(RSPython)
Erro em ifelse(R.ver
Julien
This is quite a common question. Within R, try
RSiteSearch('one good book for R')
and follow the threads ..
Peter Alspach
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Julien Barnier
> Sent: Monday, 26 February 2007 8:51 a.m.
>
Dear all,
I'm struggling to find the best (set of?) function(s) to do repeated
measures logistic regression on some data from a psychology experiment.
An artificial version of the data I've got is as follows. Firstly,
each participant filled in a questionnaire, the result of which is a
sco
Hi,
I am starting a new job as a study analyst for a social science
research unit. I would really like to use R as my main tool for data
manipulation and analysis. So I'd like to ask you, if you had just one
book on R to buy (or to keep), which one would it be ? I already
bought the Handbook of St
try:
cat(sprintf("%d %d %f %f %f %f\n", b[,1], b[,2], b[,3], b[,4], b[,5],
b[,6]), file='data.out', sep='')
On 2/25/07, Mohsen Jafarikia <[EMAIL PROTECTED]> wrote:
>
> Hello everyone,
>
> I am using the following program to get the p-value of some numbers
> (column 'LR' of the data.dat file). I
Thanks Mark for taking the time to provide me with a very well detailed reply
and explanation. It helps a lot. Regards.
--
View this message in context:
http://www.nabble.com/Woolf%27s-test%2C-Odds-ratio%2C-stratification-tf3284589.html#a9146699
Sent from the R help mailing list archive at Nabbl
Would need more info. Merge could still do the job; you might just
have to call it approx a dozen - 1 times!
Andy
On 25 Feb 2007, at 16:27, Bert Jacobs wrote:
> Hi,
>
> What is the best way to combine several dataframes (approx a dozen,
> all
> having one column) into one? All dataframes h
Well, we'll need to know in what ways it doesn't work and
what operating system you are using, etc.
If you want to call R from Python, RPy is probably more straightforward.
But RSPython works fine on Unix machines. Not on Windows at this point.
D.
Alberto Vieira Ferreira Monteiro wrote:
> Any
"Ravi S. Shankar" <[EMAIL PROTECTED]> writes:
> Hi R users,
>
> I am using RMySQL to connect to a database in MySQL.
>
> I have 3 questions.
>
>
>
> 1)When I give the following command
>
> dbListTables(con)
>
>
>
> I get the output
>
>
>
> stack imbalance in .Call, 142 then 143
>
> stack im
Hello,
The share of concurring votes (i.e. yes-yes and no-no) in total votes
between a pair of voters is a function of their ideological distance (index
continuous on [1,2]).
I show by other means that the votes typically are highly positively
correlated (with an average c=0.6). This is because
Any hints on how to make RSPython work? I downloaded and installed it, but
I can't use it neither from python nor from R!
Alberto Monteiro
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting g
Gitta Lubke wrote:
> I'd like to rotate x-axis labels to get a diagonal orientation (rather
> than horizontal or vertical), this would result in an easier read, any
> ideas?
> thanks, Gitta
This is FAQ 7.27
http://cran.r-project.org/doc/FAQ/R-FAQ.html#How-can-I-create-rotated-axis-labels_003f
Hello everyone,
I am using the following program to get the p-value of some numbers
(column 'LR' of the data.dat file). I want to write the 1st and 2nd
column of the output file (data.out) as an integer while the program
change them. Could anybody please tell me how I can write
the code which wri
Dear Sir in the following example,is the vector lmom a l-moment ratios
vector? What is meant by size = northCascades[,1]? And what are the values
in c(0.0104,0.0399,0.0405)?
Please help me I am unable to understand these from help manual.
Best Regards
AMINA
data(northCascades)
lmom <- c(1, 0.
Hi,
This question has no connection with the original thread. Please do not post
like this since it messes up threads since making searching by thread topics in
archives useless.
Thank you,
Ranjan
On Sun, 25 Feb 2007 17:27:25 +0100 "Bert Jacobs" <[EMAIL PROTECTED]> wrote:
> Hi,
>
> What is t
Dear Sir
I am not understanding the HOMTESTS in package nsRFA. Is vector x is the
data from all sites combined combined in one vector? How to assign "cod"?
Your help is really appreciable
Regards
AMINA
--
AMINA SHAHZADI
Department of Statistics
GC University Lahore, Pakistan.
Email:
[EMAIL PROTE
Dear Sir
There are two packages of regional frequency analysis RFA and nsRFA. Are
both give us same results if not then what you will suggest.
I am confused about this.
Please guid me in this regard
AMINA
--
AMINA SHAHZADI
Department of Statistics
GC University Lahore, Pakistan.
Email:
[EMAIL PRO
On Sun, 2007-02-25 at 15:56 +, Alberto Vieira Ferreira Monteiro
wrote:
> hadley wickham wrote:
> >
> > What do you prefer/recommend for double-banger function names:
> >
> > 1 scale.colour
> > 2 scale_colour
> > 3 scaleColour
> >
> > 1 is more R-like, but conflicts with S3. 2 is a modern ve
Hi,
What is the best way to combine several dataframes (approx a dozen, all
having one column) into one? All dataframes have a different rowlength, and
do not contain numbers.
As this new dataframe should have the length of the dataframe with the most
rows, the difference in rows with the other da
Hello to the list,
I noticed something that it seems weird to me with postscript device in
dev.print function.
Suppose this little code:
x<-1:10
par(family="sans")
plot(x, main="main")
Using dev.print with pdf device brings no problem
dev.print(device=pdf, file="test.pdf")
But using postscript d
I'd like to rotate x-axis labels to get a diagonal orientation (rather
than horizontal or vertical), this would result in an easier read, any
ideas?
thanks, Gitta
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLE
Thanks Andy, Alberto, Charles, Paul and Pierre. I needed to simulate a set of
counts to test a poisson regression model. Therefore would the best option be
as pointed use rpois(.,.)?
Sincerely
Anup
-
[[alternative HTML version deleted]]
_
hadley wickham wrote:
>
> What do you prefer/recommend for double-banger function names:
>
> 1 scale.colour
> 2 scale_colour
> 3 scaleColour
>
> 1 is more R-like, but conflicts with S3. 2 is a modern version of
> number 1, but not many packages use it. Number 3 is more java-like.
> (I like num
There is a fourth possibility too:
4. `scale colour`
I guess my preference is #1, #2, #3 and #4 in that order with #1 best. Even
though #1 can conflict with S3 it usually does not and its historically what R
used so I usually just stay consistent with historical precedent. #2 is
otherwise best
Charles Annis, P.E. wrote:
>
> rpois(n, lambda)
>
> ... will do it. But you should tell us something about how you want your
> numbers to be distributed, since rpois() produces integers having a Poisson
> distribution.
>
rpois does not generate random _integers_, it generates random
_natural num
--- hadley wickham <[EMAIL PROTECTED]> wrote:
> What do you prefer/recommend for double-banger
> function names:
>
> 1 scale.colour
> 2 scale_colour
> 3 scaleColour
>
> 1 is more R-like, but conflicts with S3. 2 is a
> modern version of
> number 1, but not many packages use it. Number 3 is
Try this:
plot(1)
mtext(quote(A ~ bold(bold) ~ word), cex = 1.3)
On 2/24/07, Joseph Retzer <[EMAIL PROTECTED]> wrote:
> Hi everyone,
> I suspect this is an easy task however I've not been able to accomplish it.
> I'd like to create an mtext title which has certain words bold, the rest not
> bo
hadley wickham wrote:
> What do you prefer/recommend for double-banger function names:
>
> 1 scale.colour
> 2 scale_colour
> 3 scaleColour
>
> 1 is more R-like, but conflicts with S3. 2 is a modern version of
> number 1, but not many packages use it. Number 3 is more java-like.
> (I like num
What do you prefer/recommend for double-banger function names:
1 scale.colour
2 scale_colour
3 scaleColour
1 is more R-like, but conflicts with S3. 2 is a modern version of
number 1, but not many packages use it. Number 3 is more java-like.
(I like number 2 best)
Any suggestions?
Thanks,
Sure.
rpois(n, lambda)
... will do it. But you should tell us something about how you want your
numbers to be distributed, since rpois() produces integers having a Poisson
distribution.
Charles Annis, P.E.
[EMAIL PROTECTED]
phone: 561-352-9699
eFax: 614-455-3265
http://www.StatisticalEngineer
On 25 Feb 2007, at 06:51, Anup Nandialath wrote:
>
> Is there an R function to generate random integers? Thanks in
> advance.
The package Random does what you want, but requires a net connection.
http://cran.r-project.org/src/contrib/Descriptions/random.html
"This package provides an inter
> Is there an R function to generate random integers? Thanks in advance.
For example, if you want 5 random integers from the sequence 1:50, you
can do the following:
sample(1:50,5)
Paul
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/ma
I would like to do recursive partitioning when the response is a
count variable subject to overdispersion, using say negative
binomial likelihood or something like quasipoisson in glm. Would
appreciate any thoughts on how to go about this (theory/computation).
If I understand the rpart d
Hi everyone,
I suspect this is an easy task however I've not been able to accomplish it.
I'd like to create an mtext title which has certain words bold, the rest not
bold. So far I've been able to create one which is all bold, one which is all
not bold and one which has bold and not bold super
Hi everyone,
I suspect this is an easy task however I've not been able to accomplish it.
I'd like to create an mtext title which has certain words bold, the rest not
bold. So far I've been able to create one which is all bold, one which is all
not bold and one which has bold and not bold super
Hi all,
Is there an R function to generate random integers? Thanks in advance.
Sincerely
Anup
-
Now that's room service! Choose from over 150,000 hotels
[[alternative HTML version deleted]]
__
R-help@stat.
Deepayan Sarkar wrote:
> On 2/24/07, Mark and Heather Lyman <[EMAIL PROTECTED]> wrote:
>> I would like to place the value for each bar in barchart (lattice) at
>> the top of each bar. Something like the following code produces.
>>
>> library(lattice)
>>
>> mypanelfunc <- function(x, y, ...)
>> {
>>
48 matches
Mail list logo