Skip to content

optim_sa function parameters #5

Description

@iwelch

hi --- would be nice to be able to pass parameters to the function to be optimized.

f <- function(x,p) {
    sum( (x-p)^2 )
}

the equivalent optim in base R recognizes '...' for this purpose.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions