Displaying 20 results from an estimated 500 matches similar to: "Non-standard axis plotting"
2012 Dec 11
6
Latitudinal mean of values in a data frame
Dear all,
I have a big file containing latitude points(-10 to 80) and
corresponding values.
Example data
Lat=c(69.48134, 69.49439, 69.50736, 69.52026, 69.52438, 69.53308,
69.53746, 69.54365, 69.54582, 69.6884, 69.69272, 69.998, 70.00055,
70.00106, 70.00295, 70.00308, 70.00363, 70.00427, 70.00665, 70.00906,
70.01049, 70.01053, 70.01075, 70.01208, 70.01236, 70.01418, 70.01452,
70.01646,
2009 May 02
2
Problems producing a simple plot
Dear R Users,
I have a data frame of the nature:
> head(aggregate_1986)
Latitude Mean Annual Simulated Runoff per 1? Latitudinal Band
1 -55 574.09287
2 -54 247.23078
3 -53 103.40756
4 -52 86.99991
5
2004 Aug 22
1
latitude longitude data
Dear R-helpers,
I get GPS readings with bug counts (bugs meaning
insects in this case) made along rows in crop fields
and use these to make maps of bug distribution. The
GPS readings are not quite accurate enough for my
purpose, so since I know what row each reading is made
in, I adjust the latitudinal coordinate using:
grd<-lm(lat~lon+Row,data)
2009 Apr 30
1
Using 'aggregate' when dependent on row value increments
Dear all,
I have a data frame of three columns, which I have sorted by Latitude as follows:
> test2[60:80,]
Latitude Longitude Sim_1986
61948 85.25 -29.25 2.175345
61957 85.25 -28.75 8.750486
61967 85.25 -28.25 33.569305
61977 85.25 -27.75 23.702572
61988 85.25 -27.25 26.488602
62000 85.25 -26.75 23.915724
62012 85.25 -26.25 25.055082
62027
2012 Aug 03
1
Plotting Where People Live on a U.S. Map
Hi,
QUESTION TOPIC #1
I have some data I want to plot on a map. But what I have are home addresses: street, City, State, complete postal code--i.e 95377-1234. Is there a way to plot this data or do I need latitudinal and longitude coordinates? If so how do I convert them? Is there a package that will do the conversion in R?
QUESTION TOPIC #2
I was trying to experiment with this code that I found
2009 Jun 21
1
Problems with bilinear interpolation of a grid
Dear all,
I'm having trouble interpolating a number of gridded datasets that I have. I'm quite new to R so any help/advice that can be offered would be much appreciated!
Firstly I'll describe my dataset. The data is a grid of the planet at 1 degree spatial resolution, with each grid cell containing a value describing a particular variable (e.g. population density) for coordinate
2006 Dec 21
2
Add line to plot. The line falls outside the current plot.
Hi,
I have plotted the graph of x^2 and I would like to add to
it a line that is currently outside of the plot ( the points of the line
fall outside of the plot ). When I use the function 'lines' the graphics
window does not became larger to show this line.
Is there any way I can fix this?
Also, how can I eliminate the axis from the plot?
Thank you.
2006 Mar 16
1
filling a matrix with data
Hi,
I've extracted netcdf data in R, and am trying to output it in a matrix
format. I can make the matrix, and I have the data, but I can't get the
matrix to include the data...
I'm not very experienced at using R, so please forgive the crudeness of
these codes...
# For the matrix
wind_dir_data<-matrix( NA, 17, 365 , byrow = FALSE )
wind_speed_data<-matrix( NA, 17, 365,
2011 Jul 25
1
Rescaling columns in a multi-plot layout
Dear all,
I am trying to create a 6-plot layout - 3 rows and 2 columns - so that
only the top two plots have variable widths, all else with their default
setting. Using
"layout(matrix(c(1,2,3,4,5,6),3,2,byrow=T),widths=c(5,2))" rescales
column #2 of all three rows, whereas I would like to rescale that of
only row #1. Is there a simple way of doing this?
Thanks,
Manojit
2012 Sep 28
2
changing outlier shapes of boxplots using lattice
Hello
This is Elaine.
I am using package lattice to generate boxplots.
Using Richard's code, the display was almost perfect except the outlier
shape.
Based on the following code, the outliers are vertical lines.
However, I want the outliers to be empty circles.
Please kindly help how to modify the code to change the outlier shapes.
Thank you.
code
package (lattice)
dataN <-
2010 Jul 18
2
any one knowing how to install library (equate)?
I was told to go to packages on the tool bar and select 'install packages'.
Then choose library (equate).
My R is version 2.11. I tried multiple times with different locations of R
within US. Yet, I didn't see library(equate) being offered in the packages.
Thanks.
Grace
[[alternative HTML version deleted]]
2008 May 06
3
Spatial join between two datasets using x and y co-ordinates
Hi R users
I am trying to create a spatial join between two datasets.
The first data set is large and contains descriptive data including x
and y co-ordinates.
The second dataset is small and has been selected spatially. The only
data contained within the second dataset is the x and y coordinates only
i.e. no descriptive data.
The aim of a join made between the two datasets is to select
2007 Oct 09
2
window (x,y) co-ordinates of datapoints
Hi,
In the getGraphicsEvent function the (x,y) co-ordinates returned from the
mouse move are in relation to where the mouse is located within the device
window (i.e. the lower left corner of the window is '(0,0)', the upper
right is '(1,1)'). Is there a way of returning the (x,y) co-ordinates of
data points plotted where instead of x and y being the actual data points
they are
2009 Mar 21
2
limiting simulated animal movement
Hi,
I am trying to simulate animal movement in a gridded landscape made up of
cells. At each time step (iteration), the animal moves from one cell to
another in a random fashion.
This is how I am simulating movement, where a and b are the x,y co-ordinates
of the animal at the previous time step:
for (i in 1:no.of.steps){
direction <- sample(1:8, 1)
if(direction == 1){
a <- a
b <- b -
2010 Jun 06
1
Cumulative frequency percentage and library (equate)
Does anyone know how to get cumulative frequency percentage and how to
access library (equate)?
Thanks.
Grace
[[alternative HTML version deleted]]
2012 May 03
1
Creating a point pattern with cartesian co-ordinates
I have the following data from an image analysis program, in which the x and
y co-ordinates are locations of the centroids of shapes on a 2 dimensional
plot. The Y co-ordinates were positive, but I changed them to negative as
the resulting scatterplot was upside down (the image analysis program reads
from the top of the image to the bottom, so it seems) I now need these as
point pattern data, as I
2010 May 09
1
lattice: customising panel.segments using groups
Hi,
I want to customise the segments on an xyplot. Below is a simple example
of what I'm trying to do...
#Example dataset
x <- c(-0.25, 0.25, 0.8)
y <- c(-0.5, 0, 0.75)
gp <- c("A", "I", "C")
my.data <- cbind.data.frame(x,y,gp)
#setting up the parameters to customise the lines with.
ltype <- c(1,2,3)
env.col <-
2010 Dec 10
2
45 Degree labels on barplot? Help understanding code previously posted.
Dear colleagues,
i found a line or two of code in the help archives from Uwe Ligges about creating slanted x-labels for a barplot and it works well for my purposes (code below). However, I was hoping someone could explain to me precisely what the code is doing.
I'm aware it's invoking the text command, and I know the first ttwo arguments to text are x and y co-ordinates. I'm also
2006 Dec 12
3
ZFS Corruption
Please reply directly to me. Seeing the message below.
Is it possible to determine exactly which file is corrupted?
I was thinking the OBJECT/RANGE info may be pointing to it
but I don''t know how to equate that to a file.
# zpool status -v
pool: u01
state: ONLINE
status: One or more devices has experienced an error resulting in data
corruption. Applications may be
2009 Jul 15
1
Standalone program from R script
I have written a program which deals with median in 2-D plane and the
property of it under rotation. The program takes the co-ordinates
through mouse-click at any point of the co-ordinate plane and then
does the necessary computations. But the guys for whom I wrote the
program , are now demanding a standalone program, ie they don't want
their users to install R first to use this facility.
So