Displaying 6 results from an estimated 6 matches for "spatiaux".
Did you mean:
spatial
2007 Feb 02
1
R syntaxe
...he modality 1 to 30 in y.
mean(x[y==1]),...,mean(x[y==30])
I do not want to use an iterative procedure such that for (i in 1:30)..
Thanks for your help,
Regards.
Olivier.
--
-------------------------------------------------------------
Martin Olivier
INRA - Unit? Biostatistique & Processus Spatiaux
Domaine St Paul, Site Agroparc
84914 Avignon Cedex 9, France
Tel : 04 32 72 21 57
2007 Jul 30
1
correlation and matrix
Dear everyone,
I am new in R and I've got difficulties in realizing the following
tasks:
-I have variables (factors) with different numbers of levels, either 1,
2 or 3.
-I have a matrix containing these 204 factors and I have to correlate
them by groups of 4 variables.
-I have to delete the factors just having one level ( because when
correlating one-level factors, the output is NA)
here
2001 Dec 28
3
Compiling samba with solaris
Hi,
I just cvs the samba_2_2 branch with
cvs -d :pserver:cvs@samba.org:/cvsroot co -r SAMBA_2_2 samba
and i try to compile samba with gcc under solaris 8 (SUNultra10):
# pwd
/tmp/samba/source
# ./configure --with-automount --with-nisplus-home
loading cache ./config.cache
checking for gcc... gcc
checking whether the C compiler (gcc -O ) works... no
configure: error: installation or configuration
2007 Jun 29
1
How to add elements to a table
Hi,
I've been using R for a few weeks now, but consider myself still a
newbie, especially in what concerns the basics of data handling in R.
My situation is this:
I read in data from a database using RODBC, and then use "table" to
produce a table of "counts per years", table which I give to "plot".
All is well, as long as there are no gaps in the years
2007 Jun 28
5
Repeat if
Hello,
(Power Book G4, Mac OS X, R 2.5.0)
I would like to repeat the function range for 85 Vectors (V1-V85).
I tried with this code:
i<-0
> repeat {
+ i<-i+1
+ if (i<85) next
+ range (Vi, na.rm = TRUE)
+ if (i==85) break
+ }
I presume that the Vi is wrong, because in this syntax i is not known
as a variable. But I donĀ“t know how to say that it is a variable here.
Would be nice if
2007 Jul 30
8
regular expressions : extracting numbers
Hello all,
I have a vector of character strings, in which I have letters, numbers, and symbols. What I wish to do is obtain a vector of the same length with just the numbers.
A quick example -
extract of the original vector :
"lema, rb 2%" "rb 2%" "rb 3%" "rb 4%" "rb 3%" "rb 2%,mineuse" "rb" "rb" "rb 12"