Displaying 20 results from an estimated 51 matches for "burgo".
Did you mean:
burg
2013 Jul 15
3
ayuda con stringr
...o torpe manejando cadenas de texto, así que os pido ayuda.
Tengo un vector de texto de este tipo
datos$tipo
[1] m.1.p.Álava m.1.p.Albacete
[3] m.2.p.Alicante m.1.p.Almería
[5] m.3.p.Asturias m.1.p.Ávila
[7] m.1.p.Badajoz m.1.p.Baleares (Illes)
[9] m.1.p.Barcelona m.1.p.Burgos
[11] m.1.p.Cáceres m.1.p.Cádiz
Y quiero extraer el nombre de la provincia. Estoy intentándolo con
stringr y usando expresiones regulares, pero no doy con la tecla. Seguro
que es fácil
He probado algo como
require(stringr)
str_extract(datos$tipo,"[p][A-Za-z]+")
Pero...
2000 Jun 26
1
postscript error
...[1] "black"
$onefile
[1] TRUE
$print.it
[1] FALSE
$append
[1] FALSE
Thanks in advance,
==============================================================
Alvaro Colina |-|o||o||o||o||o||o||o||o||o|-
Area de Quimica Analitica | Pza. Misael Banuelos s/n
Facultad de Ciencias | 09001. Burgos. Spain
Universidad de Burgos | Phone: 34-947-258817
e-mail: acosa at ubu.es | FAX: 34-947-258831
==============================================================
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac....
2006 Oct 20
2
Recursive decreasing sequences
...way would be to do this
x <- integer(0)
for (i in 5) x <- c(x, i:5)
But I need to create really long vectors (where the ending value is in
the order of 6500) , and using loops is way to slow. I'm looking for a
vectorized method. Any help will be welcomed.
Julian
Julian M. Burgos
Fisheries Acoustics Research Lab
School of Aquatic and Fishery Science
University of Washington
1122 NE Boat Street
Seattle, WA 98105
Phone: 206-221-6864
2005 Nov 09
2
Variograms and large distances
...rface?
b) If I first calculate the distances among points using the Haversine
formula, it is possible to calculate the variogram with a matrix of
distances among points (where n is the number of observations) and a
vector of observation values?
Any help would be appreciated.
Julian
Julian M. Burgos
Fisheries Acoustics Research Lab
School of Aquatic and Fishery Science
University of Washington
1122 NE Boat Street
Seattle, WA 98105
Phone: 206-221-6864
2007 Oct 08
2
variance explained by each term in a GAM
...Full model
m2=gam(y~s(x2))
m3=gam(y~s(x1))
ddev1=deviance(m1)-deviance(m2)
ddev2=deviance(m1)-deviance(m3)
Here, ddev1 would measure the relative proportion of the variability in y explained by x1, and ddev2 would do the same for x2. Does this sound like an appropriate approach?
Julian
Julian Burgos
FAR lab
University of Washington
2007 Jun 21
1
mgcv: lowest estimated degrees of freedom
...rees of freedom (EDF) for the term are close to their lower
limit.
What would be the minimum number of EDF's for
a) Univariate thin plate regression splines(TPRS) with shrinkage, i.e.
s(...,bs="ts")
b) Bivariate tensor products of TPRS with shrinkage?
Thanks for any help,
Julian Burgos
--
Julian M. Burgos
Fisheries Acoustics Research Lab
School of Aquatic and Fishery Science
University of Washington
1122 NE Boat Street
Seattle, WA 98105
Phone: 206-221-6864
2013 Jul 15
0
ayuda con stringr
...palabra.
> cad.ena <- c(
+ 'm.1.p.Álava'
+ ,'m.1.p.Albacete'
+ ,'m.2.p.Alicante'
+ ,'m.1.p.Almería'
+ ,'m.3.p.Asturias'
+ ,'m.1.p.Ávila'
+ ,'m.1.p.Badajoz'
+ ,'m.1.p.Baleares (Illes)'
+ ,'m.1.p.Barcelona'
+ ,'m.1.p.Burgos'
+ ,'m.1.p.Cáceres'
+ ,'m.1.p.Cádiz'
+ )
>
> library(stringr)
> prov.incia <- word(cad.ena, 4, sep=fixed("."))
> prov.incia
[1] "Álava" "Albacete" "Alicante"
[4] "Almería" "Astur...
2010 May 20
1
Strange behaviour when using diff with POSIXt and POSIXlt objects
...d %H %M")
>
> diff(c(time3,time4))
Time difference of NA secs
...which is not what I´m looking for. The difference should also be 10
minutes.
I burned a few neurons (and searched the documentation) and I cannot figure
why this happens. Any ideas?
All the best,
Julian
Julian Mariano Burgos
Hafrannsóknastofnunin/Marine Research Institute
Skúlagata 4, 121 Reykjavík, Iceland
Sími/Telephone : +354-5752037
Bréfsími/Telefax: +354-5752001
Netfang/Email: julian@hafro.is, jmburgos@uw.edu
[[alternative HTML version deleted]]
2007 Aug 14
1
weights in GAMs (package mgcv)
...ious to me how to do this, given that the covariates have different
units and ranges of values.
Is there any way to provide weights to the covariates directly (for
example providing a matrix of n x m values, where n=number of covariates
and m=number of observations)?
Thanks,
Julian
Julian M. Burgos
Fisheries Acoustics Research Lab
School of Aquatic and Fishery Science
University of Washington
1122 NE Boat Street
Seattle, WA 98105
Phone: 206-221-6864
2007 Jul 20
3
SOS
Dear all, I am a new user of R. I would like to know how to get fund's returns in percentage (%). For example, I use: R <- ts(read.xls("FundData"), frequency = 12, start = c(1996, 1)) Whith this program, the returns are like 0.0152699. But, I would like to have 1.52%. Please advise me about the function. Thanks! Fabrice
1999 Nov 30
1
Character2function
...a string
and I haven't found anyone.
Is there any function to do that?
Thank you very much
--
==============================================================
Alvaro Colina |-|o||o||o||o||o||o||o||o||o|-
Area de Quimica Analitica | Pza. Misael Banuelos s/n
Facultad de Ciencias | 09001. Burgos. Spain
Universidad de Burgos | Phone: 34-947-258817
e-mail: acosa at ubu.es | FAX: 34-947-258831
==============================================================
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac....
2001 Apr 28
1
Is there a package for wavelets?
...d
transforms.
You can find it in the package sources in http://cran.r-project.org.
Hope this helps.
--
==============================================================
Alvaro Colina |-|o||o||o||o||o||o||o||o||o|-
Area de Quimica Analitica | Pza. Misael Banuelos s/n
Facultad de Ciencias | 09001. Burgos. Spain
Universidad de Burgos | Phone: 34-947-258817
e-mail: acosa at ubu.es | FAX: 34-947-258831
==============================================================
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.a...
2006 Jun 23
1
Running executable files from R
...equires, then run it, and finally use R
again to analyze the output files. Because I have to do this many times
I'd like to have the R code call the executable file after the input
files are ready. Is there an easy way to have R run an .exe file?
Thanks for any help,
Julian
--
Julian M. Burgos
Fisheries Acoustics Research Lab
School of Aquatic and Fishery Science
University of Washington
1122 NE Boat Street
Seattle, WA 98105
Phone: 206-221-6864
2007 Aug 30
4
How to measure mode (central tendancy)
What is the name of the function to give me the mode (central tendancy) of a
numeric variable that can be negative?
[[alternative HTML version deleted]]
2009 Sep 14
1
ggplot2 legend text....a basic question
...the variable)
and the polygon is labeled as "0.5" (the alpha value used). My
questions are:
a) How to change the text in the legend (for example, "number" instead
of "n").
b) How to avoid having a legend for the polygon?
Many thanks,
Julian
--
Julian Mariano Burgos
Hafranns?knastofnunin/Marine Research Institute
Sk?lagata 4, 121 Reykjav?k, Iceland
S?mi/Telephone : +354-5752037
Br?fs?mi/Telefax: +354-5752001
Netfang/Email: julian at hafro.is, jmburgos at u.washington.edu
2010 Feb 15
1
GAM for non-integer proportions
...is close to 0 and 1, and higher at
intermediate values.
It seems that the best way to go is to model this using the "quasi" family
with a logit link and a mu(1-mu) variance. Or I am missing something
obvious? I will be thankful for any input.
All the best,
Julian
--
Julian Mariano Burgos
Hafrannsóknastofnunin/Marine Research Institute
Skúlagata 4, 121 Reykjavík, Iceland
Sími/Telephone : +354-5752037
Bréfsími/Telefax: +354-5752001
Netfang/Email: julian@hafro.is, jmburgos@uw.edu
[[alternative HTML version deleted]]
2007 Nov 14
2
About print a label in plot
Dear list,
Hello! I have a question about how to print a label in the plot.
I am using the following code:
<pdf("mel4_chr3_11cancer_cghFLasso.pdf", height=6,
width=5);plot(Disease.FL, index=i, type="Single",main="Plot of
Labels");dev.off();
But "Plot of Labels" has not been printed. Any suggestions?
Thanks a lot!
Allen
2002 Jun 12
3
package lattice
Hi!
I am using R1.5.0. When using functions form lattice the background is
dark grey. I have tried to change it using par() but it does not work. By
the way, if I use par and the standard functions like hist() there is no
problem with the par function. Any hints?
Thank in advance,
Ignacio Perez
Escuela Colombiana de Ingenieria
2011 Mar 11
0
variance explained by each term in a GAM
...> b0 <- gam(y~1)
> ## calculate proportions deviance explained...
> (deviance(b1)-deviance(b))/deviance(b0) ## prop explained by s(x2)
> (deviance(b2)-deviance(b))/deviance(b0) ## prop explained by s(x1)
>
>
>
>
>
> On Monday 08 October 2007 20:19, Julian M Burgos wrote:
>> Hello fellow R's,
>>
>> I do apologize if this is a basic question. I'm doing some GAMs using the
>> mgcv package, and I am wondering what is the most appropriate way to
>> determine how much of the variability in the dependent variable is
>...
2001 Mar 07
5
Remove
Hello,
I would like to remove some files which have the extension .test for
example (data1.test, data2.test ....).
Is there another solution to remove them instead of doing it one by one
?
Thanks for your help,
St?phanie Langevin
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send