Displaying 20 results from an estimated 1000 matches similar to: "Help needed using lattice for area plots lpolygon, xyplot."
2006 Jun 07
1
Fw: Help needed using lattice for area plots lpolygon, xyplot.
I am trying to learn how to use the graphics from the lattice package (
and am very new to R).
I am trying to replicate the example plot referenced below, by using the
lattice xyplot & lpolygon to create panels. I get what appears to be the
correct shape of the filled region, but cannot get the position to overlay
properly. I have attempted with various settings of position. ( i.e.
2009 Feb 11
1
Help with XYPLOT with marginal histograms
I am trying to replicate the following plot using Lattice:
http://addictedtor.free.fr/graphiques/graphcode.php?graph=78
I'm having trouble with the lattice equivalent of the "oma" (outside
margin) setting. I've been all through the Lattice documentation and
others and also searched the lists.
Below is sample code that demonstrates where I'm at (it should paste
2008 Mar 14
1
smoothScatter
Hi, I have been trying to plot density plots using the example on:
http://addictedtor.free.fr/graphiques/graphcode.php?graph=139
I used to use this function, but I cannot get any old code or even the example to work.
library("geneplotter")
require("RColorBrewer")
x1 <- matrix(rnorm(1e4), ncol=2)
x2 <- matrix(rnorm(1e4, mean=3, sd=1.5), ncol=2)
x <-
2011 Aug 22
1
lattice to ggplot2 conversion help
Hi,
I am interested in ggplot2 and I found this lattice code very interesting
(http://addictedtor.free.fr/graphiques/graphcode.php?graph=48).
Code:
library(lattice)
lattice.options(default.theme = canonical.theme(color = FALSE))
tmp <-
expand.grid(geology = c("Sand","Clay","Silt","Rock"),
species = c("ArisDiff",
2008 Sep 13
4
bubble(circle) plot help.
I need help creating a bubbleplot, like a simple pseudo three dimensional scatterplot of circles whose sizes index a 3rd variable. I initially came across this at http://addictedtor.free.fr/graphiques/graphcode.php?graph=73 but the circleplot function does not exist in fbasic as listed in the document.
_________________________________________________________________
2008 Sep 25
0
C++ & R: Displaying a lattice graphic using D Com
Dear list members,
When I modify the MFC sample (using the statconnector graphics device) to
show a lattice graph in the Active X control (actually the wireframe from
http://addictedtor.free.fr/graphiques/graphcode.php?graph=40 ) the program
runs without generating any errors, but the data-driven part of the plot
does not display. The bounding box is displayed, but not the axes or data
within
2009 Feb 11
0
Help with XYPLOT
I am trying to replicate the following plot using Lattice:
http://addictedtor.free.fr/graphiques/graphcode.php?graph=78
I'm having trouble with the equivalent of the "oma" (outside margin)
setting. I've been all through the Lattice documentation and others and
also searched the lists.
Suggestions?
Thanks!
[[alternative HTML version deleted]]
2009 Dec 11
1
Combining 3D/2D plots
Dear All,
This is my first post to this mailing list (and yes, I did read
http://www.r-project.org/posting-guide.html ) so please forgive any faux
pas.
I'm trying to make a visualization that looks like this
http://www.gradient-da.com/img/temperature%20surface%20plot%20470x406.JPG(found
through google). The idea is to have a 3D surface plot overlapping a
2d representation of a surface.
I can
2011 Nov 02
1
nproc parameter in efpFunctional
Hello all,
could anyone explain the exact meaning of parameter nproc? Why different
values of nproc give so different critical values, i.e.
meanL2BB$computeCritval(0.05,nproc=3)
[1] 0.9984853
meanL2BB$computeCritval(0.05,nproc=1)
[1] 0.4594827
The strucchange-package description gives "integer specifying for which
number of processes Brownian motions should be simulated" - do I need
2006 Sep 06
7
Matrix multiplication using apply() or lappy() ?
I am trying to divide the columns of a matrix by the first row in the
matrix.
I have tried to get this using apply and I seem to be missing a concept
regarding the apply w/o calling a function but rather command args %*% /
etc. Would using apply be more efficient than this approach?
I have observed examples in the archives using this type of approach. Does
anybody have a snippet of a call
2011 Dec 10
3
Overlaying density plot on forest plot
Dear R User,
Please, I am new to R. I want to overlay density plot for predictive interval pooled result in meta-analysis. http://addictedtor.free.fr/graphiques/graphcode.php?graph=114
Regards
Frank Peter
2009 Nov 29
2
Time Series Rating Model
To R programming experts,
I am a undergraduate student, and now doing research personally. I apply diagonal bivariate poisson (R package "bivpois") with stochatics weighted function (refer to dixoncoles97 section 4.5 to 4.7). However I dont know how to fit this stochatical weighted function to the completed bivariate poisson model.
I know that some other references for dynamic soccer
2006 Aug 31
2
cumulative growth rates indexed to a common starting point over n series of observations
What is the R way of computing cumulative growth rates given a series of
discrete values indexed .
For instance, given a matrix of 20 observations for each of 5 series (zz),
what is the most straight forward technique in R for computing cumulative
growth (zzcum) ?
It seems for the solution I'm after might be imbedding the following cum
growth rate calc as a function into a function call
2010 May 06
1
Polygon Shading Based on Relative Line Position
Forum,
I have two time series that I plot up using the data/code below. The x-axis
shows weekly time step starting on 6/3/1999 (SP=10) and ending on
10/25/2007 (SP=448). I'm trying to shade between the two lines in a similar
fashion as the graph found here:
http://addictedtor.free.fr/graphiques/RGraphGallery.php?graph=122
Can the polygon function be used to do this? There are lots of
2011 Feb 08
1
Simulation of Multivariate Fractional Gaussian Noise and Fractional Brownian Motion
Dear R Helpers,
I have searched for any R package or code for simulating multivariate
fractional Brownian motion (mFBM) or multivariate fractional Gaussian noise
(mFGN) when a covariance matrix are given. Unfortunately, I could not find
such a package or code.
Can you suggest any solution for multivariate FBM and FGN simulation? Thank
you for your help.
Best Regards,
Ryan
-----
Wonsang You
2006 Mar 03
1
Fractional brownian surfaces
Hi list,
I'm trying to generate fractional brownian surfaces in R.
[A detailed description with respect to various techniques to generating
these neutral landscapes has been described by Timothy Keitt (spectral
representation of neutral landscapes, Landscape Ecology, 2000) and
probably various other authours.]
Are there any packages that deal with this or related items? I've been
2012 Jul 28
4
quantreg Wald-Test
Dear all,
I know that my question is somewhat special but I tried several times to
solve the problems on my own but I am unfortunately not able to compute the
following test statistic using the quantreg package. Well, here we go, I
appreciate every little comment or help as I really do not know how to tell
R what I want it to do^^
My situation is as follows: I have a data set containing a
2010 Nov 19
2
simple loop problemo (Geo brownian motion)
I would like to plot multiple random walks onto the same graph. My p
variable dictates how may random walks there will be.
par(mfrow=c(1,1))
p <- 100
N <- 1000
S0 <- 10
mu <- 0.03
sigma <- 0.2
nu <- mu-sigma^2/2
x <- matrix(rep(0,(N+1)*p),nrow=(N+1))
y <- matrix(rep(0,(N+1)*p),nrow=(N+1))
t<- (c(0:N))/N
for (j in 1:p)
{
z <- rnorm(N,0,1)
x[1,j] <- 0
y[1,j]
2007 May 31
0
adehabitat version 1.6
Dear all,
I have just uploaded to CRAN the version 1.6 of the
package 'adehabitat'. Significant changes are
listed below:
* The package has been reorganized into four parts (see
?adehabitat-package for a description): (i) management of raster maps,
(ii) habitat selection / ecological niche analysis, (iii) home range
analysis, and (iv) analysis of animals trajects. The package contains
2007 May 31
0
adehabitat version 1.6
Dear all,
I have just uploaded to CRAN the version 1.6 of the
package 'adehabitat'. Significant changes are
listed below:
* The package has been reorganized into four parts (see
?adehabitat-package for a description): (i) management of raster maps,
(ii) habitat selection / ecological niche analysis, (iii) home range
analysis, and (iv) analysis of animals trajects. The package contains