[R-es] Error Minfactor

2021-10-10 Thread william felipe campos perez
Buenas tardes, presento inconvenientes ajustar el modelo de crecimiento de Gompertz, le doy unos valores iniciales y me arroja el siguiente error: Warning message: In nls(IPA ~ (b0 * MC * log(b1/MC)), data = datos, start = list(b0 = 0.06, : step factor 0.000488281 reduced below 'minFactor' of

Re: [R] Legend position in ggplot

2021-06-17 Thread Felipe Carrillo via R-help
Like this? theme(legend.position= 'top' On Thursday, June 17, 2021, 10:52:04 AM PDT, peri He wrote: Dear Friends, I would like to see my legend outside of a ggplot (at the top). This code is showing the legend inside of a plot: theme(legend.position=c(0.15,0.97)) But when I changed

Re: [R] Arranging ggplot2 objects with ggplotGrob()

2020-07-24 Thread Felipe Carrillo via R-help
What about cowplot? https://cran.r-project.org/web/packages/cowplot/vignettes/introduction.html On Friday, July 24, 2020, 11:51:17 AM PDT, H wrote: On 07/24/2020 02:03 PM, Jeff Newmiller wrote: > The set of people interested in helping when you supply a minimal > reproducible example

Re: [R] [External Email] Re: [External] Re: access for free more than 500 essential Springer Nature textbooks

2020-05-22 Thread Felipe Carrillo via R-help
They can be downladed. I saved two of them to my desktop as pdf earlier. Sent from Yahoo Mail on Android On Fri, May 22, 2020 at 10:35 PM, Mark Leeds wrote: Hi: I'm not sure about the other link that was sent because I didn't try it  but, in the case of the link that I sent, you can

Re: [R] Tinn-R project: new version (6.01.01.03) released

2019-12-23 Thread Felipe Carrillo via R-help
Josè Sent from Yahoo Mail on Android On Mon, Dec 23, 2019 at 12:15 PM, Abby Spurdle wrote: Hi Jose,Same here, I use tinn-R on a daily basis..thanks for the update and have a merry christmas That's awesome. I used Tinn-R, back in 2006, when I starting learning nontrivial R

Re: [R] Preserving numeric columns

2019-10-19 Thread Felipe Carrillo via R-help
to indicate what that solution was so people searching the archives can learn from your question. Was it to set the kable option? options(knitr.kable.NA = '-')  On October 19, 2019 12:50:20 PM PDT, Felipe Carrillo wrote: >You are correct. I didnt explain well and failed to ment

Re: [R] Preserving numeric columns

2019-10-19 Thread Felipe Carrillo via R-help
everything to character format intentionally then. On October 19, 2019 12:44:26 AM PDT, Felipe Carrillo via R-help wrote: >Consider the following dataset:  I need to replace NAs with "-" but I >lose my numeric formatting  fall.estimate <- structure(list(`Salmon` = >c("salmo

[R] Preserving numeric columns

2019-10-19 Thread Felipe Carrillo via R-help
Consider the following dataset:  I need to replace NAs with "-" but I lose my numeric formatting  fall.estimate <- structure(list(`Salmon` = c("salmon River", "Ant Creek", "big Creek", "oso River", "linda Creek"), `baseline` = c(80874.384012, 361.1997, 5012.8311, 638.6912, 402.1044),

[R] time series x axis labels

2017-06-07 Thread Felipe Carrillo via R-help
I hope this is the appropriate list for this type of question Consider the dataset below:I have a column DOC with values from 3 to 101and those are the values that I want to show on my x axis, howeverI only get 3, 3.1, 3.2 and so on. I tried to change those values with xlim(3, 101) but I getthe

[R] Time series axis breaks

2017-06-07 Thread Felipe Carrillo via R-help
I hope this is the appropriate list for this type of question Consider the dataset below:I have a column DOC with values from 3 to 101and those are the values that I want to show on my x axis, howeverI only get 3, 3.1, 3.2 and so on. I tried to change those values with xlim(3, 101) but I getthe

Re: [R] gridExtra-arrangeGrob

2017-01-09 Thread Felipe Carrillo via R-help
oading grid and it no longer does.  > > > > >    On Monday, January 9, 2017 1:08 AM, Felipe Carrillo via R-help ><r-help@r-project.org> wrote: > > >  Hi;The code below used to work on my older version of gridExtra but doesn't >work with the new version. Could som

[R] gridExtra-arrangeGrob

2017-01-08 Thread Felipe Carrillo via R-help
 Hi;The code below used to work on my older version of gridExtra but doesn't work with the new version. Could someonegive me a hint on how to translate this code to the new version of gridExtra code? Thank you beforehand. p1 <- ggplot(iris,aes(Sepal.Length,  Petal.Length, colour=Species)) +

[R] Help

2015-02-09 Thread Andrés Felipe Flórez Rivera
Hi everyone, I am trying to automate (on a Win7 system) an R script to read data from a DB2 data base and write it to file, for processing by another system. My code runs in the R gui perfectly. So I wrote a batch file to call this .r file and output results to script.out as shown below. When I

[R-es] geoR

2014-10-31 Thread Felipe Gonzalez
Buenas tardes, soy nuevo en el uso de R y me gustaria indagar en el campo de aplicación de este a la geoestadistica. Alguien se encuentra trabajando en esta linea? Gracias. Un saludo. --

[R] Bug in myintegrate in Elliptic package

2014-10-09 Thread Luis Felipe Parra
,0,100,x=x,psi_measure=psi_measure))) + } CDF_Merton(x=0.1,psi_measure=psi) [1] 59.03344 where you can see that both codes are exactly the same except for the dummy variable used to integrate, does any body know what might be going on here? Thanks Felipe Parra -- Este mensaje de correo

[R] ddply question

2014-08-30 Thread Felipe Carrillo
I apologize about cross posting but my question keeps bouncing back from the list How come pct doesn't work in this ddply call? I am trying to get a percent of 'TotalCount' by SampleDate and Age library(plyr) b - structure(list(SampleDate = structure(c(1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L),

[R] t.test of matching columns from two datasets using plyr

2014-08-12 Thread Felipe Carrillo
Hi, I Have two datasets df1 and df2 with 3 matching columns. I need to do a t.test of sp1, sp2 and sp3� and var1, var2 and var3 where the year, month and location match. I can do it with sapply or mapply but I want the end result to be a data.frame. I prefer to do it with plyr or dplyr as I

Re: [R] predicted values

2014-02-03 Thread Felipe Carrillo
jwiley.ps...@gmail.com wrote: Dear Felipe, That is a normal behavior --- The prediction for that simple model decreases over time, and ends up negative.  If the outcome cannot take on negative values, treating it as a continuous gaussian may not be optimal --- perhaps some transformation, like

[R] predicted values

2014-02-01 Thread Felipe Carrillo
Consider this dummy dataset. My real dataset with over 1000 records has scatter large and small values. I want to predict for values with NA but I get negative predictions. Is this a normal behaviour or I am missing a gam argument to force the model to predict positive values. library(mgcv) test -

[R] Problem with convergence in optim

2013-05-15 Thread Luis Felipe Parra
-0.07592360.5 $e2 [1] 74.84273 $conv [1] 10 $v [1] 74.84273 My intuition tells me the correct solution is no convergence. Does anybody know why this might be happening. Thank you Felipe Parra [[alternative HTML version deleted]] __ R

Re: [R] Problem with convergence in optim

2013-05-15 Thread Luis Felipe Parra
parameters) but your setting of reltol is too small. Try using the default. It's sqrt(.Machine$double.eps), about 1e-8, you are using 1e-16. Hope this helps, Rui Barradas Em 15-05-2013 17:02, Luis Felipe Parra escreveu: Hello to all, I have been using an optim with the following call

Re: [R] print multiple plots to jpeg, one lattice and one ggplot2

2013-05-03 Thread Felipe Carrillo
Something like this? library(gridExtra) grid.arrange(one,two) Felipe D. Carrillo Supervisory Fishery Biologist Department of the Interior US Fish Wildlife Service California, USA http://www.fws.gov/redbluff/rbdd_jsmp.aspx From: Christophe Bouffioux christophe

Re: [R] Tobit Fixed Effects

2013-03-09 Thread Felipe Nunes
+ margin + lula.perc.vot2 + reelec + voters + gov.fac + year.fac, left=0, right=Inf, data=dNI.p, method=BHHH) Error in solve.default(crossprod(X.m)) : system is computationally singular: reciprocal condition number = 2.84374e-18 Thanks *Felipe Nunes* CAPES/Fulbright Fellow PhD Candidate - UCLA

Re: [R] Summary of data for each year

2013-02-01 Thread Felipe Carrillo
 Here is another option using plyr:   library(plyr) creek - read.csv(creek.csv)  library(ggplot2)  creek[1:10,]  colnames(creek) - c(date,flow)  creek$date - as.Date(creek$date, %m/%d/%Y)   ddply(creek,year,summarise,MED=median(flow),MEAN=mean(flow),SD=sd(flow),MIN=min(flow)) Felipe D. Carrillo

Re: [R] readJPEG function cannot open jpeg files

2013-01-14 Thread Felipe Carrillo
I have used the biOps package to read pictures and it works fine. For example you can plot a pic just by: library(biOps) x - readJpeg(mypic.jpg)  ##mypic should be in you working directory plot(x) Notice that is only one uppercase letter on readJpeg and mypic is jpg not jpeg Felipe D. Carrillo

Re: [R] save to file

2012-12-17 Thread Felipe Carrillo
I actually got it to do what I want running my R routine through a batch file. It saves to a file everything on the console. Thanks for your suggestions. Felipe D. Carrillo Supervisory Fishery Biologist Department of the Interior US Fish Wildlife Service California, USA http://www.fws.gov

[R] save to file

2012-12-16 Thread Felipe Carrillo
 Hi, What's the equivalent of Save to File from the R console File menu on an R routine? Just trying to capture the whole R console into a text file when my code fails. Felipe D. Carrillo Supervisory Fishery Biologist Department of the Interior US Fish Wildlife Service California, USA http

Re: [R] save to file

2012-12-16 Thread Felipe Carrillo
I did check that link but it doesn't do what I want..thanks for trying though. Felipe D. Carrillo Supervisory Fishery Biologist Department of the Interior US Fish Wildlife Service California, USA http://www.fws.gov/redbluff/rbdd_jsmp.aspx From: arun smartpink...@yahoo.com To: Felipe Carrillo

Re: [R] save to file

2012-12-16 Thread Felipe Carrillo
ocurred. I've seen text files with every single text from the R console but can't find the way to capture that. Felipe D. Carrillo Supervisory Fishery Biologist Department of the Interior US Fish Wildlife Service California, USA http://www.fws.gov/redbluff/rbdd_jsmp.aspx From: arun smartpink

Re: [R] Count cell Count by her frequency

2012-12-10 Thread Felipe Carrillo
And another way: library(plyr) ddply(dta,A,summarise,B=length(B)) Felipe D. Carrillo Supervisory Fishery Biologist Department of the Interior US Fish Wildlife Service California, USA http://www.fws.gov/redbluff/rbdd_jsmp.aspx From: David L Carlson dcarl...@tamu.edu To: 'Mat' matthias.we

[R] simple subset question

2012-12-02 Thread Felipe Carrillo
)  xxx - subset(xx,Total==max(Total));xxx   xxx Felipe D. Carrillo Supervisory Fishery Biologist Department of the Interior US Fish Wildlife Service California, USA http://www.fws.gov/redbluff/rbdd_jsmp.aspx [[alternative HTML version deleted

Re: [R] simple subset question

2012-12-02 Thread Felipe Carrillo
] IDWeek Total  Fry    Smolt  FryEq  Year  0 rows (or 0-length row.names)   I will start a fresh session to see if that helps...Thank you all Felipe D. Carrillo Supervisory Fishery Biologist Department of the Interior US Fish Wildlife Service California, USA http://www.fws.gov/redbluff

