It converts all columns (but the label one) of a parameters dataframe created by parametersDataframe and filled by the user into type numeric, and checks the coherence of the parameters for each taxon. It provides feedback on the check results on screen for each taxon.

fixParametersTypes(x)

Arguments

x

dataframe resulting from parametersDataframe.

Value

Same dataframe provided in argument x but with fixed data types.

See also

Examples

parameters <- parametersDataframe(rows=1) parameters[1,] <- c("Species 1", 50, 20, 2, 0.2, 0, 100, 1000, 1, 0, 50, 10, 0, 0, 600, 600) parameters <- fixParametersTypes(x=parameters)
#> Checking taxon Species 1
#> carrying.capacity for the taxon is too low, increasing it to2000
#> niche.B.sd was 0, changing it to 1.