Code
generate_xtab_args(df = c(3, 4), var_of_interest = "party_reg", rm = "weightvec")
Condition
Error:
! 'df' must be a data frame
Code
generate_xtab_3way_args(df = c(3, 4), control_var = "party_reg",
independent_vars = c("education_rollup", "issue_focus"), dependent_vars = c(
"issue_focus", "education_rollup"))
Condition
Error:
! 'df' must be a data frame
Code
generate_topline_args(df = c(3, 4), var_of_interest = "party_reg", rm = "weightvec")
Condition
Error:
! 'df' must be a data frame
Code
generate_xtab_args(df = df, var_of_interest = 3, rm = "weightvec")
Condition
Error:
! The argument 'var_of_interest' must be a single column name found in 'df'
Code
generate_topline_args(df = df, var_of_interest = 3, rm = "weightvec")
Condition
Error:
! The argument 'var_of_interest' must be a character vector of column names found in 'df' with length no greater than length(df)
Code
generate_xtab_args(df = df, var_of_interest = c("education_rollup",
"issue_focus"), rm = "weightvec")
Condition
Error:
! The argument 'var_of_interest' must be a single column name found in 'df'
Code
generate_topline_args(df = df, var_of_interest = c("education_rollup",
"issue_focus", "issue_focus", "issue_focus", "issue_focus"), rm = "weightvec")
Condition
Error:
! The argument 'var_of_interest' must be a character vector of column names found in 'df' with length no greater than length(df)
Code
generate_xtab_3way_args(df = df, control_var = complex(3), independent_vars = c(
"education_rollup", "issue_focus"), dependent_vars = c("issue_focus",
"education_rollup"))
Condition
Error:
! The argument 'control_var' must be a single column name found in 'df'
Code
generate_xtab_3way_args(df = df, control_var = c("party_reg", "party_reg"),
independent_vars = c("education_rollup", "issue_focus"), dependent_vars = c(
"issue_focus", "education_rollup"))
Condition
Error:
! The argument 'control_var' must be a single column name found in 'df'
Code
generate_xtab_3way_args(df = df, control_var = "does_not_exist",
independent_vars = c("education_rollup", "issue_focus"), dependent_vars = c(
"issue_focus", "education_rollup"))
Condition
Error:
! The argument 'control_var' must be a single column name found in 'df'
Code
generate_xtab_args(df = df, var_of_interest = "education_rollup", rm = "non_existent_var")
Condition
Error:
! The argument 'rm' must contain columns in 'df'
Code
generate_topline_args(df = df, var_of_interest = "party_reg", rm = "non_existent_var")
Condition
Error:
! The argument 'rm' must contain columns in 'df'
Code
generate_xtab_args(df = df, var_of_interest = "education_rollup", rm = 3)
Condition
Error:
! The argument 'rm' must be a character vector
Code
generate_topline_args(df = df, var_of_interest = "party_reg", rm = list("test"))
Condition
Error:
! The argument 'rm' must be a character vector
Code
generate_xtab_args(df = df, var_of_interest = "education_rollup",
dependent_vars = 3, rm = "weightvec")
Condition
Error:
! The argument 'dependent_vars' must be a character vector with length no greater than (length(df) - 1)
Code
generate_xtab_args(df = df, var_of_interest = "education_rollup",
dependent_vars = c("issue_focus", "party_reg", "weightvec",
"education_rollup"), rm = NULL)
Condition
Error:
! The argument 'dependent_vars' must be a character vector with length no greater than (length(df) - 1)
Code
generate_xtab_3way_args(df = df, control_var = "party_reg", independent_vars = c(
3), dependent_vars = c("issue_focus", "education_rollup"))
Condition
Error:
! The argument 'independent_vars' must be a character vector with length no greater than (length(df) - 1)
Code
generate_xtab_3way_args(df = df, control_var = "party_reg", independent_vars = c(
"issue_focus", "education_rollup", "issue_focus", "education_rollup"),
dependent_vars = c("issue_focus", "education_rollup"))
Condition
Error:
! The argument 'independent_vars' must be a character vector with length no greater than (length(df) - 1)
Code
generate_xtab_3way_args(df = df, control_var = "party_reg", independent_vars = c(
"not", "exist", "issue_focus"), dependent_vars = c("issue_focus",
"education_rollup"))
Condition
Error:
! The argument 'independent_vars' must be a subset of `base::setdiff(x = names(df), y = control_var)`
Code
generate_xtab_3way_args(df = df, control_var = "party_reg", independent_vars = c(
"issue_focus", "education_rollup"), dependent_vars = c(3))
Condition
Error:
! The argument 'dependent_vars' must be a character vector with length no greater than (length(df) - 1)
Code
generate_xtab_3way_args(df = df, control_var = "party_reg", independent_vars = c(
"issue_focus", "education_rollup"), dependent_vars = c("issue_focus",
"education_rollup", "issue_focus", "education_rollup"))
Condition
Error:
! The argument 'dependent_vars' must be a character vector with length no greater than (length(df) - 1)
Code
generate_xtab_3way_args(df = df, control_var = "party_reg", independent_vars = c(
"issue_focus", "education_rollup"), dependent_vars = c("not", "exist",
"issue_focus"))
Condition
Error:
! The argument 'dependent_vars' must be a subset of `base::setdiff(x = names(df), y = control_var)`
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.