Re: [R] simple subset question

2012-12-02 Thread Felipe Carrillo
Works with the small dataset (2 years) but I get the error message with the whole dataset (12 years of data). I am going to have to check what's wrong with it...Thanks Felipe D. Carrillo Supervisory Fishery Biologist Department of the Interior US Fish Wildlife Service California, USA http

Re: [R] simple subset question

2012-12-02 Thread Felipe Carrillo
returns an empty row Felipe D. Carrillo Supervisory Fishery Biologist Department of the Interior US Fish Wildlife Service California, USA http://www.fws.gov/redbluff/rbdd_jsmp.aspx From: William Dunlap wdun...@tibco.com To: Felipe Carrillo mazatlanmex...@yahoo.com; arun smartpink...@yahoo.com

Re: [R] simple subset question

2012-12-02 Thread Felipe Carrillo
to subset only one year out of my whole dataset, it returns empty rows it regardless of what year I am subsetting. I am doing  a few tests to see what's going on Felipe D. Carrillo Supervisory Fishery Biologist Department of the Interior US Fish Wildlife Service California, USA http://www.fws.gov

Re: [R] simple subset question

2012-12-02 Thread Felipe Carrillo
(title=Zooming in to weeks 45 to 52)       Felipe D. Carrillo Supervisory Fishery Biologist Department of the Interior US Fish Wildlife Service California, USA http://www.fws.gov/redbluff/rbdd_jsmp.aspx From: arun smartpink...@yahoo.com To: Felipe Carrillo

