Displaying 20 results from an estimated 10000 matches similar to: "R-beta: errors in R help docs"
2001 Jun 18
1
approxfun(*, ties=) returning "random" result (PR#986)
Platforms : SunOS and Linux, both using gcc 2.95.[23]
R versions : 1.2.3 and "R-devel"
I came accross this when trying to debug a somewhat sub-optimal behavior of
ecdf() from package stepfun.
What happens is that approxfun(*, ties = <function>)
does not always return the same result for identical arguments.
I tried "min", "max", and "mean" all of
2017 May 30
2
Pseudo-instruction that overwrites its input register
On Tue, 30 May 2017, Nemanja Ivanovic wrote:
> This is typically accomplished with something like PPC's `RegConstraint` and
> `NoEncode`. You can see examples of it that are very similar to what you're after in
> PPC's load/store with update forms (i.e. load a value and update the base register
> with the effective address - these are used for pre-increment loads/stores).
2017 May 30
1
Pseudo-instruction that overwrites its input register
The reason the ones in PPCInstrInfo.td don't have the patterns to match is
the reason they are more analogous to your problem. Namely, tblgen does not
have a way to produce nodes with more than one result. The load-with-update
instructions do exactly that - one of the inputs is also an output, but the
other output is independent (and necessarily a separate register). The FMA
variants have
2017 May 31
2
stats::line() does not produce correct Tukey line when n mod 6 is 2 or 3
Le 31/05/2017 ? 17:30, Serguei Sokol a ?crit :
>
> More thorough reading revealed that I have overlooked this phrase in the
> line's doc: "left and right /thirds/ of the data" (emphasis is mine).
Oops. I have read the first ref returned by google and it happened to be
tibco's doc, not the R's one. The layout is very similar hence my mistake.
The latter does not
2017 Jun 28
4
Extraneous full stop in csv read
I ran into a puzzling minor behaviour I would like to understand.
Reading in a csv file, I find an extraneous "." after a column header,
"in" [short for "inches"] thus, "in.". Is this due to "in" being
reserved? I initially blamed this on RStudio or to processing the data
through LibreCalc. However, the same result occurs in a console R
session.
2001 Jan 10
0
Re: some problems with windows(rescale=) (PR#794)
Part 1) is basically that the initial rescaling is done if the window is
too large to fit on the screen. That's true and obvious (no scrollbars)
and intentional and on the help page. As ever, you need to report bugs on
what is documented, not what you would like.
This will be changed for 1.2.1, but was several hours' work. I have also
cleaned up the scrollbar behaviour.
Part 2) I just
1997 Sep 25
2
R-beta: return()
I have a question on the use of return(). (Nothing on it in the docs I
have)
The test code below gives the error: Error: Object "x" not found
when I do: thingy2().
How should it be fixed? Thanks very much for any help!
(My original solution to this sort of problem was to use global variables
x<<-...
y<<-...)
Bill Simpson
-----------------------------
thingy<-function(k)
1998 Feb 23
0
R-beta: Hypergeometric Probabilities
In both versions of R to which I currently have access (R-0.16.1 and
R-0.61.1), "phyper" stops returning correct cumulative probabilities as the
parameters of the hypergeometric distribution get large. For example, when
N1=1345, N2=1055, and n=1330, phyper returns either 0 or 1, and nothing in
between.
Looking at phyper.c, it's clear what's happening. First a term (called
2009 Feb 27
1
levelplot help needed
Hi there,
I'm looking for someone who can give me some hints how to make a nice
levelplot. As an example, I have the following code:
# create some example data
# --------------------------------------
xl <- 4
yl <- 10
my.data <- sapply(1:xl, FUN = function(x) { rnorm( yl, mean = x) })
x_label <- rep(c("X Label 1", "X Label 2", "X Label 3", "X
2013 Oct 17
0
Singular Matrix 'a' in solve
Hi,
I have a set of matrix data named “invest” consists of 450 observations (75
countries, 6 years) with 7 variables (set as I, pop, inv, gov, c, life, d;
which each is “numeric[450]”). The procedure is modify from code provided
by B.E. Hansen at http://www.ssc.wisc.edu/~bhansen/progs/ecnmt_00.html.
*Then the variable is being transformed to*
y <- lag_v(i,0)
cf <-
2003 Oct 28
1
Software FAX Modem--One Last Request For Help
Here's one last plea for help from the list before I give up on the totally
cool software FAX modem concept in complete despair (for now, at least,
until I have more time to dig into it)....
I am simply not able to successfully receive a FAX no matter what device I
transmit from or how I bring the call into Asterisk. My lastest effort was
a call from a Pitney-Bowes FAX machine into an X100P
2010 Jul 23
0
overriding axis limits in hexbin plot?
[cc'd to package maintainer]
This feels like a fairly straightforward question, so I'm surprised
not to have found an answer so far (RSiteSearch, package help,
vignette ...)
It seems fairly hard (without some fairly serious hacking) to
hard-code the axis limits in a hexbin plot from the hexbin package.
Here's what I've figured out so far:
* when you do the hexagonal
2005 Nov 29
3
drawing a circle using symbols
Dear friends, I was drawing a circle with centrum in (1,-1) and
radius 5 to show my girl that the line y=3*x+1 goes through (1,4) and
(-2,-5) of the circle, but on Windows XP, R 2.20 the drawing was not
good at all, and the known solutions were not shown in the graph. I
guess I got it wrong? Is this use not intended ?
Best wishes
Troels Ring, MD
Aalborg, Denmark
2003 Sep 04
3
Cant locate my X100P
Hello
After having installed my X100P, /proc/pci and /proc/interrupts dosent
locate them.
In my PCI list is it the Communication controller: Tiger Jet Network Inc ?
then is dosent have a IRQ listed in /proc/pci..
All help appreciated
Thanks and Regards
Ajit
===========================/proc/pci==================================
PCI devices found:
Bus 0, device 0, function 0:
Host
2001 Sep 10
1
data format for ppinit
After installation of R into VineLinux2.1.5, I started to enjoy statistics
following some instruction, and found it very useful.
One of my main purpose to use R is to try spatial statistics. Since
library named "spatial" has already installed, I just tried ...
> library(spatial)
> towns <- ppinit(test.dat)
------- test.dat -------
x,y
4,7
5,7
5,8
5,9
6,7
6,8
6,9
7,8
2017 May 29
0
stats::line() does not produce correct Tukey line when n mod 6 is 2 or 3
The problem or actual R implementation relies on an assumption
that median(x[i] | x[i] <= quantile(x, 1/3)) == quantile(x, 1/6)
which reveals not to be true despite very trustful appearance.
If we continue with the example of x=y=1:9
then quantile(x, 1/6)=2.5 (here quantile() is taken in C-code sens, not R's one)
while median(y[i] | x[i] <= quantile(x, 1/3))=2
On the other sample's
1998 Mar 25
1
R-beta: qpois help
version .62:
---------------------------------------------
> ?qpois
The Poisson Distribution
dpois(x, lambda)
ppois(q, lambda)
qpois(p, lambda)
rpois(n, lambda)
Arguments:
x: vector of (positive) quantiles.
p: vector of probabilities.
n: number of random values to return.
lambda: vector of positive means.
1998 Apr 03
1
R-beta: default paper size
After some paper clipping problems I checked options() and saw that the
default paper size was a4; I need US Letter. So as per instructions I
uncommented the R_PAPERSIZE line in config.site,
R_PAPERSIZE=letter
Restarting R, everything is still the same though. I guess I have to
reinstall?
That seems awkward. Is there a way a prompt ("a4 or letter paper?") can
be inserted in the
1998 Apr 13
1
R-beta: command line editing?
I would love to have bash-like command line editing in R. (Press up cursor
and see previous command line; use left cursor to go back then edit it)
Appendix B in Rnotes describes Splus I guess, not R. Starting R by
R -e
doesn't let any of the following described actions (B.3) work.
I don't use vi or EMACs (I use Nedit), so I would prefer bash-like
interface anyway. (I don't think I
1998 Jan 16
1
R-beta: kill R Graphics window->crash R
I am running R-0.61.1 on linux under X. If I kill the R Graphics window
(click on X box in upper right corner), then subsequently do x11(),
R crashes.
I find that things only work the right way if I close the graphics window
using dev.off().
I was wondering if maybe it could be arranged that closing the graphics
window via click would seem to R to be equivalent to typing dev.off().
BTW thanks