Displaying 20 results from an estimated 3000 matches similar to: "Generating random geographical coordinates"
2012 Oct 04
4
Class for time series
Dear all,
I have a time serie dataset such as the following with data acquired
every 15 minutes:
Date Heure Profondeur Temp?rature Salinit? Turbidit? Chloration
1 2012-07-06 08:47:22 -0.144 22.469 0.011 0.000 0
2 2012-07-06 09:02:21 -0.147 22.476 0.011 0.000 0
3 2012-07-06 09:17:21 -0.139 22.498 0.011 19.323 0
4 2012-07-06
2003 Feb 14
3
Change array size
Hi,
I would like to know if there is a way to change a vector of arbitrary size
to make it fits the nearest upper size multiple of a power of 2.
--
Cordialy
----------------------------------------
Emmanuel POIZOT
Cnam/Intechmer
Digue de Collignon
50110 Tourlaville
T?l : (33)(0)2 33 88 73 42
Fax : (33)(0)2 33 88 73 39
-----------------------------------------
2002 May 14
2
Raster management data
Hi,
I'm a newbie in R world.
I would like to develop an application that extract contour from objects of
an image.
- Is R able to manage raster data (i.e., images) ?
- Is there a specific package in change of such management ?
I'm specificaly interest in the Canny filter.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Emmanuel POIZOT
CNAM/INTECHMER
B.P. 324
50103 Cherbourg Cedex
T?l : 33 (0)2 33
2001 Dec 20
2
Modifying a function
Hello,
I'd writen a function in R composed of multiples lines.
How can I do to modify or delete on of the line of my function ?
--
Sincerely
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~ Emmanuel POIZOT
~ CNAM/INTECHMER
~ B.P. 324
~ 50103 CHERBOURG CEDEX
~ T?l : (33) 233 887 342
~ Fax : (33) 233 887 339
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2009 Jul 13
1
Times series adjustment
Dear all,
I want make correction depth of a bathymetric data set.
To do so, I have the depth data set sample every second (a depth at each
second) in one hand, and in the other hand, I have a tide variation
level data set sample every 250 ms. The time register in each data sets
(tide and bathymetric) is express in seconds followinf this format :
hh:mm:ss.ss
I would like to rectify the depth
2004 Sep 24
2
R from outside program
Hi all,
I'm writing a program in C++ in witch there should be some graphical outputs.
To do so, I would like to use R with the command :
R --no-save < cmdfile.R , where I put the R graphic commands in the
cmdfile.R file.
I call R from my C++ code but as R seems to run in batch mode, there are no
graphical outputs!
How can I do to get the graphics outputs ?
--
Sincerely
2001 Dec 13
2
Problem to interpret wilcox.test
I've got two set of data :
22.45 21.56 20.48 19.59 21.52 = A
and
22.15 21.98 20.42 20.58 19.61 = B
I perform a wilcox.test on this two set
wilcox.test(A, B) and I'd this answer:
Wilcoxon rank sum test
data: A and B
W = 12, p-value = 1
alternative hypothesis: true mu is not equal to 0
Should I interpret that there is no difference between the two sets ?
--
Cordialement
2002 Apr 26
2
Can't install packages (PR#1486)
Hello,
I install R under Mandrake Linux 8.2.
R itself work fine, but I had an error to install packages, i.e. fields, geoR
and geoRglm :
$: R CMD INSTALL geoRglm_0.4-3.tar.gz
Installing *source* package `geoRglm' ...
libs
gcc-3.0.1 -I/usr/lib/R/include -I/usr/local/include -mieee-fp
-D__NO_MATH_INLINES -fPIC -O3 -fomit-frame-pointer -pipe -mcpu=pentiumpro
-march=i586 -fno-fast-math
2002 Apr 26
2
Can't install packages (PR#1486)
Hello,
I install R under Mandrake Linux 8.2.
R itself work fine, but I had an error to install packages, i.e. fields, geoR
and geoRglm :
$: R CMD INSTALL geoRglm_0.4-3.tar.gz
Installing *source* package `geoRglm' ...
libs
gcc-3.0.1 -I/usr/lib/R/include -I/usr/local/include -mieee-fp
-D__NO_MATH_INLINES -fPIC -O3 -fomit-frame-pointer -pipe -mcpu=pentiumpro
-march=i586 -fno-fast-math
2003 Apr 08
1
Modeling the trend and eliminate it
Hi,
I would like to eliminate the trend of a set localised (with x an y) data.
I try to fit a linear model to the data:
mod.01 <- lm(ff~x+y)
I've got so a model. My question is how can I do to subtract the model from
the initial f data ?
--
Cordialement
----------------------------------------
Emmanuel POIZOT
Cnam/Intechmer
Digue de Collignon
50110 Tourlaville
T?l : (33)(0)2 33 88 73 42
2005 Dec 16
1
autocorrelation test
Hi all,
I would like to test the relevance of a vector field (i.e. if the
vectors are organized or not).
To do so, I would like to use an autocorrelation test, so that I have
two questions:
- is the Watson test applicable to that perpuse ?
- is the kuiper test applicable to that purpuse ?
Regards
------------------------------------------------
Emmanuel Poizot
Cnam/Intechmer
B.P. 324
50103
2005 Oct 24
2
Compilation package error
Dear all,
I tried to install gstat package and add the following compilation error :
------------------------>
* Installing *source* package 'gstat' ...
creating cache ./config.cache
checking for gcc... gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether
2011 Mar 25
4
read.xls -> rotate data.frame
Hi to all,
how could I to rotate automatically a data sheet which was imported by
read.xls?
x1 x2 x3 .... xn
y1 1 4 7 ... xn/y1
y2 2 5 8 .... xn/y2
y3 3 6 9 ....xn/y2
yn ... ... ... Xn/Yn
to
y1 y2 y3 .... yn
x1 1 2 3 ..... Yn/x1
x2 4 5 6 .... Yn/x2
x3 7 8 9 .... Yn/x2
xn ... ... ... ..... Yn/xn
Kind regards Knut
2010 Sep 26
1
compare a vector and a row of a matrix
From: xxgreat@hotmail.com
To: r-help-bounces@r-project.org
Subject: compare a vector and a row of a matrix
Date: Sun, 26 Sep 2010 23:23:52 +0800
Hi Everyone:
I am trying to compare a vector and rows of a matrix
for example
> xn <- c(1,2,4,4,5,5,5,6)
>yn <- c(1,2,5,7,1,2,3,1)
>mtrx <- cbind(xn, yn)
when I tried, say, > c (1,4), the result was TRUE, TRUE.
2009 Dec 15
1
Help in R
Hello,
Can anyone give me some suggestion in term of calculating the sum below.
Is there a function in R that can help doing it faster?
x1, x2, ...xn where xi can be 0 or 1. I want to calculate the following:
sum{ beta[a+sum(xi), b+n-sum(xi) ]* [ (1-x1)dnorm(0,1)+x1dnorm(2,1) ]* [
(1-x2)dnorm(0,1)+x2dnorm(2,1) ]* ...* [ (1-xn)dnorm(0,1)+xndnorm(2,1) ] }
The sum in the beginning is over all
2012 Feb 23
5
cor() on sets of vectors
suppose I have two sets of vectors: x1,x2,...,xN and y1,y2,...,yN.
I want N correlations: cor(x1,y1), cor(x2,y2), ..., cor(xN,yN).
my sets of vectors are arranged as data frames x & y (vector=column):
x <- data.frame(a=rnorm(10),b=rnorm(10),c=rnorm(10))
y <- data.frame(d=rnorm(10),e=rnorm(10),f=rnorm(10))
cor(x,y) returns a _matrix_ of all pairwise correlations:
cor(x,y)
2004 Apr 13
1
postscript image problem (PR#6763)
Full_Name: Jonathan Lees
Version: 1.8.1
OS: GNU/Linux 2.4.20-20.8smp #1 SMP
Submission from: (NULL) (152.2.75.114)
I am having trouble with the postscript output of images.
They have lines on them that are not supposed to be there.
I have noticed this on numerous trials of printing various images.
I looked at the postscript and I see that it
appears to plot each individual block - so perhaps
2011 Mar 09
4
Extracting only odd columns from a matrix
Hi,
This might seem like a simple question but at the moment I am stuck for ideas. The columns of my matrix in which some data is stored are of this form:
X1 Y1 X2 Y2 X3 Y3 ... Xn Yn
with n~100. I would like to look at just the X values (i.e. odd column numbers). Is there an easy way to loop round extracting only these columns?
Any help would be appreciated.
2008 Jul 01
2
Are centre coordinates or upper left corners used of x, y for SpatialPixels?
Dear all,
I'm working with satellite images in R and plotting them via the code
below.
I was wondering whether coordinates (spatial["x"], spatial["y"]) are
used as centre coordinates of the pixels in the GRID? In this script;
spatial["x"] & spatial["y"] are the centre coordinates of the satellite
image pixels. I'm asking this because some
2006 Sep 19
2
Linux configuration (Ubuntu)
Hello all,
I have been a R user for about a year now, running on a MS Windows machine.
I am in the process of making a complete switch to open-source. Linux is a
new world to me. Ubuntu was my selection of the various distributions.
Please pardon this very basic question (I was unable to locate an answer on
R or Ubuntu). I used Synaptic to download the necessary files to run.
However, I was