Re: [R] simple subset question

2012-12-02 Thread Felipe Carrillo
I finally see what you and David W mean...I was under the assumption that by subsetting Year==2012 it would also extract the max for that year.I guess I have to review 'subset' again :) Thank you much Felipe D. Carrillo Supervisory Fishery Biologist Department of the Interior US Fish

Re: [R] arrange data

2012-11-12 Thread Felipe Carrillo
Since you specifically want either nov or dec you actually don't need '=' use instead '= ='   Felipe D. Carrillo Supervisory Fishery Biologist Department of the Interior US Fish Wildlife Service California, USA http://www.fws.gov/redbluff/rbdd_jsmp.aspx From: Roslina Zakaria zrosl...@yahoo.com

Re: [R] arrange data

2012-11-11 Thread Felipe Carrillo
Something like this...untested I think cbind recicles the last value(31) since nov and dec are of different length nov - kuantan.dt[(kuantan.dt$Bulan =11);nov dec - kuantan.dt[(kuantan.dt$Bulan =12);dec both - cbind(nov,dec) # get the first 30 records both - head(both,30);both Felipe D

Re: [R] mean of a value of the last 2 hours

2012-10-25 Thread Felipe Carrillo
=GMT) myframestime myframe2 - cbind (myframe,myframestime) myframe2 ddply(myframe2,.(ID),summarise,Last2=mean(tail(Hunger,2))) Felipe D. Carrillo Supervisory Fishery Biologist Department of the Interior US Fish Wildlife Service California, USA http://www.fws.gov/redbluff/rbdd_jsmp.aspx From

[R] splines package

2012-09-11 Thread Luis Felipe Parra
Hello all, I have been working with b-splines and noted that the splines package is not available in CRAN. Does any body know what happened with it? Or, is there any package that replaces it? Thank you Felipe Parra [[alternative HTML version deleted

[R] nls question

2012-07-12 Thread Felipe Carrillo
='blue')) Felipe D. Carrillo Supervisory Fishery Biologist Department of the Interior US Fish Wildlife Service California, USA http://www.fws.gov/redbluff/rbdd_jsmp.aspx [[alternative HTML version deleted]] __ R-help@r-project.org mailing list

Re: [R] nls question

2012-07-12 Thread Felipe Carrillo
at the model coefficients:   alpha  beta gamma -49.108008320  52.394172340   0.005269907 If I change the alpha and beta values inside start..I still get the error... Felipe D. Carrillo Supervisory Fishery Biologist Department of the Interior US Fish Wildlife Service California, USA

Re: [R] nls question

2012-07-12 Thread Felipe Carrillo
, resid) :   'qr' and 'y' must have the same number of rows Felipe D. Carrillo Supervisory Fishery Biologist Department of the Interior US Fish Wildlife Service California, USA http://www.fws.gov/redbluff/rbdd_jsmp.aspx From: Gabor Grothendieck ggrothendi

