Learn R Programming

tidysynthesis (version 0.1.2)

print.constraints: Print the constraints object to the console with formatting

Description

Print the constraints object to the console with formatting

Usage

# S3 method for constraints
print(x, ...)

Value

Invisibly returns the input constraints object.

Arguments

x

A constraints object

...

further arguments passed to or from other methods (not currently used).

Examples

Run this code

rm <- roadmap(
  conf_data = acs_conf_nw,
  start_data = acs_start_nw
)

constraints_df_num <- 
  tibble::tribble(~var, ~min, ~max, ~conditions,
                  "transit_time", 0, 300, "TRUE")

constraints <- constraints(
  schema = rm[["schema"]],
  constraints_df_num = constraints_df_num,
  max_z_num = 0
)

print(constraints)

Run the code above in your browser using DataLab