Retrieves the name of the experiment that an experiment object is linked to.

name(x)

# S3 method for default
name(x)

# S3 method for experiment
name(x)

Arguments

x

An object of class experiment.

Value

The name of the experiment that the inputed experiment object is linked to.

Examples

exp1 <- load_experiment("sir", system.file("models", "sir.gaml", package = "rama"))
#> Loading experiment "sir" from file "sir.gaml"...
#>
#> Periods of observation ("obsrates") are converted into integers.
#>
#> Final time step ("tmax") is converted into integer.
#>
#> Seed is converted into numeric.
#>
#> Parameters' types are cast according to model definition
#>
name(exp1)
#> [1] "sir"