Re: [R] nls question

2012-07-12 Thread Felipe Carrillo
Thank you all for your help. Felipe D. Carrillo Supervisory Fishery Biologist Department of the Interior US Fish Wildlife Service California, USA http://www.fws.gov/redbluff/rbdd_jsmp.aspx From: Gabor Grothendieck ggrothendi...@gmail.com To: Felipe Carrillo

Re: [R] Fisher's LSD multiple comparisons in a two-way ANOVA

2012-04-05 Thread Mendiburu, Felipe (CIP)
=yellow) bar.group(comp2,ylim=c(0,100),density=4,col=blue) bar.group(comp3,ylim=c(0,100), col=brown,las=2) bar.err(comp3,ylim=c(0,100),col=0,las=2) Regards, Felipe de Mendiburu Statistician -Original Message- From: r-help-boun...@r-project.org on behalf of Richard M. Heiberger Sent: Wed 4

Re: [R] Tobit Fixed Effects

2012-03-22 Thread Felipe Nunes
number = 4.41531e-17 Thanks, *Felipe Nunes* CAPES/Fulbright Fellow PhD Student Political Science - UCLA Web: felipenunes.bol.ucla.edu On Fri, Mar 2, 2012 at 10:29 AM, Felipe Nunes felipnu...@gmail.com wrote: Hi Arne, thanks for the improvements in the package. I'm using it right now and it's

Re: [R] Tobit Fixed Effects

2012-03-02 Thread Felipe Nunes
Hi Arne, thanks for the improvements in the package. I'm using it right now and it's working very well. Best, *Felipe Nunes* CAPES/Fulbright Fellow PhD Student Political Science - UCLA Web: felipenunes.bol.ucla.edu On Fri, Mar 2, 2012 at 2:13 AM, Arne Henningsen arne.henning

[R] Select rows based on multiple comparisons

