Displaying 20 results from an estimated 1000 matches similar to: "stepfuns: R^2 -> R"
2003 Jul 21
1
help on barplot
Hello,
I am trying to compare two histograms using barplot. the idea is to plot
the histograms as pairs of columns side by side for each x value. I was
able to do it using barplot before but I can't remember now for the life
of me now how I did it in the past:
> d
[,1] [,2]
-37.5 0.0000000000 2.789396e-05
-32.5 0.0001394700 5.578801e-05
-27.5 0.0019804742
2004 Apr 26
1
eventloop
Hello.
I'm writting a glx device and I've some performance problem with the
eventloop registration system. The device is not refresh when there's no
X event. That's problematic for animation and "smoothness" of display.
Should I use threads or fork the R process to get and independant
way to refresh my device ? Or do you know another way to refresh it ?
Thanks
2004 Nov 22
1
Installing rgl in R2.0.1
I'm running R2.0.1 under Solaris 2.9 on a SunBlade 100.
When I installed it, I set things up to use the Sun compilers
cc, CC, f95 with the options recommended in the installation and
administration guide.
Until today, no worries.
With all this discussion about R GUIs I thought I'd give R Commander a go.
The web page said to install a bunch of packages first, so I did
>
2003 May 19
2
R doesn't support 3D histograms?
Hi,
I've been using R since a while now to make 2D histograms. I have
some data (appended) that would like to use to make a 3-D plot with x being
the first variable in the file, y the second and the height, or z the third
variable. How can I do it in R? I would like to have 3-D visualization of
this plot. Preferably as a lego plot, that is, a set of stacks that grow
with respect to the
2003 Jun 23
7
How can I do a spinning plot in R?
I have found XLispStat's spinning plots illuminating.
I'd like to do the same thing in R.
A dozen or so probes with help, help.search, apropos
haven't turned up anything, and I've even resorted to
grepping through the entire R source distribution
looking for 'spin.*plot', to no avail.
Either the feature is called something else in R (what?),
or it's in some other
2003 May 14
2
regression in batches?
Hello, I have a data set that's too large to load into memory all at
once to do a simple linear regression on. What would be a good way to
do a piecewise (batch) regression on it in R? I've started reading the
docs and FAQs and haven't found anything yet that would suggest how to
do this, aside from diving into the guts of lm().
Thanks and regards--!
David Joerg
dsjoerg@yahoo.com
2004 Jun 03
5
cameraa rotation graphics
Dear all,
Is there a camera rotation for 3d graphics in R. I have seen it in a
conference one time and thought it is pretty neat. the presenter was able
to rotate the 3d graph with dragging the mouse up down left right. If not
in R is there something that is open source that does this.
Thank you
Jean Eid
2003 Dec 25
6
Plot a sphere
Hi,
I'm new to R (and math ;) Would somebody please be so kind as to direct me
in plotting a 3D sphere?
I tried something in the lines of:
####
y <- x <- seq(-pi, pi, length=pi*10)
f <- function(x,y)
{
z <- sqrt(pi - x^2 - y^2)
#z[is.na(z)] <- 0
z
}
z <- outer(x, y, f)
persp(x, y, z, theta = 120, phi = 30)
####
I've also tried: .... make.surface.grid(...) ..
2007 Nov 01
2
unable to install package ff
Hi all,
I've had one of my most miserable R weeks in memory. I'm trying to
deal with huge datasets (>1GB each) but am running up against those
pesky memory limits. The libraries filehash and g.data are not very
suitable for what I need. I haven't gotten into the sql thing yet.
Most recently I've been trying to install the new package ff (not yet
on the CRAN repository). I
2008 Aug 26
1
plot3d origin
Hi all,
I am trying to do a 3d plot where the x,y,z axes intersects with the origin
(0,0,0) using the plot3d() funtion in the rgl package without success. I
looked back at the past archives on this subject and someone suggested using
djmrgl package. I searched and found it, installed it but when I try to load
it I get the error ...
Error in inDL(x, as.logical(local), as.logical(now), ...) :
2003 Apr 01
1
setGeneric
I'm still having difficulties with methods...is the following behavior expected?
(This is without loading any libraries)
R : Copyright 2003, The R Development Core Team
Version 1.7.0 Under development (unstable) (2003-03-31)
> ls()
character(0)
>
> diag(2)
[,1] [,2]
[1,] 1 0
[2,] 0 1
> setGeneric("diag")
[1] "diag"
> diag(2)
Error in
2001 Jan 06
4
3D package in R
Hi all,
I am considering writing a 3D visualisation package for R.
Purposes:
- Visualise 3 dimension data
- Manipulate the data or series or any other object with the mouse as in any 3D software (3D Studio Max, Lightwave...)
- Eventually display more than just 3D objects.
Justification:
- It's always interesting to plot data before performing any analysis
- Manipulating (rotating,
2017 Nov 28
2
Publication LLVM Related Publications Submission
Hello,
I would like to submit two papers that use LLVM to the
Related Publications section.
Both papers focus on code isolation
applied to perform piecewise compiler optimizations.
The code isolation
process is performed by CERE, an open source tool based on LLVM.
The
second paper is an extended version of the first one.
1) Piecewise
Holistic Autotuning of Compiler and Runtime Parameters
2018 Jan 30
0
Publication LLVM Related Publications Submission
Dear Mihail,
I've added these two publications to the publications page. Please
review it and let me know if I need to make any changes. In particular,
if you have URLs to use for the papers, having those would be greatly
appreciated.
Regards,
John Criswell
On 11/28/17 12:05 PM, Mihail Popov via llvm-dev wrote:
>
> Hello,
>
> I would like to submit two papers that use LLVM
2003 May 27
1
setGeneric?
In the last few days I've received couple of messages pointing out that our SparseM
package fails to install on the patched version of 1.7.0. Laurent Gaultier kindly
suggested that replacing:
setGeneric("as.matrix.csr")
by
setGeneric("as.matrix.csr", function(x, nrow, ncol, eps) standardGeneric("as.matrix.csr"))
was sufficient to fix the problem.
2004 Jan 21
2
Better way to find function
To whom it may concern,
1. I would like to know if there is a command in R to choose a function for
a given dataset. I am facing a difficult question about how to fit the data
[ please attachment ]
2. Are there any function that will allow users to do the piecewise
regression?
If not, is it going to be provide in the new updated version? What I am
using is the piecewise logistic regression,
2010 Jan 04
2
Piecewise regression in lmer
Dear all,
I'm attempting to use a piecewise regression to model the trajectory
of reproductive traits with age in a longitudinal data set using a
mixed model framework. The aim is to find three slopes and two points-
the slope from low performance in early age to a point of high
performance in middle age, the slope (may be 0) of the plateau from
the start of high performance to the
2005 Mar 08
1
3D plot not working as desired!
Hello R-users!
I am trying to plot 3 vectors (x,y,z) of observations
generated by mvrnorm in library(MASS).
I tried plot3d in library(djmrgl) and scatterplot3d.
But these program gives x,y,z axis which do not
intersect at the origin (0,0,0).
I searched through all the graphics related packages
for R like xgobi, ggobi, grid and more. Quite
confusing which one to choose.
Would anyone recommend
2012 Mar 25
2
Simple question regarding domain restrictions/piecewise functions in R
I am a novice R user.
I would like to be able to graph some simple piecewise functions/functions
with domain restrictions in R, but I'm having trouble defining such
functions. For example, I would like to define the following function:
f(x)={x^2 if -1<x<x; 1 if 2<x<3}
Notably, the function is undefined outside of domain (-1,1)U(2,3). My best
attempt in R is something like
2009 Mar 25
1
Piecewise
Hi,
I am a biologist (relatively new to R) analyzing data which we predict
to fit a power function. I was wondering if anyone knew a way to model
piecewise functions in R, where across a range of values (0-x) the data
is modeled as a power function, and across another range (x-inf) it is a
linear function. This would be predicted by one of our hypotheses, and
we would like to find the AICs