G'day Marc,
On Fri, 08 Jun 2007 14:11:48 -0500
Marc Schwartz [EMAIL PROTECTED] wrote:
On Fri, 2007-06-08 at 16:02 +0200, Giovanni Parrinello wrote:
Dear All,
discussing with a statistician of a pharmaceutical company I
received this answer about the statistical package that I have
On Fri, 2007-06-08 at 20:39 -0500, Robert Wilkins wrote:
That may sound like a stupid question, but if it confuses me, I'm sure
it confuses others as well. I've tried to find that information on the
R mail-group info pages, can't seem to find it. Is it something
obvious?
To begin a brand
Dear R-Team,
I have a problem with writing an array to (for example) a .txt-file.
Because of the .txt-file must be read from another programm (OPL ILOG),
the syntax of the output must be from a special form:
name_of_the_object = [ [1,2, ... ],
[1,...],
Thanks. I read your code too quickly. I'll have a
look at the R News article. I read it last year but
apparently have forgotten just about all of it. :(
--- Gabor Grothendieck [EMAIL PROTECTED]
wrote:
The code in my post uses Date class, not POSIX.
sort.POSIXlt is never invoked. Suggest you
This will probably do it for you. It is a function to create the output:
write.array - function(x,fileName){
outFile - file(fileName, 'w')
cat(deparse(substitute(x)), =[, sep='', file=outFile)
for (i in 1:nrow(x)){
cat('[', paste(x[i,], collapse=','), ']', file=outFile,
Hmmm. Possibly your best bet is to create a batch file, runr.bat or something,
and associate .r files with that.
The batch file would be something like:
C:/Program Files/R/R-2.5.0/bin/Rgui.exe --no-save %1
(I think thats how you reference arguments in dos...)
-Original Message-
On 08/06/2007 2:52 PM, [EMAIL PROTECTED] wrote:
Hi Folks,
On Windows XP, R 2.5.0.
After reading the Installation for Windows and Windows FAQs,
I cannot resolve this.
I set file types so that Rgui.exe will open .r files.
When I try to open a .r file by double-clicking, R begins to
In gmail just hit Reply to All at the bottom of the post you wish to
follow up on.
On 6/8/07, Robert Wilkins [EMAIL PROTECTED] wrote:
That may sound like a stupid question, but if it confuses me, I'm sure
it confuses others as well. I've tried to find that information on the
R mail-group info
Try this:
write.ilog - function(X, file = ) {
w - function(x, z, file)
cat([, paste(x, collapse = ,), ], z, sep = , file = file)
if (!identical(file, )) {
file - open(file, w)
on.exit(close(file))
}
cat(X=[, file = file)
nr - nrow(X)
for(i in 1:nr)
CM == Carmen Meier [EMAIL PROTECTED]
on Fri, 08 Jun 2007 19:31:49 +0200 writes:
CM Hi to all, maybe the last question was not clear enough.
CM I did not found any hints how to decide whether it
CM should use lower.tail or not. As it is an extra
CM R-feature ( written in
If you want to count the local maxima in the n x n matrix returned by
kde2d, AND you know there are no ties, you could do something like the
following:
set.seed(1)
x - matrix(sample(10, 25, rep=TRUE), 5, 5)
x
[,1] [,2] [,3] [,4] [,5]
[1,]3935 10
[2,]4 102
On Friday 08 June 2007, Giovanni Parrinello wrote:
Dear All,
discussing with a statistician of a pharmaceutical company I received
this answer about the statistical package that I have planned to use:
As R is not a validated software package, we would like to ask if it
would rather be
You've just opened up another bit of confusion. A submission package has
many pieces, and that cited one is just a small part of it.
As Frank has mentioned (though perhaps tritely), and Cody points out --
The only issue that a Pharma has to worry about is whether they know enough
about a
Hello!
I want to plot a P-P plot. So I've implemented this function:
ppplot - function(x,dist,...)
{
pdf - get(paste(p,dist,sep=),mode=function);
x - sort(x);
plot( pdf(x,...), ecdf(x)(x));
}
I have two questions:
1. Is it right to draw as reference line the following:
xx -
Hi,I have a result from polr which I fit a univariate variable (of ordinal
data) with probit function. What I would like to do is to overlay the plot of
my fitted values with the different intercept for each level in my ordinal
data. I can do something like:lines(rep(intercept1, 1000),
Is it possible to use dotchart or dotplot and set the
lines in such a way that they only extend from the
left y-axis to the data point?
I seem to remember that Wm Cleveland did this in his
1985 book The elements of graphing data.
In cases where one has a true starting or O point on
the
On 6/9/07, John Kane [EMAIL PROTECTED] wrote:
Is it possible to use dotchart or dotplot and set the
lines in such a way that they only extend from the
left y-axis to the data point?
Yes (sort of) in dotplot at least. E.g.,
dotplot(VADeaths, groups = FALSE, type = c(p, h))
dotplot(VADeaths,
At 12:57 PM 6/9/2007, Marco wrote:
snip
2.I found various version of P-P plot where instead of using the
ecdf function use ((1:n)-0.5)/n
After investigation I found there're different definition of ECDF
(note i is the rank):
* Kaplan-Meier: i/n
* modified Kaplan-Meier: (i-0.5)/n
*
abline(v=c(intercept1,intercept2,intercept3))
On 09/06/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Hi,I have a result from polr which I fit a univariate variable (of ordinal
data) with probit function. What I would like to do is to overlay the plot of
my fitted values with the different
Hi friends,
I have installed R 2.4.0 in my pc. I have a file xls entitled dali following
this directory:c://programfiles//R 2.4.0. Recently I have installed
xlsreadwrite 1.3.2. but , when I wrote the following lines:
library(xlsReadWrite)
read.xls( file, colNames = TRUE, sheet = 1, type =
On 6/9/07, Robert A LaBudde [EMAIL PROTECTED] wrote:
At 12:57 PM 6/9/2007, Marco wrote:
snip
2.I found various version of P-P plot where instead of using the
ecdf function use ((1:n)-0.5)/n
After investigation I found there're different definition of ECDF
(note i is the rank):
*
Here are some examples of the type of data crunching you might have to do.
In response to the requests by Christophe Pallier and Martin Stevens.
Before I started developing Vilno, some six years ago, I had been working in
the pharmaceuticals for eight years ( it's not easy to show you actual
That can be elegantly handled in R through R's object oriented programming
by defining a class for the fancy input. See this post:
https://stat.ethz.ch/pipermail/r-help/2007-April/130912.html
for a simple example of that style.
On 6/9/07, Robert Wilkins [EMAIL PROTECTED] wrote:
Here are
At 06:36 PM 6/9/2007, Marco wrote:
On 6/9/07, Robert A LaBudde [EMAIL PROTECTED] wrote:
At 12:57 PM 6/9/2007, Marco wrote:
snip
snip
Hmmm I'm a bit confused, but very interested!
So you don't use the R ecdf, do you?
Only when an i/n edf is needed (some tests, such as ks.test() are
based on
24 matches
Mail list logo