2012-01-16 Thread Felipe Nunes
21 4 B 33 Thanks, *Felipe Nunes* CAPES/Fulbright Fellow PhD Student Political Science - UCLA Web: felipenunes.bol.ucla.edu [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https

Re: [R] Select rows based on multiple comparisons

2012-01-16 Thread Felipe Nunes
Thanks, everybody! *Felipe Nunes* CAPES/Fulbright Fellow PhD Student Political Science - UCLA Web: felipenunes.bol.ucla.edu On Mon, Jan 16, 2012 at 2:33 PM, Marc Schwartz marc_schwa...@me.com wrote: On Jan 16, 2012, at 4:13 PM, Felipe Nunes wrote: Dear all, I have a data set in which

Re: [R] ggplot- using geom_point and geom_line at the same time

2012-01-16 Thread Felipe Carrillo
- g + scale_x_continuous(name='Number of inputs') g - g + scale_y_continuous('Conversion time (sec.)') Felipe D. Carrillo Supervisory Fishery Biologist Department of the Interior US Fish Wildlife Service California, USA http://www.fws.gov/redbluff/rbdd_jsmp.aspx From: Mary Kindall mary.kind

[R] Averaging over data sets

2012-01-12 Thread Felipe Nunes
), and more than 2 observations. I do not know how to average them out. Any help? Below I provide a small example: Suppose Amelia provided two datasets: d1 - data.frame(subject = c(Felipe, John), eat1 = 1:2, eat3 = 5:6, trt = c(t1, t2)) d2 - data.frame(subject = c(Felipe, John), eat1 = 3:4, eat3 = 6

[R] Bayesian Neural Networks

2011-12-09 Thread Felipe Bhering
I wanted to do a modelling like this, many variables, will simplificate for understanding y1 in [a1,b1] = (weight 1) = number 1.1 y2 in [a1,b1] = (weight 1) = number 1.2 y3 in [a1,b1] = (weight 1) = number 1.3 y4 in [a1,b1] = (weight 1) = number 1.4 y5 in [a1,b1] = (weight 2) = number 2.1 y6 in

Re: [R] Group several variables and apply a function to the group

2011-12-04 Thread Felipe Carrillo
 Like this? library(plyr) ddply(df,.(comn,mi),summarise,stDEV=sd(x)) Felipe D. Carrillo Supervisory Fishery Biologist Department of the Interior US Fish Wildlife Service California, USA http://www.fws.gov/redbluff/rbdd_jsmp.aspx From: Aurélien PHILIPPOT aurelien.philip...@gmail.com To: R-help

Re: [R] factor level issue after subsetting

2011-11-01 Thread Felipe Carrillo
113.1 16    60 112.3),header=T) dat  plot(dat$treat,dat$yield)  dat.sub - subset(dat,treat!=cont);dat.sub  dat.sub - droplevels(dat.sub)    # drop unwanted levels plot(dat.sub$treat,dat.sub$yield) Felipe D. Carrillo Supervisory Fishery Biologist Department of the Interior US Fish Wildlife Service

Re: [R] Tobit Fixed Effects

2011-10-01 Thread Felipe Nunes
Any good news Arne? *Felipe Nunes* CAPES/Fulbright Fellow PhD Student Political Science - UCLA Web: felipenunes.bol.ucla.edu On Thu, Sep 29, 2011 at 5:10 AM, Arne Henningsen arne.henning...@googlemail.com wrote: Hi Felipe On 25 September 2011 00:16, Felipe Nunes felipnu...@gmail.com wrote

Re: [R] Tobit Fixed Effects

2011-09-24 Thread Felipe Nunes
, could you try to help me? I have been struggling with that for two months now. I hope you can help! Thanks, *Felipe Nunes* CAPES/Fulbright Fellow PhD Student Political Science - UCLA Web: felipenunes.bol.ucla.edu On Sun, Sep 18, 2011 at 9:42 AM, Felipe Nunes felipnu...@gmail.com wrote: Thanks

Re: [R] Tobit Fixed Effects

2011-09-24 Thread Felipe Nunes
of dimensions thanks! *Felipe Nunes* CAPES/Fulbright Fellow PhD Student Political Science - UCLA Web: felipenunes.bol.ucla.edu On Sat, Sep 24, 2011 at 3:38 PM, Joshua Wiley jwiley.ps...@gmail.comwrote: Can you fit a simpler model successfully? I would play around with all your RHS variables to try

Re: [R] Tobit Fixed Effects

