Displaying 20 results from an estimated 44 matches for "cienci".
Did you mean:
ciencia
2008 Sep 12
2
Greyed text in the background of a plot
...lot?
I'm making a dynamic plot and would like to show the
year of each time step as a big greyed text in the background.
(the idea comes from Hans Rosling video:
http://video.google.com/videoplay?docid=4237353244338529080&sourceid=searchfeed
)
Thanks
Agus
--
Dr. Agustin Lobo
Institut de Ciencies de la Terra "Jaume Almera" (CSIC)
LLuis Sole Sabaris s/n
08028 Barcelona
Spain
Tel. 34 934095410
Fax. 34 934110012
email: Agustin.Lobo at ija.csic.es
http://www.ija.csic.es/gt/obster
2008 Jun 27
4
Recoding
...<- origen
origen <- imagen
imagen <- aux
}
m <- match(v, origen, 0)
#print("match finished")
if(resto==0) v <- v*0
v[m > 0] <- imagen[m]
v
}
Agus
--
Dr. Agustin Lobo
Institut de Ciencies de la Terra "Jaume Almera" (CSIC)
LLuis Sole Sabaris s/n
08028 Barcelona
Spain
Tel. 34 934095410
Fax. 34 934110012
email: Agustin.Lobo at ija.csic.es
http://www.ija.csic.es/gt/obster
2008 May 19
2
Log or diary file
...et
the output. I mean something
like a combined history and sink, as you
get with File/Save to File.. in the windows
GUI.
Tis is done with diary filename in Matlab,
and you can state diary on and
diary off to control what is being saved to
the file.
Thanks
Agus
--
Dr. Agustin Lobo
Institut de Ciencies de la Terra "Jaume Almera" (CSIC)
LLuis Sole Sabaris s/n
08028 Barcelona
Spain
Tel. 34 934095410
Fax. 34 934110012
email: Agustin.Lobo at ija.csic.es
http://www.ija.csic.es/gt/obster
2007 Jul 24
1
Renamig a factor
...e a factor?
If I do:
test$Parc[test$Parc=="Ol?rdola"]<-"Ol?rdola"
R complains that
Warning message:
invalid factor level, NAs generated in: `[<-.factor`(`*tmp*`, test$Parc
== "Ol?rdola", value = "Ol?rdola")
Thanks
Agus
--
Dr. Agustin Lobo
Institut de Ciencies de la Terra "Jaume Almera" (CSIC)
LLuis Sole Sabaris s/n
08028 Barcelona
Spain
Tel. 34 934095410
Fax. 34 934110012
email: Agustin.Lobo at ija.csic.es
http://www.ija.csic.es/gt/obster
2008 Apr 18
1
space between plots
...#39;ve set
layout(matrix(c(1,3,2,4),ncol=2))
and
par(mar=c(0, 4, 4, 0) + 0.0) and
par(mar=c(0, 0, 4, 3) + 0.0)
for the upper-left and upper-right plots, but
still get an space between both plots,
is there any way to completely eliminate that space?
Thanks
Agus
--
Dr. Agustin Lobo
Institut de Ciencies de la Terra "Jaume Almera" (CSIC)
LLuis Sole Sabaris s/n
08028 Barcelona
Spain
Tel. 34 934095410
Fax. 34 934110012
email: Agustin.Lobo at ija.csic.es
http://www.ija.csic.es/gt/obster
2009 Jul 03
4
Function to eliminate blank space within strings?
Is there an specific function
to eliminate blank space within
strings?
Thanks
--
Dr. Agustin Lobo
Institut de Ciencies de la Terra "Jaume Almera" (CSIC)
LLuis Sole Sabaris s/n
08028 Barcelona
Spain
Tel. 34 934095410
Fax. 34 934110012
email: Agustin.Lobo at ija.csic.es
http://www.ija.csic.es/gt/obster
2009 Sep 02
1
Problem at subsetting matrix by using dimnames
..."b","c","b"))]
[1] NA NA NA NA NA NA
despite the fact that
> mitest["a","b"]
[1] 5
works fine.
How can I do the equivalent of
> mitest[cbind(c(1,2,3),c(2,3,2))]
using row and column names?
Thanks
Agus
--
Dr. Agustin Lobo
Institut de Ciencies de la Terra "Jaume Almera" (CSIC)
LLuis Sole Sabaris s/n
08028 Barcelona
Spain
Tel. 34 934095410
Fax. 34 934110012
email: Agustin.Lobo at ija.csic.es
http://www.ija.csic.es/gt/obster
2011 Aug 24
1
as.numeric() and POSIXct format
...rigin, but cannot find
any default origin.
How can I get back the seconds from the POSIXct format? In other words, which
the inverse function of as.POSIXct()?
I've tried as.numeric and unclass() using a origin= argument, but this does not
work.
Thanks
Agus
--
Dr. Agustin Lobo
Institut de Ciencies de la Terra "Jaume Almera" (CSIC)
LLuis Sole Sabaris s/n
08028 Barcelona
Spain
Tel. 34 934095410
Fax. 34 934110012
email: Agustin.Lobo at ija.csic.es
2011 Sep 16
1
cutree() and rect.hclust(): different labelling of classes
...lass 1 according to cutree() is class 4 according to rect.hclust().
Would it be possible that future versions provide the same labeling?
rect.hclust() is useful to display the classes over the dendrogram but
the output from cutree() is often more handy.
Thanks
Agus
--
Dr. Agustin Lobo
Institut de Ciencies de la Terra "Jaume Almera" (CSIC)
Lluis Sole Sabaris S/N
08028 Barcelona
Spain
Tel. +34 934095410
Fax. +34 934110012
email: Agustin.Lobo at ictja.csic.es
2013 Feb 28
1
query labels in iplot() (or other interactive scatterplot)
...point. Is it possible to check a text label for that point
as well? (i.e., the same info that would get printed on the graphic
using text(x,y, labels=v)
or with identify(x,y,labels), but I do not want to get the labels
permanently plotted on the graphic)
Thanks
--
--
Dr. Agustin Lobo
Institut de Ciencies de la Terra "Jaume Almera" (CSIC)
Lluis Sole Sabaris s/n
08028 Barcelona
Spain
Tel. 34 934095410
Fax. 34 934110012
e-mail Agustin.Lobo at ictja.csic.es
https://sites.google.com/site/aloboaleu/
2008 Jul 28
1
Converting from char to POSIX:
...08-06-09 18:25:46"
Where does the length 9 come from? How is it that I can get the 1065th
element of delme3 if the length is just 9? How can I get a vector of
POSIX elements with the same length as delme2 so that I can put it in a
data.frame?
Thanks!
Agus
--
Dr. Agustin Lobo
Institut de Ciencies de la Terra "Jaume Almera" (CSIC)
LLuis Sole Sabaris s/n
08028 Barcelona
Spain
Tel. 34 934095410
Fax. 34 934110012
email: Agustin.Lobo at ija.csic.es
http://www.ija.csic.es/gt/obster
2008 May 21
2
Proportional axes
...example, if
X ranges from 0 to 10 and Y ranges from 10 to 30, I want
Y axis to be twice as long as X axis. I know I can just
put xlim and ylim from 0 to 30, i.e.,
plot(runif(10,0,10),runif(10,10,30),xlim=c(0,30),ylim=c(0,30))
but this is a waste of space.
Thanks
--
Dr. Agustin Lobo
Institut de Ciencies de la Terra "Jaume Almera" (CSIC)
LLuis Sole Sabaris s/n
08028 Barcelona
Spain
Tel. 34 934095410
Fax. 34 934110012
email: Agustin.Lobo at ija.csic.es
http://www.ija.csic.es/gt/obster
2009 Mar 21
0
Solved: [Fwd: Matching failure in merge()]
...help with this issue would be greatly appreciated, I'm really
astonished. I think it might involve an encoding problem
with the non-ascii characters, but don't get to see it.
I'm using R 2.8.1 on ubuntu 8.04 (in english; And R is in English too)
Agus
--
Dr. Agustin Lobo
Institut de Ciencies de la Terra "Jaume Almera" (CSIC)
LLuis Sole Sabaris s/n
08028 Barcelona
Spain
Tel. 34 934095410
Fax. 34 934110012
email: Agustin.Lobo at ija.csic.es
http://www.ija.csic.es/gt/obster
--
Dr. Agustin Lobo
Institut de Ciencies de la Terra "Jaume Almera" (CSIC)
LLuis Sole Sabar...
2012 May 28
2
zoo: variable gets modified at making zoo object
...0 0.069: 6
Max. :2007-12-31 23:30:00 (Other): 6363
NA's :11124
and I get an error at plotting:
> plot(alyL32007z$NEE_st)
Error in plot.window(...) : invalid 'ylim' value
Any help appreciated,
Thanks
Agus
--
Dr. Agustin Lobo
Institut de Ciencies de la Terra "Jaume Almera" (CSIC)
Lluis Sole Sabaris s/n
08028 Barcelona
Spain
Tel. 34 934095410
Fax. 34 934110012
e-mail Agustin.Lobo at ictja.csic.es
https://sites.google.com/site/aloboaleu/
2007 Oct 26
2
cut.dendrogram and cutree
...`--leaf "Branch 4" (h= 54.7 midpoint = 7.65, x.member = 20 )
correspond to the classes 1, 2, 3... in dendclass, where
dendclas <- cutree(hc,h=70)
?
If they do not, how can I get a vector with the original individuals
for each branch?
Thanks
Agus
--
Dr. Agustin Lobo
Institut de Ciencies de la Terra "Jaume Almera" (CSIC)
LLuis Sole Sabaris s/n
08028 Barcelona
Spain
Tel. 34 934095410
Fax. 34 934110012
email: Agustin.Lobo at ija.csic.es
http://www.ija.csic.es/gt/obster
2012 Jun 08
3
day of the year for chron objects
...gt; a
[1] 100506
> years(a)
[1] 2010
Levels: 2010
but instead have to cast to Date to apply julian:
> julian(a)
Error in names(d) : 'd' is missing
> julian(as.Date(a))
[1] 14735
attr(,"origin")
[1] "1970-01-01"
Thanks
Agus
--
--
Dr. Agustin Lobo
Institut de Ciencies de la Terra "Jaume Almera" (CSIC)
Lluis Sole Sabaris s/n
08028 Barcelona
Spain
Tel. 34 934095410
Fax. 34 934110012
e-mail Agustin.Lobo at ictja.csic.es
https://sites.google.com/site/aloboaleu/
2008 Jun 24
2
subscripting in data frames with NA
...o3)
0 1 2
42 44 66
and
> levels(b2$p_desc_no3)[levels(b2$position_geo)=="3"] <- NA
which does not result into error but leaves b2$p_desc_no3 unchanged:
> table(b2$p_desc_no3)
0 1 2
42 44 66
what am i doing wrong?
Thanks
Agus
--
Dr. Agustin Lobo
Institut de Ciencies de la Terra "Jaume Almera" (CSIC)
LLuis Sole Sabaris s/n
08028 Barcelona
Spain
Tel. 34 934095410
Fax. 34 934110012
email: Agustin.Lobo at ija.csic.es
http://www.ija.csic.es/gt/obster
2009 May 12
2
ubuntu problem with 'r-cran-robustbase' [FWD Agustin Lobo]
.../i486-linux-gnu/4.2 -lgfortran -lm -L/usr/lib/R/lib -lR
/usr/bin/ld: cannot find -lRlapack
collect2: ld returned 1 exit status
Despite the fact that I do have Rlapack:
~$ R CMD config LAPACK_LIBS
-L/usr/lib/R/lib -lRlapack
Am I doing something wrong?
Thanks
Agus
--
Dr. Agustin Lobo
Institut de Ciencies de la Terra "Jaume Almera" (CSIC)
LLuis Sole Sabaris s/n
08028 Barcelona
Spain
Tel. 34 934095410
Fax. 34 934110012
email: Agustin.Lobo at ija.csic.es
http://www.ija.csic.es/gt/obster
______________________________________________
R-help at r-project.org mailing list
https://stat.ethz.c...
2009 Mar 08
2
prcomp(X,center=F) ??
...I do interpret the sentence
as indicating that the calculation should always be done using a
centered data matrix.
Finally, all the examples in the help page use centering (or scaling,
which implies centering)
Therefore, why the option center=F ?
Agus
Agus
--
Dr. Agustin Lobo
Institut de Ciencies de la Terra "Jaume Almera" (CSIC)
LLuis Sole Sabaris s/n
08028 Barcelona
Spain
Tel. 34 934095410
Fax. 34 934110012
email: Agustin.Lobo at ija.csic.es
http://www.ija.csic.es/gt/obster
2009 May 12
0
[Fwd: Re: Problem at instaling robustbase (Rlapack) (2)]
...ne thing I forgot:
>
> apt-get install r-cran-robustbase
>
> get's the robustbase R package as a Debian/Ubuntu package,
> automagically, with all necessary library-dependencies !!
>
> I hope this solves the problem!
> Martin
>
--
Dr. Agustin Lobo
Institut de Ciencies de la Terra "Jaume Almera" (CSIC)
LLuis Sole Sabaris s/n
08028 Barcelona
Spain
Tel. 34 934095410
Fax. 34 934110012
email: Agustin.Lobo at ija.csic.es
http://www.ija.csic.es/gt/obster