Thank you!
> Date: Wed, 3 Dec 2014 08:02:17 -0500
> From: murdoch.dun...@gmail.com
> To: pmassico...@hotmail.com; r-help@r-project.org
> Subject: Re: [R] Substitute initial guesses of parameters in a function
>
> On 03/12/2014 7:37 AM, philippe massicotte wrote:
> &g
On 03/12/2014 7:37 AM, philippe massicotte wrote:
Hi everyone, I have a formula like this:
f <- as.formula(y ~ p0a * exp(-0.5 * ((x - p1a)/p2a)^2))
I would like to "dynamically" provide starting values for p0a, p1a, p2a. Is
there a way to do it?
Just give a named vector of starting values.
Hi everyone, I have a formula like this:
f <- as.formula(y ~ p0a * exp(-0.5 * ((x - p1a)/p2a)^2))
I would like to "dynamically" provide starting values for p0a, p1a, p2a. Is
there a way to do it?
#Params estimates
p <- c(12, 10, 1)
# This is where I have difficulties
mystart <- substitute(...)
3 matches
Mail list logo