Skip to contents

Modify Replicates arguments

Usage

IAM.editArgs_Rep(object, ...)

# S4 method for iamArgs
IAM.editArgs_Rep(object, n = NULL)

Arguments

object

a iamArgs-class object

...

selected argument

n

Number of replicates NULL will desactivate the Replicates module

Author

Maxime Jaunatre

Examples

data(IAM_argum_2009)

# Replicate 100 times
IAM_argum_2009 <- IAM.editArgs_Rep(IAM_argum_2009, n = 100)
IAM.args_scenar(IAM_argum_2009)
#> $active
#> [1] 0
#> 
#> $ALLscenario
#> [1] "Sc_saisine"
#> 
#> $SELECTscen
#> [1] 1
#> 

# Desactivate Replicates
IAM_argum_2009 <- IAM.editArgs_Rep(IAM_argum_2009, n = NULL)
IAM.args_scenar(IAM_argum_2009)
#> $active
#> [1] 0
#> 
#> $ALLscenario
#> [1] "Sc_saisine"
#> 
#> $SELECTscen
#> [1] 1
#>