R/n_states.R
n_states.Rd
Calculate the total number of presence/absence states for a given number of sites and features.
n_states(n_sites, n_features)
numeric number of sites.
numeric
numeric number of features.
A numeric value.
# calculate number of states for 3 sites and 2 features n_states(n_sites = 2, n_features = 3) #> [1] 64