R統計心得筆記
install.packages("pso") library("pso")
fit <- function(x) 100 * (x[2] - x[1]^2)^2 + (1 - x[1])^2