Displaying 20 results from an estimated 5000 matches similar to: "Spatstat - Several density plots using the same scale"
2007 Jun 27
5
Mosquito Fixtures Won''t Load
I can''t get fixtures to load correctly in a Mosquito test. The first
fixture loads in the unit test, but the rest don''t load at all.
File structure:
tracker/
tracker.rb
test/
test_tracker.rb
fixtures/
tracker_measurements.yml
tracker_projects.yml
Relevant test code:
require ''rubygems''
2008 Sep 24
2
Graph question
If I have a set of data comprising a list of numbers of eggs on mosquito guts that range from 1 to 157. How can I get R to draw a barchart of the distribution of the data (i.e. x axis= number of eggs on a gut, y axis=number of mosquitoes found with that number of eggs)? Data is listed below.
Thanks,
Georgina
Number of eggs on each mosquito gut:
[1] 1 1 1 1 4 2 1 12 12 1 2
2013 May 25
1
spatially analyzing multiple data layers
Hi, I started using R about 3 months ago so please excuse my ignorance. I
have two datasets. The first consists of 247 fixed position mosquito traps
that were serviced weekly for 23 weeks. The second is dengue incidence data
indexed to home address for the same time period. I would like to see if
there is a space time relationship between mosquito catch rate and dengue
incidence. So far I have
2007 Jul 13
1
spatstat - Fitting a Strauss model with trend determined by kernel density smoother
Dear r-help,
I would like to use the 'ppm' function of the 'spatstat' package to
fit a Strauss inhibition model. I understand that I can specify a
parametric model for the "background" trend, but how would I specify a
trend which is estimated using a Kernel density smoother?
In particular, I would like to use the 'kde' function of the 'ks'
package to
2003 Mar 19
3
multiple logical streams
Hi,
Why is seekability necessary in case of multiplexed multiple
logical streams? Isn't the differentiation based on serial number
sufficient to continue decoding of pages in the sequence of their
arrival?
Regards,
Patrick.
_______________________________________________________________________
Odomos - the only mosquito protection outside 4 walls -
Click here to know more!
2009 Feb 23
1
why results from regression tree (rpart) are totally inconsistent with ordinary regression
Hi,
In my analysis of impacts of insecticide-treated bednets on malaria, I
look at the relationship between malaria incidence and mosquito
behaviors. The condensed data set is copied here. Ordinary regression
(lm) shows that Incidence was negatively related to Mortality. This
makes sense because the latter reflected the strength of killing
mosquitoes by insecticide-treated nets. Since the
2010 Sep 16
2
use same breaks and colors, but the displayed scale are different-image.plot()
Hi all,
I want to put several figures in a one figure for easy comparison, so i
need to use the same methods to plot these figures. The following is an
example. I also list my method, but it does not work.
#Example data
x<- 1:10; y<- 1:10; z<- outer( x,y,"+");z2<- outer( x,y,"-")
#Quick view them
image.plot(x,y,z) #relatively larger value
image.plot(x,y,z2)
2003 Apr 01
1
How to read NT Domain accounts from a Unix box
Hi,
Is there any open way of reading user/group accounts of a NT
Domain from a Unix box? I guess, rpcclient is more like a hack of
MS protocol.
Is it the only way currently? Can anyone give more information on
this?
Thanks in advance.
Ravi
_______________________________________________________________________
Odomos - the only mosquito protection outside 4 walls -
Click here to know more!
2006 Dec 18
1
A question on lmer() function
Dear R users,
We have encountered a slight problem when using the lmer()
function:
1. Data description: 11 locations; Nt: monthly mosquito population
density from 1994-2005 in each location.
2. Question: to examine the degree of spatial heterogeneity in the
system by testing model support for single versus multiple intercepts
and slopes for the location effect. We applied the lmer()
2007 Jul 07
3
color scale in rgl plots
Hello,
I'm trying to make a 3d plot using rgl in which the size and color of
each point corresponds to certain attributes of each data point. The color
attribute, let's call it X, is scaled to go from 0 to 1. The
rainbow(64,start=0.7,end=0.1) palette is perfect for what I want but I
don't know how to take that palette and pick a color from it based on
the value of X for a given data
2007 Sep 24
1
Mosquito TDD Framework Updated
Mosquito, the TDD framework for Camping has been updated (0.1.3).
We''ve tried to keep it backwards compatible, so your apps should
continue to work. But feel free to submit a bug report at RubyForge if
you have any problems.
Changes:
http://rubyforge.org/frs/shownotes.php?group_id=351&release_id=14845
Download:
http://rubyforge.org/projects/mosquito/
Docs:
2013 Jan 16
1
setting the legend scale in contour plots
Hi,
I'd like to compare SST data for year 2000 with SST for year 2001. I managed
to get filled contour plots showing monthly SST for both years (12 plots for
each year, 24 plots in total). In order to compare year 2000 and year 2001,
however, I'd need to have the same legend scale (same color bar) in both
years plots.
Thus, my question is: is there a way to set the legend scale in
2011 Feb 09
1
Plot bivariate density with densities margins
Dear R users,
I would like to plot the bivariate density surface with its marginal
densities on the sides of the 3D box, just like in the picture I attach. I
tried to found information about how to do it but did not find anything.
Does anyone know how to do it?
Thanks in advance,
Eduardo.
2006 Dec 07
0
Mosquito gem available
why has mentioned this before, but I wrote a small test framework for Camping and it is now available as a gem.
sudo gem install mosquito
If you''d like to write unit or functional test for your Camping app, check it out:
http://code.whytheluckystiff.net/camping/wiki/MosquitoForBugFreeCamping
http://rubyforge.org/projects/mosquito
Several people have already submitted patches and
2009 Nov 03
1
fixed color scale for a series of contour plots
Hello,
I am having trouble figuring out how to create a color scale that will
be consistent across multiple contour plots. What I would like is to
plot a series of contour or image plots for different subsets of a
data set but make sure that the color key stays fixed so that the
plots are easily comparable. That is I need a map from the range of
values of the entire data set to the color
2012 Feb 09
2
Lattice 3d coordinate transformation
Hello List!
I asked this before (with no solution), but maybe this time... I'm
trying to project a surface to the XY under a 3d cloud using lattice.
I can project contour lines following the code for fig 13.7 in
Deepayan Sarkar's "Lattice, Multivariate Data Visualization with R",
but it fails when I try to "color them in" using panel.levelplot.
?utilities.3d says there
2011 Oct 24
1
Adding points to a wireframe: 'x and units must have length >0' error
Hi,
I'm trying to follow the suggestions given by Deepayan Sarkar in this
message:
http://tolstoy.newcastle.edu.au/R/help/05/11/16135.html
to plot 3-D points on a wireframe plot. The problem is that I keep getting a
partly formed plot- with the colored lattice visible but no axis labels or
additional points- with the error message "error using packet 1, 'x' and
'units'
2007 Jul 05
2
Adding points to a wireframe with conditioning variable
I would like to add points to a wireframe but with a conditioning variable. I
found a solution for this without a conditioning variable here,
http://finzi.psych.upenn.edu/R/Rhelp02a/archive/65321.html. Does anyone know
how to plot a wireframe conditioned on a variable and add the points
conditioned on the same variable, similar to the solution at the link above?
2008 Apr 30
2
wireframe - add data points
Hello all,
I’m trying to add some data points to a wireframe. X an Y axis are independent variables, Z axis is predicted probability. I’d like to add the original data points on which the predicted probabilities are based to the wireframe. I’ve followed some of the previous post on this but get stuck :
## first part yields the wireframe##
setwd("C:/Temp")
rnp <-
2010 Feb 20
1
Add lines (contours) to lattice wireframe plot
Hi,
I draw a surface corresponding to bivariate density of independent
variables (rho=0) using persp(). Then I add a contour line (i.e.,
circle in my case) at a particular density. Below is a minimal example
of what I have so far.
# Bivariate density
dnorm2d <- function(x, y, rho = 0) {
xoy = (x^2 - 2 * rho * x * y + y^2)/(2 * (1 - rho^2))
density = exp(-xoy)/(2 * pi * sqrt(1 - rho^2))