search for: equispace

Displaying 17 results from an estimated 17 matches for "equispace".

Did you mean: equispaced
2013 Jul 20
2
Different x-axis scales using c() in latticeExtra
Hi, I would like to combine multiple xyplots into a single, multipanel display. Using R 3.0.1 in Ubuntu, I have used c() from latticeExtra to combine three plots, but the x-axis for two plots are on a log scale and the other is on a normal scale. I also have included equispace.log=FALSE to clean up the tick labels. However, when I try all of these, the x-axis scale of the first panel is used for all three. How do I keep different scales for the different panels? Here is an example: library(lattice) library(latticeExtra) response <- c(76, 14, 15, 44, 26, 19, 74, 123...
2010 May 18
1
lattice::panel.levelplot.raster too picky with unequal spacing
Dear all, I got a couple of warnings using panel.levelplot.raster, In panel.levelplot.raster(..., interpolate = TRUE) : 'y' values are not equispaced; output will be wrong although I was quite sure my data were equally spaced (indeed, I created them with seq()). A closer look at the source code reveals that the function tests for exact uniformity in grid spacing, if (length(unique(diff(uy))) != 1) warning("'x' values...
2009 Oct 19
1
Spatstat: xy binary data into mask type to use in owin(mask=)
Dear users, I am trying to export polygons from Arcmap into Spatstat to run some simulations using functions available in Spatstat package. One particular area to be exported is formed by a number of polygons defining the external boundaries of the area (as a groups of islands) and a number of polygons inside the previous ones, as ?holes? not to be considered as part of the area. I have
2015 Feb 26
2
como eliminar los nombres de las series en el grafico
...por tab, no por ",") y el grafico los envio adjuntos. xYplot(Cbind(ave,ul,ll) ~ con , groups=sol,data=ca.med.sincon ,xlab="Solvent concentration (mM)" , ylab="Contact Angle (°)", method="lower bars", cex=1.1, type="b" , scales=list(x=list(log=10), equispaced.log=FALSE) , abline=list(h=ca.med[ca.med$sol=="con",3]) ) Espero que alguien sepa porque ya he gastado mucho tiempo buscando y probando cosas. Gracias, Eric. -- Forest Engineer Master in Environmental and Natural Resource Economics Ph.D. student in Sciences of Natural Resources a...
2018 Nov 04
1
trivial typo in src/library/stats/man/ts.Rd
...details{ The function \code{ts} is used to create time-series objects. These - are vector or matrices with class of \code{"ts"} (and additional + are vectors or matrices with class of \code{"ts"} (and additional attributes) which represent data which has been sampled at equispaced points in time. In the matrix case, each column of the matrix \code{data} is assumed to contain a single (univariate) time series.
2013 Jul 24
1
Query on R plot : Unequispaced label on x-axis
Dear R users, I want to plot a one variable continuous function f(x) vs x, x=[0,1]. Say for example: f(x)= x^2. Now, using the command plot(f~x) I will get a curve where the range of x-axis is [0,1] with all equispaced label. But, I need something else, and that is: my curve will be such that 80% on x-axis the range would be [0,0.5] and the rest 20% would contain [0.5,1]. Let me draw informally here. Say, the line below is my x-axis in graph and my plotting points are like: _________________________...
2010 Nov 03
1
NFFT on a Zoo?
I have an irregular time series in a Zoo object, and I've been unable to find any way to do an FFT on it. More precisely, I'd like to do an NFFT (non-equispaced / non-uniform time FFT) on the data. The data is timestamped samples from a cheap self-logging accelerometer. The data is weakly regular, with the following characteristics: - short gaps every ~20ms - large gaps every ~200ms - jitter/noise in the timestamp The gaps cover ~10% of the acquisiti...
2014 Nov 06
2
diferentes escalas en el X de un grafico con varios paneles
...que aparecen dos marcas tan juntas en el grafico que adjunto. Este es el codigo con el que lo hice: xyplot(V1 ~ con | sol + dia , groups=nca , data=de.pgc , auto.key=list(space="right") , strip = strip.custom(strip.names = TRUE) , scales=list(x=list(log=10), equispaced.log=FALSE, y = list(at = 1:3), cex=1.2) , xlab=list("Solvent concentration (mM)", cex=1.2) , ylab=list("Numbers of samples with cis bonds", cex=1.2) , ylim=c(0.5,3.5) #, xlim=c(0,5000) ) Slds, eric. -- Forest Engineer Master in Environmental and...
2002 Oct 22
2
Draw ellipses in S-PLUS or R?
Dear S-PLUS/R users: Do you know any default function or a user contributed function that can draw an ellipse with given axes and origin? Thanks for any help. Paul. -- Romance, like alcohol, should be enjoyed, but should not be allowed to become necessary. -- Edgar Friedenberg -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list --
2005 Nov 13
1
correlating irregular time series
...posed to be unrelated. I have plotted them and that assumption does not appear to be valid. http://metrak.com/tmp/sevents.png is a plot showing three sets of events over time. For the purpose of this exercise, the Y value is irrelevant. The series are not sampled at the same time and are not equispaced (just events in a log file). The plot is already pretty convincing but requires a human-in-the-loop to zoom in on "hot" areas and then visually interpret the result. I want to calculate some index of the events' temporal relationship. I think the question I am trying to ask is...
2002 Jun 19
4
drawing ellipses
Hello again, First I want to thank all the people who answered my question about line width in graphs. I promise I will learn the 'par' help page by heart for the end of the month ! I now want to trace some ellipses to emphasize groups of data. I found how to trace circles with 'symbols()', but no ellipse. I'm planning on writing my own function based on
2008 Jan 25
1
nlsList (nlme) error
Hi All. I'm trying to run nlsList an getting an error that makes no sense to me. I have accuracy and reaction time data over many trials for each person (id) When I use nlsList code that is virtually identical to the example in the doc file I get the following error. I've tried everything I could think of and can't get around it. Any ideas what I'm doing wrong? **************
1997 Dec 11
0
R-alpha: "[.ts" warning "Not returning time series.."
...ne of `options()') to handle this. > >Another -- maybe even better -- alternative : >We introduce an argument > drop = TRUE >as for arrays. >Then the warning would only happen in the case drop = FALSE >when it was really impossible to make an (equispaced) ts out of the >subscripted one. Sorry this is my fault. I suggested this code because the previous version of [.ts<- did not allow you to subscript time series at all without unclassing them. The current version at least tries to preserve time series objects. I think what we really need...
1997 Dec 10
1
R-alpha: "[.ts" in 0.60.1
I have a class "tframe" with more specific classes indicating how time is being represented, such as > class(tframe(data)) [1] "ts" "tframe" but now "[.ts" produces warning messages > tframe(data)[2] Warning: Not returning a time series object [1] 2006.25 Even my simplest tests produce hundreds of lines of warnings, so I've commented out
1997 Sep 15
0
R-alpha: set.seed(.) [was 'compatibility']
...takes (all) values in 0:63 [also with some periodicity] X6 takes the values of 0:3 3) set.seed(i) <==> set.seed(i + n*1024) for all integers n, i 4) { set.seed(i) ; i \in {integers}} results in a set of 1024 different values of 'congrval'. These values are EXACTLY EQUISPACED lying in {0,..,2^32}. If C[1:1024] are these sorted values, we have C[i] == 201621 + (i-1)* 2^22 , for i in 1:1024 So far for S-plus. ----------------------------------------------------------------- Now, in R with a different basic RNG (with a longer period), -- see ?.Random.seed...
1997 Oct 30
2
R-alpha: Minor plotting problems
1) There's a curious asymmetry between points and lines, in that you can do lines(...,type='p') but not points(...,type='l') (and more importantly, not points(..., type='b'), which probably *could* arise in real work) This isn't deliberate, is it? 2) Did I remember to report the adverse effect of having plot(x,y) coerce its argument to numeric? Several of my
1997 Nov 24
0
R-alpha: random number generator -- S-plus's
...63 [also with some periodicity] ##- X6 takes the values of 0:3 ##- ##- 3) set.seed(i) <==> set.seed(i + n*1024) for all integers n, i ##- ##- 4) { set.seed(i) ; i \in {integers}} ##- results in a set of 1024 different values of 'congrval'. ##- These values are EXACTLY EQUISPACED lying in {0,..,2^32}. ##- ##- If C[1:1024] are these sorted values, we have ##- ##- C[i] == 201621 + (i-1)* 2^22 , for i in 1:1024 ##- X SHAR_EOF $shar_touch -am 1124095797 'setseed-ex.S' && chmod 0644 'setseed-ex.S' || $echo 'restore of' 'setseed-ex...