Description Usage Arguments Value Examples
shape()
generates objects of class dgirtIn
for modeling with
dgirt()
and dgmrp()
.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 | summary(object, ...)
## S4 method for signature 'dgirtIn'
summary(object, ...)
print(x, ...)
## S4 method for signature 'dgirtIn'
print(x, ...)
get_item_names(x)
## S4 method for signature 'dgirtIn'
get_item_names(x)
get_n(x, by = NULL, aggregate_name = NULL)
## S4 method for signature 'dgirtIn'
get_n(x, by = NULL, aggregate_name = NULL)
get_item_n(x, by = NULL, aggregate_data = FALSE)
## S4 method for signature 'dgirtIn'
get_item_n(x, by = NULL, aggregate_data = FALSE)
## S4 method for signature 'dgirtIn'
show(object)
|
object |
An object of class |
... |
Unused. |
x |
An object of class |
by |
The name of a grouping variable. |
aggregate_name |
If specified |
aggregate_data |
If specified |
A list of item names.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | data(toy_dgirt_in)
get_item_names(toy_dgirt_in)
get_n(toy_dgirt_in)
get_n(toy_dgirt_in, by = "year")
get_n(toy_dgirt_in, by = "source")
get_item_n(toy_dgirt_in)
get_item_n(toy_dgirt_in, by = "year")
data(toy_dgirt_in)
get_item_names(toy_dgirt_in)
# respondent count
data(toy_dgirt_in)
get_n(toy_dgirt_in)
# respondent count by year
get_n(toy_dgirt_in, by = "year")
# respondent count by year and survey identifier
get_n(toy_dgirt_in, by = c("year", "source"))
data(toy_dgirt_in)
get_item_n(toy_dgirt_in)
get_item_n(toy_dgirt_in, by = "year")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.