Custom summary method for objects of class projoint_data
. Prints a brief
overview of the main data and attribute-level labels contained in the object.
Usage
# S3 method for class 'projoint_data'
summary(object, ...)
Value
No return value, called for its side effect of printing a summary of the
projoint_data
object to the console.
Examples
# \donttest{
data(exampleData1)
dat <- reshape_projoint(
exampleData1,
.outcomes = c("choice1", "choice2")
)
summary(dat)
#> <Summary of projoint_data>
#>
#> Main Data:
#> - Number of rows: 800
#> - Number of columns: 13
#> - Sample columns:
#> [1] "id" "task" "profile" "att4" "att7"
#>
#> Attribute-Level Labels:
#> - Number of levels: 24
#> - Attributes found:
#> [1] "Housing Cost"
#> [2] "Presidential Vote (2020)"
#> [3] "Racial Composition"
#> [4] "School Quality"
#> [5] "Total Daily Driving Time for Commuting and Errands"
#> [6] "Type of Place"
#> [7] "Violent Crime Rate (Vs National Rate)"
# }