2011-09-18 Thread Felipe Nunes
+ pib.cap + ifdm + log(populat) + mayor.vot.per + bol.fam + factor(uf.name) + factor(year), left=0, right=Inf, method=BHHH, nGHQ=15, data = pdata) Error in maxNRCompute(fn = logLikAttr, fnOrig = fn, gradOrig = grad, hessOrig = hess, : NA in the initial gradient Thanks! *Felipe Nunes* CAPES

Re: [R] Tobit Fixed Effects

2011-09-18 Thread Felipe Nunes
Thanks! *Felipe Nunes* CAPES/Fulbright Fellow PhD Student Political Science - UCLA Web: felipenunes.bol.ucla.edu On Sun, Sep 18, 2011 at 2:19 AM, Arne Henningsen arne.henning...@googlemail.com wrote: Hi Felipe On 18 September 2011 09:09, Felipe Nunes felipnu...@gmail.com wrote: Thanks

Re: [R] Tobit Fixed Effects

2011-09-17 Thread Felipe Nunes
Do you guys know how could I increase the time limit for the iterations in censReg? I'm receiving the following message whatever method I use: Newton-Raphson maximisation, 150 iterations Return code 4: Iteration limit exceeded. Log-likelihood: -67680.41 on 42 Df thanks, *Felipe Nunes* CAPES

[R] Tobit Fixed Effects

2011-09-15 Thread Felipe Nunes
, and tobit but none of them were satisfactory. Thanks, *Felipe Nunes* CAPES/Fulbright Fellow PhD Student Political Science - UCLA Web: felipenunes.bol.ucla.edu [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https

Re: [R] Tobit Fixed Effects

2011-09-15 Thread Felipe Nunes
! *Felipe Nunes* CAPES/Fulbright Fellow PhD Student Political Science - UCLA Web: felipenunes.bol.ucla.edu On Thu, Sep 15, 2011 at 12:03 AM, Joshua Wiley jwiley.ps...@gmail.comwrote: On Wed, Sep 14, 2011 at 11:56 PM, Daniel Malter dan...@umd.edu wrote: Not satisfactory in which sense

Re: [R] Tobit Fixed Effects

2011-09-15 Thread Felipe Nunes
Hi Arne, I did both ways (pooled and pdata.frame), but in none I got a result. The coefficients are estimated, but not the std. errors. I'm using BFGS method, but I didn't increase the number of iterations yet. Let me try! Best, *Felipe Nunes* CAPES/Fulbright Fellow PhD Student Political

[R] Difference in function arima estimation between 2.11.1 and R 2.12.2

2011-09-12 Thread Luis Felipe Parra
likelihood = -3316.07, aic = 6658.13 and as you can see in the results some coefficients (for example ar2 and ar8) are different in the different R versions. does anybody know what might be going on. Was there any change in the arima function between the two versions? Thank you Felipe Parra

[R] Different results with arima in R 2.12.2 and R 2.11.1

2011-09-09 Thread Luis Felipe Parra
likelihood = -3316.07, aic = 6658.13 and as you can see in the results some coefficients (for example ar2 and ar8) are different in the different R versions. does anybody know what might be going on. Was there any change in the arima function between the two versions? Thank you Felipe Parra -- Este

Re: [R] Problems installing SJava

2011-08-17 Thread Luis Felipe Parra
Uggs, as I understand rJava is for calling Java from within R and what I need is to call R within Java. Am I wrong? 2011/8/17 Uwe Ligges lig...@statistik.tu-dortmund.de Are you sure rJava is not fine for you? Uwe Ligges On 16.08.2011 17:16, Luis Felipe Parra wrote: Hello, I am trying

[R] Problems installing SJava

2011-08-16 Thread Luis Felipe Parra
computer is on Window 7 professional (32 bits) Thank you Felipe Parra [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org

[R] problems with predict in fGarch

2011-07-27 Thread Luis Felipe Parra
5.206e-01 NA NA NA beta1 1.000e-08 NA NA NA --- Signif. codes: 0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1 Log Likelihood: 297.5401normalized: 2.438853 Thank you Felipe Parra [[alternative HTML version deleted

[R] ARIMA simulations

2011-07-25 Thread Luis Felipe Parra
Hello, I have estimated an ARIMA model and I would like to make simulations from this estimated model 1,5 and 10 steps ahead. Does anybody know how to do this? Thank You Felipe Parra [[alternative HTML version deleted]] __ R-help@r

Re: [R] ggplot geom_boxplot vertical margins

2011-05-18 Thread Felipe Carrillo
Is this what you want? You can control how much space you want to see on the sides of the plot: df-data.frame(x=factor(1:100),y=rnorm(1000)) ggplot(df,aes(x=x,y=y))+geom_boxplot() + scale_x_discrete(expand=c(0,0))   Felipe D. Carrillo Supervisory Fishery Biologist Department of the Interior US

Re: [R] Summarize by two or more attributes

2011-05-17 Thread Felipe Carrillo
))   # Convert the result to a list dlply(Df,c('Type','Bin'),summarise,Summed=sum(Rate))   Felipe D. Carrillo Supervisory Fishery Biologist Department of the Interior US Fish Wildlife Service California, USA http://www.fws.gov/redbluff/rbdd_jsmp.aspx - Original Message From: LCOG1

[R] Installing a Package tar.gz in windows

2011-05-12 Thread felipe beckedorff
: compilation failed for package 'spp' * removing 'C:/Program Files/R/R-2.13.0/library/spp' Mensagens de aviso perdidas: 1: execução do comando 'C:/PROGRA~1/R/R-213~1.0/bin/x64/R CMD INSTALL -l C:/Program Files/R/R-2.13.0/library D:/Felipe/doutorado/bioinfo/spp_1.10.tar.gz' teve status 1 2

[R] Problems saving an Object called by get

2011-04-26 Thread Luis Felipe Parra
=)) but I am getting the following error: Error in save(get(paste(NombreAlgoritmo, _Portafolio, sep = )), file = paste(camino, : object 'get(paste(NombreAlgoritmo, _Portafolio, sep = ))' not found Does anybody know how can this be done? Thank you Felipe Parra [[alternative HTML version

Re: [R] Problems saving an Object called by get

2011-04-26 Thread Luis Felipe Parra
Sorry David, I understand what you mean but could you help with how it would be done more specifically. Thanks On Wed, Apr 27, 2011 at 11:27 AM, David Winsemius dwinsem...@comcast.netwrote: On Apr 26, 2011, at 7:37 PM, Luis Felipe Parra wrote: Hello. I am trying to save an object which I

Re: [R] Matching a vector with a matrix row

2011-04-22 Thread Luis Felipe Parra
Hello Niels, I am trying to find the rows in Matrix which contain all of the elements in LHS. Thank you Felipe Parra On Fri, Apr 22, 2011 at 10:30 PM, Niels Richard Hansen niels.r.hansen+li...@math.ku.dk wrote: Joshua and Luis Neither of you is exactly solving the problem as stated, see

[R] Matching a vector with a matrix row

2011-04-21 Thread Luis Felipe Parra
,1,function(x)all(x%in%LHS)) but this isn't too fast actually. I would like to know if any body knows an efficient (fast) way of doing this? The matrix contains stings (not numbers). Thank you Felipe Parra [[alternative HTML version deleted

[R] Memory allocation problem

2011-04-08 Thread Luis Felipe Parra
) [1] 1124.69 memory.limit() [1] 4000 which should in theory allow to have a vector of size 443.Mb. I am running it on a pc on windows, 4gb RAM and intel core i7 processor. Does anybody know what might be going on? Thank you Felipe Parra -- Este mensaje de correo electrónico es enviado por

[R] predict fGarch doubt

2011-04-07 Thread Luis Felipe Parra
in the output? Thank you Felipe Parra [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide

[R] solveRsocp in fPortfolio

2011-04-05 Thread Luis Felipe Parra
) : Phase 1 failed, alpha=0 Does anybody knkow what might be going on? Is there any problem with this solver for negative weights? Thank you Felipe Parra [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch

[R] RmetricsTools.R

2011-04-04 Thread Luis Felipe Parra
on R-Forge but I haven't been able to find it. Thank you Felipe Parra [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org

Re: [R] another question on shapefiles and geom_point in ggplot2

2011-04-03 Thread Felipe Carrillo
)) +  opts(axis.text.y = theme_text(size = 8, hjust = 1))        Felipe D. Carrillo Supervisory Fishery Biologist Department of the Interior US Fish Wildlife Service California, USA http://www.fws.gov/redbluff/rbdd_jsmp.aspx From: Manuel Spínola mspinol...@gmail.com To: Felipe Carrillo

Re: [R] another question on shapefiles and geom_point in ggplot2

2011-04-03 Thread Felipe Carrillo
)   manuel_merged - join(manuel_fort,manuel@data, by =id) Felipe D. Carrillo Supervisory Fishery Biologist Department of the Interior US Fish Wildlife Service California, USA http://www.fws.gov/redbluff/rbdd_jsmp.aspx From: Manuel Spínola mspinol...@gmail.com To: Felipe Carrillo mazatlanmex

Re: [R] Rexcel path problem

2011-04-01 Thread Felipe Carrillo
rinterface.RRun(attach(scatter)) 'Run the RScatter script rinterface.RunRFile ThisWorkbook.Path \RScatter.r Call rinterface.StopRServer End Sub I   Felipe D. Carrillo Supervisory Fishery Biologist Department of the Interior US Fish Wildlife Service California, USA http://www.fws.gov/redbluff

[R] Problems reading excel file with RODBC connect

2011-03-30 Thread Luis Felipe Parra
the third row onwards the actual data appears. The actual file has 473 columns but i am only getting R to read 255. I know files with to many missings can be troublesome. Is there a way to tell R how many colums to read? Or does anybody know how can I sort out this problem. Thank you Felipe Parra

Re: [R] Installing a Package tar.gz in windows

2011-03-29 Thread Luis Felipe Parra
Brian and Duncan. Thank you for your help. What I actually am trying to install is fPortfolioSolver, and symphony is the only package I am missing in order to be able to complete the installation. Do you know by any chance what could I do about this? Thank you Felipe Parra On Tue, Mar 29, 2011

[R] Problems installing fPortfolioSolver

2011-03-29 Thread Luis Felipe Parra
what can I do to be able to use the package? thank you Felipe Parra [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org

[R] Installing a Package tar.gz in windows

2011-03-28 Thread Luis Felipe Parra
Hello I have downloaded the fPortfolioSolver package from R-forge but I have not been able to install it. I don't know exactly where I should place the file and which commands to give R. Could somebody please help me with this. Thank you Felipe Parra [[alternative HTML version deleted

Re: [R] Installing a Package tar.gz in windows

2011-03-28 Thread Luis Felipe Parra
(fPortfolioSolver.tar.gz, type = source, : installation of package 'fPortfolioSolver.tar.gz' had non-zero exit status Do you know what might be going on or where I can find a manual of how to use Rtools? Thank you Felipe Parra On Mon, Mar 28, 2011 at 7:52 PM, Duncan Murdoch murdoch.dun

[R] Problems installing fPortfolioSolver

2011-03-28 Thread Luis Felipe Parra
', 'RlpSolve', 'RlpSolveAPI', 'Rsymphony', 'Ripop', 'Rdonlp2' are not available for package 'fPortfolioSolver' * removing 'C:/Users/Hp/Documents/R/win-library/2.12/fPortfolioSolver' Mensajes de aviso perdidos Does somebody know what might be going on? thank you Felipe Parra [[alternative HTML

Re: [R] Problems installing fPortfolioSolver

2011-03-28 Thread Luis Felipe Parra
Thank you. The problem is that I tryed to use the repository provided in R-forge and it didn't work. Do you know by any chance a repository where I could find this package? thank you 2011/3/28 Uwe Ligges lig...@statistik.tu-dortmund.de On 28.03.2011 15:58, Luis Felipe Parra wrote: Hello, I

Re: [R] Installing a Package tar.gz in windows

2011-03-28 Thread Luis Felipe Parra
commands directly in the CMD windowf, so could you please be more specific with me. Thank you Felipe Parra On Mon, Mar 28, 2011 at 8:47 PM, Duncan Murdoch murdoch.dun...@gmail.comwrote: On 28/03/2011 8:04 AM, Luis Felipe Parra wrote: Thanks Duncan, I already installed Rtools but I don't know

[R] portfolioBacktest in fPortfolio

2011-03-27 Thread Luis Felipe Parra
Hello. I am trying to use the portfolio backtesting function in fPortfolio package, but I don't now why in my version of fPortfolio I don't have either the portfolioBactest nor the portfolioBacktesting functions. Does anybody knows what might be going on? thank you Felipe Parra

Re: [R] Tinn-R looses connection to R (Windows Vista)

2011-03-26 Thread Felipe Carrillo
Nutter, Benjamin NutterB at ccf.org writes: I've noticed it, but I haven't looked into it much since I rarely work on Vista. I have found that opening R before I open Tinn-R tends to work better than using Tinn-R to open the preferred GUI. Benjamin -Original Message- From:

[R] Problems with predict in fGarch

2011-03-24 Thread Luis Felipe Parra
, method = optim.method, hessian = TRUE, : non-finite finite-difference value [1] does anybody know what might be going on? Thank you Felipe Parra [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch

[R] trunc function

2011-03-09 Thread Luis Felipe Parra
places to have as ouput 0.974. Thank you Felipe Parra [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting

[R] Problems with a function warning

2011-03-03 Thread Luis Felipe Parra
message appear. I dont know why if I just run the function once none of them appear. Does any body know what can be going on? Thank you Felipe Parra [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch

[R] Difference in numeric Dates between Excel and R

2011-03-01 Thread Luis Felipe Parra
)-as.Date(1900-1-1) Time difference of 40604 days but if I do the same operation in Excel the answer is 40605. Does anybody know what can be going on? Thank you Felipe Parra [[alternative HTML version deleted]] __ R-help@r-project.org mailing list

[R] Transforming list into an array

2011-02-27 Thread Luis Felipe Parra
anybody does how to do this? or how to generate directly and array composed of independent random nomrmal numbers of dimensions Ncurvas x 3 x NumSim. Thank you Felipe Parra [[alternative HTML version deleted]] __ R-help@r-project.org mailing

[R] Nested logit

2011-02-23 Thread Luis Felipe Parra
Hello. Does anybody know how to estimate nested logit models in R? I know that the package mlogit does it, but It doesn´t report the logsum parameters. I would like to have the logsum parameters, and the elasticites if possible. Thank you Felipe Parra [[alternative HTML version deleted

  1   2   3   4   >