Summarise binary coded features of analyses
Source:R/summarise_analysis_types.R
count_binary_coded_features.Rd
Summarise binary coded features of analyses
Arguments
- data
A dataframe containing the variables
dataset
, andlm
,mixed_model
,Bayesian
, which are coded as binary numeric vectors.
Examples
ManyEcoEvo %>%
filter(dataset == "eucalyptus") %>%
ungroup() %>%
select(data) %>%
unnest(data) %>%
mutate(
lm = ifelse(linear_model == "linear", 1, 0), # TODO move into master processing
glm = ifelse(linear_model == "generalised", 1, 0),
Bayesian = as.numeric(Bayesian)
) %>%
count_binary_coded_features()
#> Error in mutate(., lm = ifelse(linear_model == "linear", 1, 0), glm = ifelse(linear_model == "generalised", 1, 0), Bayesian = as.numeric(Bayesian)): could not find function "mutate"