Displaying 20 results from an estimated 200 matches similar to: "lattice garphs: combining multiple scatterplots and adding legend"
2008 Aug 07
3
Create new dataframes with dames from dataset...
Hi
I'm wondering if you could save new data frames with in a loop using the
names within the data frame... I.e. If you have a data frame as below
Product Type Test
A One 67
A Two 55
B One 42
A One 55
I would like to generate new dataframes as follow...
A.One (including)
A One 67
A One 55
A.Two (including)
A
2006 May 14
0
[LLVMdev] Re: __main() function and AliasSet
Oh, I appologize that I should not have asked about __main() ---- it appears
in FAQ.
But the question remains that why call to __main() can alias stack location?
I think the memory location pointed by data_X pointers are not visible to
__main().
In comparison, calls to printf() do not have similar effect.
On 5/14/06, Nai Xia <nelson.xia at gmail.com> wrote:
>
> In a code segment of
2006 May 15
2
[LLVMdev] Re: __main() function and AliasSet
Hi Chris,
I took a haste look at the "Points-to Analysis in Almost Linear Time" by Steens , your PHD thesis
and SteensGaard.cpp in LLVM this afternoon.
So I think:
1. Actually the basic algorithm described originally by SteensGaard does not provide MOD/REF information for functions.
2. The context insensitive part of Data Structure Analysis (LocalAnalysis) can be deemed as
an
2006 Jul 24
5
change the name of file
Dear R Users,
Is it possible to make file names dependent on a changing variable?
For instance. I generate random numbers in a loop and at each iteration I
want data to write to file (I do not want to write everything in one file
using 'append'):
for (i in 1:50){
x<-matrix(runif(100, min=0,max=1),nrow=5,ncol=20)
Write(t(x),file="Data_i.txt",ncolumns=5,sep="\t")
}
2010 May 18
1
Maximization of quadratic forms
Dear R Help,
I am trying to fit a nonlinear model for a mean function $\mu(Data_i,
\beta)$ for a fixed covariance matrix where $\beta$ and $\mu$ are low-
dimensional. More specifically, for fixed variance-covariance matrices
$\Sigma_{z=0}$ and $\Sigma_{z=1}$ (according to a binary covariate $Z
$), I am trying to minimize:
$\sum_{i=1^n} (Y_i-\mu_(Data_i,\beta))' \Sigma_{z=z_i}^{-1} (Y_i-
2006 May 17
2
[LLVMdev] Re: __main() function and AliasSet
On Tuesday 16 May 2006 03:19, Chris Lattner wrote:
> On Mon, 15 May 2006, Nai Xia wrote:
>
> > In other words, if I only use -steens-aa and the data_XXXs are all
> > external global variables( and so inComplete ),
>
> Sounds right!
>
> > the call to printf will
> > make the same effect, which I have tested it.
> >
> > Am I right ? :)
>
2006 May 17
0
[LLVMdev] Re: __main() function and AliasSet
On Wed, 17 May 2006, Nai Xia wrote:
> Unfortunately, I did not locate the lines in steens-aa for "printf" special case.
> In ds-aa, I found the lines below:
Right, steens-aa and ds-aa share code for "local analysis", they just
stitch it together into an interprocedural analysis in different ways.
The code below is used for steens-aa.
>
2006 May 15
0
[LLVMdev] Re: __main() function and AliasSet
On Mon, 15 May 2006, Nai Xia wrote:
> In other words, if I only use -steens-aa and the data_XXXs are all
> external global variables( and so inComplete ),
Sounds right!
> the call to printf will
> make the same effect, which I have tested it.
>
> Am I right ? :)
If you've tested it then, yes you're right :). I haven't played with this
stuff for a long time,
2006 May 14
2
[LLVMdev] __main() function and AliasSet
In a code segment of my pass plugin, I try to gather AliasSets for all StoreInst, LoadInst and CallInst instructions in a function.
Some behaviors of the pass puzzled me.
Below is the *.ll of the test program which I run the pass on,
it was get with "llvm-gcc -Wl,--disable-opt" from a rather simple *.c program.
----------------------------------
; ModuleID = 'ptralias.bc'
2010 Nov 06
4
Using changing names in loop in R
Hello everybody,
I have usually solved this problem by repeating lines of codes instead of a
loop, but it's such a waste of time, I thought I should really learn how to
do it with loops:
What I want to do:
Say, I have several data files that differ only in a number, e.g. data
points (or vector, or matrix...) Data_1, Data_2, Data_3,... and I want to
manipulate them
e.g. a simple sum of
2007 Mar 22
2
unexpected behavior of trellis calls inside a user-defined function
I am making a battery of levelplots and wireframes for several fitted
models. I wrote a function that takes the fitted model object as the
sole argument and produces these plots. Various strange behavior
ensued, but I have identified one very concrete issue (illustrated
below): when my figure-drawing function includes the addition of
points/lines to trellis plots, some of the
2003 Aug 20
1
Filled triangles in lattice graphics?
Dear R users,
I can get a filled triangle pointing upwards by specifying pch=17 in
xyplot or lpoints, but how do I get a filled triangle that points downwards?
In the standard plot function it's possible to use
plot(x,y,pch=25,bg="black"), but bg= doesn't seem to work with lattice
and lpoints.
Thanks,
Hans Gardfjell
Ecology and Environmental Science
Ume? University, Sweden
2009 Dec 20
1
How to put text outside an xyplot?
Dear R-users,
I have a plot created with the code below. I tried to put some text to the right of the color key. I worked with grid.text and also viewport(), but couldn't achieve this. I know this should be simple, but I just couldn't figure out how to do it. How does this work?
Cheers,
Marius
library(lattice)
library(grid)
myvec=1:10
data=data.frame(x=myvec,y=myvec)
2004 Aug 31
1
add single contour line to levelplot
Hello,
I want to add a single contour line to a levelplot but can't figure out
how to do it 'on-the-fly'. When I include the last line in the code below,
I get the following error:
Error in NextMethod("[") : Argument "subscripts" is missing, with no default
Any tips on how to fix this are greatly appreciated!
Ian Jonsen
2010 Feb 03
1
how to combine 2 3d scatterplots in R
hi,
I am new to R and i have managed to create 2 3d scatterplots with R and
Iwaswondering if there is a way to connect them.
I was also wondering how i can add arrows to the plot similar to the 2d
comment arrows()?
--
View this message in context: http://n4.nabble.com/how-to-combine-2-3d-scatterplots-in-R-tp1461485p1461485.html
Sent from the R help mailing list archive at Nabble.com.
2004 Mar 01
2
superimposing two scatterplots
Hi,
How can I plot two scatterplots on the same, one panel?
I have two times series (price data for two goods) for the same period.
Many thanks,
-R
[[alternative HTML version deleted]]
2005 Mar 09
1
Aid with 3-D scatterplots
I am attempting to classify pixels from a Landsat image by using their
associated numbers in bands 2, 3, and 4 (It's from an assignment on
classification). To aid me, I want to create a 3-D scatterplot using
the "cloud" command. Due to my ignorance of the finer plotting
functions, I am unable to display the scale on the three axes or to
display the grid.
My dataframe (RS)
2007 Mar 08
1
chronological scatterplots
Greets Folks,
I've been wrestling with how to better control plotting of time data and
just can't seem to see the right path. My dataset has thousands of points
distributes across a number of years. I would like to plot the responses
according to increasing time with nice boundaries - perhaps integer months
- along the abscissa. However, the earliest time occurs mid-month and I
2007 Jun 14
1
scatterplots: (equal axes and overlay)
Hi,
I am doing lots of scatterplots for my dissertation and to make the
comparable, I would like to have equal x- amd - y axis. Can I specify
their scale?
Another question adresses overlay scatterplots. Having prae and post
measures for each case, is it possible to have them in one graph with
symbols or colors for prae and post.
So
scatterplot(bdiprae,mocoprae) and
scatterplot(bdipost,mocopost) in
2008 Mar 28
1
background color in scatterplots
Dear R community, I have a scatterplot with multiple vertical ablines. I
wish to color each interval between two ablines in a different color...
Could you please indicate me how to do this efficiently?
Thank you!
Georg.
********************
Georg Ehret
Johns Hopkins
Baltimore
[[alternative HTML version deleted]]