search for: bernal

Displaying 20 results from an estimated 57 matches for "bernal".

Did you mean: kernal
2009 Jun 26
3
changing default arguments of a function and return the modified function as a result
...){ return(list(a=a, b=b c=c)) } So I would be able to call: mysecond.fun$c(x=12) And this will be equivalent of calling: myfun(x=12, a=2, b=15 ) ## i.e. i have changed the default values of myfun and ## stored it in a new function mysecond.fun$c Any help will be greatly appreciated! Miguel Bernal. ---- Current address: Ocean Modeling group, Institute of Marine and Coastal Sciences University of Rutgers 71 Dudley Road, New Brusnkwick, New Jersey 08901, USA email: mbernal at marine.rutgers.edu phone: +1 732 932 3692 Fax: +1 732 932 8578 -------------------------------...
2005 Sep 06
6
strange behavior of acts_as_taggable
...#39;' from ./script/../config/../lib/taggable.rb:277:in `tag'' from (irb):20 >> s.id => 3 >> Tag.find_by_name(''warp'').id => 8 It exchanges the story and tags IDs, but I have no idea why it does. Any suggestion? TIA, Koke -- Jorge Bernal <jbernal-OqA2i3GDl8k@public.gmane.org> Warp Networks S.L. http://www.warp.es/ [EN] http://koke.amedias.org/ [ES] http://www.amedias.org/koke
2002 Jul 02
1
Strange behaviour in plot and points?
...ready made, the results can be missleading. Wouldn't it be better to just have an error message saying dummy3 does not exist? I assume this behaviour is not release, nor plattform dependent, but just in case, I am using R 1.5.0 on Mandrake 8.2 Linux. Thanks for your comments -- Miguel Bernal Instituto Espa?ol de Oceanograf?a Centro Oceanogr?fico de Malaga Puerto pesquero s/n 29640, Fuengirola. Malaga, Spain Tlf: (34) 952 471907; Fax: (34) 952 463808 e-mail: miguel.bernal at ma.ieo.es http:\\www.ieo.es -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-he...
2002 Nov 20
1
un-install R 1.6 built from source
...ers were available, so I have installed it without Xwindows capabilities. Thus, I want to uninstall it and install it again properly with the required features, but I don't know how to uninstall R when built from source. I would appreciate any help on this. Thanks very much in advance! Miguel Bernal Instituto Espa?ol de Oceanograf?a Centro Oceanogr?fico de Malaga Puerto pesquero s/n 29640, Fuengirola. Malaga, Spain Tlf: (34) 952 471907; Fax: (34) 952 463808 e-mail: miguel.bernal at ma.ieo.es http:\\www.ieo.es ------------------------------------------------------- -.-.-.-.-.-.-.-.-.-.-.-.-.-...
2013 Mar 06
4
Issue when reading a table into R
Hello everyone, I was reading a table into R, and when trying to retrieve it the following message appeared: [ reached getOption("max.print") -- omitted 469376 rows ] Does this mean that R left out 469376 rows? Or R is taking those 469376 rows as well and the limitation is only for printing purposes? Thanks in advance for any help, Best regards, Paul [[alternative HTML version
2023 Aug 20
1
Issues when trying to fit a nonlinear regression model
Basic algebra and exponentials/logs. I leave those details to you or another HelpeR. -- Bert On Sun, Aug 20, 2023 at 12:17?PM Paul Bernal <paulbernal07 at gmail.com> wrote: > Dear Bert, > > Thank you for your extremely valuable feedback. Now, I just want to > understand why the signs for those starting values, given the following: > > #Fiting intermediate model to get starting values > > intermediatemod...
2023 Aug 20
1
Issues when trying to fit a nonlinear regression model
...cribi?: > Oh, sorry; I changed signs in the model, fitting > theta0 + theta1*exp(theta2*x) > > So for theta0 - theta1*exp(-theta2*x) use theta1= -.exp(-1.8) and theta2 = > +.055 as starting values. > > -- Bert > > > > > > On Sun, Aug 20, 2023 at 11:50?AM Paul Bernal <paulbernal07 at gmail.com> > wrote: > >> Dear Bert, >> >> Thank you so much for your kind and valuable feedback. I tried finding >> the starting values using the approach you mentioned, then did the >> following to fit the nonlinear regression model: >&...
2017 Jan 03
2
[R] Problems when trying to install and load package "rzmq"
...inary package, and it is also quite possible that the package author is not a Windows person. At the very least, you'll need some familiarity with the Windows toolchain and be prepared to apply a fair amount of elbow grease. -pd (crosspost to r-help removed) On 29 Dec 2016, at 22:04 , Paul Bernal <paulbernal07 at gmail.com> wrote: > Dear Jeff, > > Thank you for your fast and kind reply. When you say that you do not think > this can be done on windows, then I would have to use something like Ubuntu > or Linux? > > Best regards > > Paul > > 2016-12-...
2023 Aug 20
2
Issues when trying to fit a nonlinear regression model
...(y - > .37) ~ x to get intercept = -1.8 and slope = -.055. So I used .37, > exp(-1.8) and -.055 as the starting values for theta0, theta1, and theta2 > in the nonlinear model. This converged without problems. > > Cheers, > Bert > > > On Sun, Aug 20, 2023 at 10:15?AM Paul Bernal <paulbernal07 at gmail.com> > wrote: > >> Dear friends, >> >> This is the dataset I am currently working with: >> >dput(mod14data2_random) >> structure(list(index = c(14L, 27L, 37L, 33L, 34L, 16L, 7L, 1L, >> 39L, 36L, 40L, 19L, 28L, 38L, 32L), y =...
2023 Aug 20
1
Issues when trying to fit a nonlinear regression model
Oh, sorry; I changed signs in the model, fitting theta0 + theta1*exp(theta2*x) So for theta0 - theta1*exp(-theta2*x) use theta1= -.exp(-1.8) and theta2 = +.055 as starting values. -- Bert On Sun, Aug 20, 2023 at 11:50?AM Paul Bernal <paulbernal07 at gmail.com> wrote: > Dear Bert, > > Thank you so much for your kind and valuable feedback. I tried finding the > starting values using the approach you mentioned, then did the following to > fit the nonlinear regression model: > nlregmod2 <- nls(y ~ theta...
2013 Sep 09
1
Fitting Arima Models and Forecasting Using Daily Historical Data
Hello everyone, I was trying to fit an arima model to a daily historical data, but, for some reason, havent been able to. I basically have 212 observations (from 12/1/2012 to 06/30/2013) containing the number of transits for a particular vessel. The following messages are produced by R: dailytrans.fit<-arima(dailytrans$transits, order=c(0,1,2), seasonal=list(order=c(0,1,2), period=365),
2024 Jan 30
1
R interpreting numeric field as a boolean field
...a b >> "numeric" "integer" >> >> So either I'm missing something or you are. Happy to be corrected and >> chastised if the former. >> >> Cheers, >> Bert >> >> >> On Tue, Jan 30, 2024 at 10:41?AM Paul Bernal <paulbernal07 at gmail.com> >> wrote: >> >>> Dear friend Duncan, >>> >>> Thank you so much for your kind reply. Yes, that is exactly what is >>> happening, there are a lot of NA values at the start, so R assumes that >>> the >>&gt...
2023 Aug 19
1
Determining Starting Values for Model Parameters in Nonlinear Regression
...-06 1049 2.425e-42 4.049e-08 > 721.8 > Beta2 0.00867741 1.608e-05 539.7 1.963e-37 -2.715e-08 > 56.05 > Beta3 0.00801948 8.809e-05 91.03 2.664e-24 1.497e-08 > 10.81 > > J Nash > > > On 2023-08-19 16:19, Paul Bernal wrote: > > Dear friends, > > > > Hope you are all doing well and having a great weekend. I have data that > > was collected on specific gravity and spectrophotometer analysis for 26 > > mixtures of NG (nitroglycerine), TA (triacetin), and 2 NDPA (2 - > > nitrodi...
2023 Aug 20
1
Determining Starting Values for Model Parameters in Nonlinear Regression
The cautions people have given about starting values are worth heeding. That nlxb() does well in many cases is useful, but not foolproof. And John Fox has shown that the problem can be tackled very simply too. Best, JN On 2023-08-19 18:42, Paul Bernal wrote: > Thank you so much Dr. Nash, I truly appreciate your kind and valuable contribution. > > Cheers, > Paul > > El El s?b, 19 de ago. de 2023 a la(s) 3:35 p.?m., J C Nash <profjcnash at gmail.com <mailto:profjcnash at gmail.com>> escribi?: > > Why both...
2024 Jan 30
1
R interpreting numeric field as a boolean field
...with one entry per column. Allowable names are "skip", "guess", "logical", "numeric", "date", "text" or "list". You'll have to read the docs to find out what some of those do. Duncan Murdoch On 30/01/2024 1:40 p.m., Paul Bernal wrote: > Dear friend Duncan, > > Thank you so much for your kind reply. Yes, that is exactly what is > happening, there are a lot of NA values at the start, so R assumes that > the field is of type boolean. The challenge that I am facing is that I > want to read into R an Exce...
2017 Jan 03
0
[R] Problems when trying to install and load package "rzmq"
...ible that the package author is not a Windows person. > > At the very least, you'll need some familiarity with the Windows toolchain > and be prepared to apply a fair amount of elbow grease. > > -pd > > (crosspost to r-help removed) > > On 29 Dec 2016, at 22:04 , Paul Bernal <paulbernal07 at gmail.com> wrote: > > > Dear Jeff, > > > > Thank you for your fast and kind reply. When you say that you do not > think > > this can be done on windows, then I would have to use something like > Ubuntu > > or Linux? > > > > B...
2017 Nov 08
3
Adding Records to a Table in R
...e merge adding the "missing" rows (where NA will appear) > dfNew <- merge(dfDates, dfOrig, by="TransitDate", all.x=TRUE ) > > # replace the NA's by zero > dfNew[is.na(dfNew)] <- 0 > > HTH, > Eric > > > On Wed, Nov 1, 2017 at 9:45 PM, Paul Bernal <paulbernal07 at gmail.com> > wrote: > >> Dear R friends, >> >> I am currently working with time series data, and I have a table(as data >> frame) that has looks like this (TransitDate are in format = "%e-%B-%Y") : >> >> TransitDate Tr...
2024 Jan 30
1
R interpreting numeric field as a boolean field
...4 1 4 > > sapply(dt, class) > a b > "numeric" "integer" > > So either I'm missing something or you are. Happy to be corrected and > chastised if the former. > > Cheers, > Bert > > > On Tue, Jan 30, 2024 at 10:41?AM Paul Bernal <paulbernal07 at gmail.com> > wrote: > >> Dear friend Duncan, >> >> Thank you so much for your kind reply. Yes, that is exactly what is >> happening, there are a lot of NA values at the start, so R assumes that >> the >> field is of type boolean. The...
2017 Nov 01
0
Adding Records to a Table in R
...),by="1 month",length=13) ) # do the merge adding the "missing" rows (where NA will appear) dfNew <- merge(dfDates, dfOrig, by="TransitDate", all.x=TRUE ) # replace the NA's by zero dfNew[is.na(dfNew)] <- 0 HTH, Eric On Wed, Nov 1, 2017 at 9:45 PM, Paul Bernal <paulbernal07 at gmail.com> wrote: > Dear R friends, > > I am currently working with time series data, and I have a table(as data > frame) that has looks like this (TransitDate are in format = "%e-%B-%Y") : > > TransitDate Transits CargoTons > 1985-0...
2017 Nov 08
0
Adding Records to a Table in R
...u could copy only part of it. dput(TransitDateFrame[,1:20]) dput(dataset1[,1:20]) Only with this approach we can evaluate your data in all aspects and provide correct answer. Cheers Petr > -----Original Message----- > From: R-help [mailto:r-help-bounces at r-project.org] On Behalf Of Paul Bernal > Sent: Wednesday, November 8, 2017 2:46 PM > To: Eric Berger <ericjberger at gmail.com> > Cc: r-help at r-project.org > Subject: Re: [R] Adding Records to a Table in R > > Dear Eric, > > Hope you are doing great. I also tried the following: > > #First I created...