Displaying 8 results from an estimated 8 matches for "abascal".
2008 Jun 02
4
exit function in R?
Hi,
This is likely an stupid question, but I cannot find the solution.
I am searching for an "exit" function, to end the execution of an R
script if some condition is not filled.
Any clue?
Thank you in advance!
Federico
2007 Jan 30
5
how to join two arrays using their column names intersection
Dear all,
I have a problem that may be someone of you can help. I am a newbie and
do not find how to do it in manuals.
I have two arrays, for example:
ar1 <- array(data=c(1:16),dim=c(4,4))
ar2 <- array(data=c(1:16),dim=c(4,4))
colnames(ar1)<-c("A","B","D","E")
colnames(ar2)<-c("C","A","E","B")
> ar1
2007 May 04
4
logical or for two vectors or matrices
Hello,
it might be a very simple question but I cannot find the solution (I tried a || b, any(a,b)... but none works). My problem is:
I have two vectors,
a <- c(TRUE,FALSE,FALSE)
b <- c(TRUE,FALSE,TRUE)
and I would like to obtain a vector that indicates if it is TRUE in any of the two vectors. Hence, the desired output would be: TRUE, FALSE, TRUE
Thank you in advance,
Federico
2009 Oct 29
3
x-y plot as an histogram
Hi,
I am investigating a problem for which I found no solution.
I have a matrix with two columns. I have plotted it as an x-y plot
(plot(matrix[,1],matrix[,2])
But this is not apropriate for my purposes. I need to group the data
in matrix[,1] into groups (as an histogram would do). Then I have to
calculate the average of matrix[,2] for each group.
Before starting with loops and loops I
2007 Feb 14
2
font size in plots
Dear members of the list,
it is likely a stupid question but I cannot find the information neither
in R manuals nor in google.
I am generating a plot (from hclust results) but I cannot see properly
the labels because the default font size is too large. How can I change it?
Thanks!
Federico
2008 Jan 30
2
data.frame transformation
...1<-c(0,0,0,15)
specieslat2<-c(10,12,0,0)
specieslat3<-c(10,12,13,15)
data.frame(cbind(grid.id,lat,specieslat1,specieslat2,specieslat3))
?
Thanks a lot,
cheers
Christian
--
Christian Hof .. PhD student
Biodiversity & Global Change Lab .. C/Jos? Guti?rrez Abascal, 2
Museo Nacional de Ciencias Naturales .. E-28006 Madrid (Espa?a)
www.biochange-lab.eu
Center for Macroecology .. University of Copenhagen
www.macroecology.ku.dk
mobile ES .....
2007 Apr 26
1
comparing two matrices, row by row
Estimated people,
I have two matrices:
ar1 <- array(data=c(1:16),dim=c(4,4))
ar2 <- array(data=c(1,2,3,3,5:16),dim=c(4,4))
They only differ in the fourth row. I would like to compare them in order to know which columns are equal.
The following works, but I would like to have a better solution, and not to use what someone called "prehistorical loops":
for(i in
2014 Apr 26
0
samba Digest, Vol 136, Issue 31
HI I would like to know how can I mount the equivalent to the Active
Directory on linux, and how can I autenticate the Machines with Debian 7
with a Zentyal server.... Greetings
Yorlan
--
-----------------------------------
CONSULTE la Revista de Ciencias Medicas
de Pinar del Rio en Internet
www.revcmpinar.sld.cu
--
Este mensaje le ha llegado mediante el servicio de correo electronico que