use ifelse() function in R to create dummy variables and categorical variables
Convert Factor to Dummy Indicator Variables for Every Level in R (Example) | model.matrix Function
Play
R Create Dummy Variable (3 Examples) | Generate Random 0/1 Indicator | ifelse, model.matrix & rbinom
Play
Ordination of your communities in VEGAN R package AND testing environmental variables with ENVFIT
Play
Convert All Character String Variables in Data Frame to Uppercase in R (Example) | toupper & lapply
Play
R Create Variable Name Using paste Function (Example) | New Data Object | assign & paste0 Functions
Play
Format Number as Percentage in R (3 Examples) | Express Numeric Values in Percent | Create Function
Play