R/cigar.R

Defines functions cigar

Documented in cigar

cigar <- function(x) {
  return(x[1]^2 + sum(x[-1]^2 * 10^6))
}

Try the EEEA package in your browser

Any scripts or data that you put into this service are public.

EEEA documentation built on June 10, 2025, 9:13 a.m.