Displaying 20 results from an estimated 20000 matches similar to: "asmode.integer() -- RFC"
2001 Jun 13
1
plot math Q: How to "plot" hat(f') ?
In nonparametric regression and density estimation, something like
\hat{f'}(x) [LaTeX] is very natural.
In all S dialects,
hat(f')
is invalid syntax, and hence one cannot use something like
plot(1, main = expression(hat(f')))
I can say something like
plot(1, main = expression(widehat(paste(f, "'"))), cex.main = 3)
but that (the R code, not the plot result)
1999 Nov 12
1
SAS to R translator for particular procedures (fwd)
----------------------------Original message----------------------------
Date: Fri, 12 Nov 99 11:09:05 EST
From: Bill Paterson <BAD305 at ukcc.uky.edu>
Subject: SAS to R translator for particular procedures
To: R-Help <r-help at stat.math.ethz.ch>
X-Mailer: MailBook 98.01.000
Message-Id: <991112.111316.EST.BAD305 at ukcc.uky.edu>
MIME-Version:
2000 Sep 21
1
"[.data.frame" forgets about "AsIs" (PR#665)
Short example:
> str(d <- data.frame(a = I(letters[1:5])))
`data.frame': 5 obs. of 1 variable:
$ a:Class 'AsIs' chr [1:5] "a" "b" "c" "d" ...
> str(d[TRUE,,drop = FALSE])
`data.frame': 5 obs. of 1 variable:
$ a: chr "a" "b" "c" "d" ...
The real problem about this is, that as soon
1999 Jun 26
2
What is "..." when it's empty? -- differences to S
i) (function(x, ...) length(...))(1)
gives 0 in S (plus 3.4) and an error in R.
It also gives an error in Splus 5.0r3.
So we could well remain as we are... however
ii) (function(x, ...) length(...))(1,2)
gives 1 in all dialects of S that I have available.
So by my `continuation logic', I'd argue that "i)" above should give 0
(and R and S-plus 5.0r3 behave
2000 Nov 27
1
(NA || x) and (NA && y) {another "bug" } (PR#749)
>>>>> "TL" == Thomas Lumley <thomas@biostat.washington.edu> writes:
on Subject: Re: [Rd] Problem with NAs using chisq.test() (PR#748)
which I've changed, since it is another bug we are talking about now
TL> On Sun, 26 Nov 2000 kjetikj@astro.uio.no wrote:
>> Full_Name: Kjetil Kjernsmo
..............
..............
TL> However,
2001 Jul 10
1
color NA is allowed, but "NA" is not ... (yet)
In several places, we have the convention that col = NA means
`` don't draw '', e.g. for points() or rect().
For col = <vector> this only works when the vector is integer (numeric),
but not in other cases. I think this is a bug, even though not in the
strict sense, since we don't seem to claim it should work..
Example:
plot(1:10, col = c(1:4,NA,NA,4:1))
## fine
2001 Aug 17
1
Excel -> *.CSV in Unix (Linux) command line?
A colleague has a dozen of excel sheets and also expects to get updates
regularly. He could open these in M$-Excel and export as *.csv manually,
"bring back to Unix" and then read into R. Of course there must be options to
start programming this in something like visual basic,
but we wouldn't to really want to...
We also know that probably Gnumeric could do the job (since the xls
2001 Nov 15
3
Histogram
I would want to know if it's possible to plot two histograms
on the same graphic in order to compare the bins one to one,
like a Excel graphic.
If it is possible can you help me to do it, because I don't know the exact
R-commands.
Thanks for your help
Damiano
>
>
>Martin Maechler <maechler at stat.math.ethz.ch> http://stat.ethz.ch/~maechler/
>Seminar fuer Statistik,
2001 Nov 16
2
Finite Mixture Analysis
Are there any S-Plus or R libraries/packages that do Finite Mixture
Analysis following the algorithms similar to those implemented in Geoffrey
MacLachlan's EMMIX program?
Thanks.
Dr. Marc R. Feldesman
email: feldesmanm at pdx.edu
email: feldesman at attglobal.net
fax: 503-725-3905
"Don't know where I'm going.
Don't like where I've been.
There may be no exit.
But
2000 May 22
0
integer functions {was Inconsistencies (PR#550)}
>>>>> "BDR" == Prof Brian D Ripley <ripley@stats.ox.ac.uk> writes:
BDR> On Mon, 22 May 2000 berwin@maths.uwa.edu.au wrote:
>> Dear all,
>>
>> I was playing around with some C-code that I dynamically linked to R
>> and noticed the following inconsistency:
> > dat <- matrix(1,3,3)
> >
1999 Dec 14
1
"formula plotting" -> substitute pecularity
This is something between a question and a bug report.
{sometimes one should first ask on R-help before sending to R-bugs....}
I wanted to plot (.) a formula with "..."
## Works :
e0 <- expression(T(x[1],...x[n])*", "*N[1] == 101) # works ok
plot(1, main = e0)
## Now, need substitute, to replace with value of variableThis works
nn <- 102
(e1 <-
2001 Jun 07
1
cbind.data.frame(.) S/R incompatibility
In S-plus (5.1),
> cbind(data.frame(x=1,y=2), data.frame(x=4,u=3))
x y x1 u
1 1 2 4 3
whereas in R, the 3rd name is "x", the same as the 1st one.
I think R should behave the same as S+5.1..
Martin Maechler <maechler@stat.math.ethz.ch> http://stat.ethz.ch/~maechler/
Seminar fuer Statistik, ETH-Zentrum LEO D10 Leonhardstr. 27
ETH (Federal Inst. Technology) 8092 Zurich
2000 Jan 26
1
[R-d] E-mail to R-devel will have prefix, ok?
A short "private" discussion revealed that several people desire to get a
prefix in the "subject:"s of R-devel mailings.
I'd propose to set "[R-d]" as I've done it (manually, this time!) above.
Unless I hear load protests, I'll set this.
your mailing list maintainer: Martin Maechler
1999 Dec 08
1
plot math - segfault and "frac", "^" bug(s).. (PR#365)
MM> I've sent two bug reports that both haven't been forwarded to R-devel
MM> and haven't should up at the jitterbug repository.
MM> ??
MM> Martin
Well, actually only one [the other went to R-core alone]
Here it is :
From: Martin Maechler <maechler@sophie>
To: R-bugs
Subject: plot math - segfault and "frac", "^" bug(s)..
Date: 8
2000 Oct 26
2
Problem with lm
Hello Everybody,
I have a problem with the output of lm.
In fact, when I compare the R output and the Splus output, the results
appears to be different :
I have a dataframe with 5 factors , 16 rows and a response.
First, I tried to fit this response to a linear model :
lm(rep~(A+B+C+D+E),data).
The results beetween SPlus and R are different.
In a second time, I tried a new fit :
1998 Mar 26
3
R-beta: Teach material for R
A non-text attachment was scrubbed...
Name: not available
Type: text
Size: 1480 bytes
Desc: not available
Url : https://stat.ethz.ch/pipermail/r-help/attachments/19980326/974231c9/attachment.pl
2001 Jan 10
1
eval() bug in plot.formula() ?
I don't have time now to investigate myself,
and I'm not feeling like deciding myself if the following is a bug:
myplot <- function(dat, cex = 1.2, ...) {
if(!is.data.frame(dat <- as.data.frame(dat)))
stop("`dat' must be a data.frame")
if(any(is.na(match(c("x","y"), names(dat)))))
stop("`dat' must have a `x' and a
1999 Sep 08
1
No subject
Hallo,
I'm looking for a "sunflower" plot. I noticed the
Splus function "p.sunflowers" (Andreas Ruckstuhl, Werner Stahel, Martin
Maechler, Tim Hesterberg) don't work... If its not available I would port
this function...
Thanks for 1 answer
P
***************************************************************************
P.Malewski Tel.: 0531 500965
Maschplatz 8
2000 May 03
2
print() "bug" for arrays with 0 columns
The "bug" is that it doesn't print anything;
one might argue that this is not a bug, since such an array *is* empty,
but I don't buy that argument.
It *does* print if #{columns} (= last dimension) > 0 :
> array(NA,dim=c(2,0))
> array(NA,dim=c(2,1,0))
> array(NA,dim=c(0,2))
[,1] [,2]
> array(NA,dim=c(0,2,1))
, , 1
[,1] [,2]
>
1999 Sep 29
1
getenv() can't differentiate "defined but empty" and "undefined"
getenv(<varname>) currently returns ""
if the <varname> is undefined.
However, if <varname> is defined but empty,
getenv(<varname>) still only returns "".
I think this is quite unfortunate
but consistent with the prototype.
---
I'd propose to change the current behavior.
Something which should be pretty back compatible would
for the first