Skip to content

optim_sa function parameters #5

@iwelch

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.

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