Displaying 20 results from an estimated 10000 matches similar to: "Plotting lines with equidistant points for identification"
2011 Oct 31
0
Equidistant time spacing of time series data
I am running ARMA model on time series data. Data consists of price changes
in S&P 500 during the day, recorded at 4 predefined time stamps( 8:30,
10:30,10:15, 3:12, hence non equidistant)
My question is, do I need to worry about the data being non equidistant?
If so, how do I modify my series to account for it?
Or is it safe to assume data as being equidistant,as it may not have a
strong
2003 Jan 08
1
Determining the break points by hist() leads to errors (PR#2432)
Hi,
if I dermine the break points using the hist() function and then try
to re-use these in a new histogram, R fails. Here is an example of the
problem:
##First, plot a histogram:
data(islands)
foo <- hist(islands,freq=T)
##Now, try plot it again, with the previously determined break points:
hist(islands,breaks=foo$breaks,freq=T)
##... this lead to the warning message:
Warning message:
2005 Nov 02
1
x/y coordinates of dendrogram branches
Dear R-users,
I need some help concerning the plotting of dendrograms for hierarchical
agglomerative clustering.
The agglomeration niveau of each step should be displayed at the
branches of the dendrogram.
For this I need the x/y coordinates of the branch-agglomerations of the
dendrogram.
The y-values are known (the heights of the agglomeration), but how can I
get the x-values?
> mydata
2000 Jan 11
1
a +1 shift overlaying lines/points on a boxplot (PR#398)
Full_Name: Adrian Custer
Version: 0.90.0
OS: Linux on Thinkpad (pentium) and desktop (K6)
Submission from: (NULL) (128.32.251.234)
When I create a boxplot, and then try to overlay a lowess fit or just the
points,
the points do not appear in the highest level and the lowess curve does not
reach
the highest level. However, if I add one to each of the models, the problem is
solved.
I tried this
2013 Feb 13
1
Kernel Density estimation at specific points
Dear All,
I was wondering whether someone has created a kernel density evaluator that
estimates the density at given specified points.
The regular density() function evaluates the kernel at equidistant points,
but I am interested in doing such evaluation along a list of values
existing in a pre-specified vector. (Similar to the option at() in the
kdensity command in Stata).
This question has
2011 Jun 27
1
Kernel Density Estimation at manually specified points
Hello,
my name is Carsten. This ist my first post to R-help mailing list.
I estimate densities with the function "density" out of the package
"stats".
A simplified example:
#generation of test data
n=10
z = rnorm(n)
#density estimation
f=density(z,kernel="epanechnikov",n=n)
#evaluation
print(f$y[5])
Here I can only evaluate the estimation at given
2004 Mar 19
1
Spatial Statistics: surf.gls
In an experimental setup we obtain z-data samples at equidistant grid points.
The surf.gls (Kriging) algorithm produces an error under this circumstance when performing the Choleski decomposition.
A workaround is to dither the grid coordinates using (x <- rnorm(length(x)) ; y<- rnowm(length(y))).
Question: Is this an expected behaviour of the surf.gls function ?
Regards,
Berthold
2003 Jun 16
2
Isocontour-lines of spatial data on a rectangular grid (not plots!)
Dear R-Listers,
I have spatial data on an equidistant rectangular grid, similar to
topographic data. I know that there are quite a few R-packages or base
functions that provide nice iso-contours plot, but I don't want a plot, just
the smoothed isocontour line of ONE level (e.g. 10 mm).
Data sets are large, so it would be preferable if the availability of
regular grid data could be exploited,
2007 Sep 12
1
plot contour map for irregular data points
Hello,
I'm dealing with the following problem:
I have a table with x and y coordinates and corresponding values of
a mineral concentration, let's call it z.
Can someone provide me a short step-by-step manual for the steps
necessary to get a contour map?
How to sort and interpolate my matrix to an equidistant grid which
can afterwards be plotted by contour(x,y,z)? (e.g. fill the
2010 Nov 18
3
New Sampling question
I have another question about drawing samples from a data frame. This might
sound really tricky. Let me use a data frame I have posted earlier as an
example:
SubID CSE1 CSE2 CSE3 CSE4 WSE1 WSE2 WSE3 WSE4
1 6 5 6 2 6 2 2 4
2 6 4 7 2 6 6 2 3
3 5 5 5 5
2013 Feb 26
1
How to avoid overlapping labels
Hi Remko,
thanks for your answer. but i do
not really understand how to use the commands.
if i want to use thigmophobe.labels(x,y,) do i need to identify the xy
coordinates for each point first and then manually move every point? and if
i neet to do so how to use the identify() function?
or is there any possibility to automatically place the labels in the best
position?
>MatArab <-
2011 Feb 28
1
changing origin and plotting complex graphs
I have data on area under cultivation of a crops for 17 states..I need a
scatter plot to be made for the following assignment
Read the data file /Data/ep602/areas.csv, and make a scatter plot that
displays area under rice in 1960s on the x axis, and percentage change in
area under rice between 1960 and 1990 on the y axis. Let origin of the plot
be at (50 per cent of area of rice in India as a
2001 Jul 11
1
Extra lines when bty="n" (PR#1021)
Full_Name: Claus Ekstrøm
Version: 1.2.0
OS: Linux (RedHat 7.1)
Submission from: (NULL) (212.54.75.68)
For some reason two extra lines keep appearing
when making graphics with no box, bty="n" (a vertical line
along the leftmost side of the graphics region and a horizonal
line along the bottom side). The lines are very visible if the
plot is saved as a postscript file and is later
2008 Jul 09
3
Grid building in R
This might not possible in R but I thought I would give it shot. I am have to
set up a 40 x 40 cm grid of 181 points equidistant from each other. Is there
any way to produce a graph with R that can do this for me? Actual sizes are
unimportant as long it is to scale. Thanks
--
View this message in context: http://www.nabble.com/Grid-building-in-R-tp18371874p18371874.html
Sent from the R help
2006 Feb 05
1
wireframe zlim option
Hello,
I would like to plot a wireframe of a function which is defined on the
unit square using the lattice library (for trellis-like plots). The plot
contains z-values of about 100 (only in the neighborhood of zero) although
most of the z-values are in the range of -let's say- 0 to 10. If I
evaluate this function on an equidistant grid of 25 points on the unit
square the plot quality is not
2002 May 24
5
intersecting polygons and conversion from decimal degree to km
Dear all,
1. How can I compute the intersecting area between 2 polygons ?
2. I have polygons with coordinates in decimal degrees (i.e. 13 deg 30
min = 13.5 decimal degrees). I want to compute their area and get the
results in square meters or square kiometers. Can anyone give me a
conversion coefficient or a pointer where I can find this information
(sorry for this off topic question) ?
Thanks
2017 Oct 10
1
About multiple panels with limited space in-between
Hi R users,
I have a question about plotting. The following two datasets are an
example. What I have in mind is like the attached figure, but just have two
rows, top row is for DF1, bottom row is for DF2. The top and bottom rows,
have x-axis as var1, var2, var3, etc, while the y-axis represents A. For
each row, only the leftmost panel has y-axis ticks and label. For the two
rows, only the bottom
2007 Jun 26
3
[PATCH] Always use mipmaps in cube plugin
Currently, the cube plugin uses mipmapping only when cube is unfolded.
When the cube is rotated, mipmaps are not used, which leads to ugly look
of textures.
The attached patch fixes this. This leads to another kind of artifacts,
which are fixable with anisotropic filtering.
http://team.pld-linux.org/~wolf/aniso.png
The leftmost image is the current state of cube plugin. The center image
is with
2011 Aug 16
1
Fit Gompertz' curve'
Hi,
I build a graph taking into account the times: 1,
2,4,6,8,10,12,15,18,21,24,28,32 and 48.
Be that the scale of the X axis does not look right. It
seems equidistant. (graph attached)
What changes have I to do in the following commands so that
the scale be correct?
interaction.plot(Tempo, Trat, Valor, ylim=c(0, 2), las=1,
lty=c(1,2,3,4), lwd=3, bty='l',
2007 Sep 04
2
Howto sort dataframe columns by colMeans
I read from external data source containing several columns. Each column
represents value of a metric. The columns are time series data.
I want to sort the resulting dataframe such that the column with the largest
mean is the leftmost column, descending in colMean values to the right.
I see many solutions for sorting rows based on some column characteristic,
but haven't found any