fixParametersTypes: Fix data types in a parameters dataframe.

View source: R/fixParametersTypes.R

fixParametersTypesR Documentation

Fix data types in a parameters dataframe.

Description

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.

Usage

fixParametersTypes(x)

Arguments

x

dataframe resulting from parametersDataframe.

Value

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

Author(s)

Blas M. Benito <blasbenito@gmail.com>

See Also

parametersDataframe

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)


virtualPollen documentation built on March 18, 2022, 6:16 p.m.