Nothing
group_names
argument to plot_dgirt()
has been replaced by argument
group_name
, which takes the name of a single grouping variable. This is a
quick workaround for compatibility with breaking changes in ggplot2 3.0.0.--without-long-double
.shape()
when 1) at least two group_names
are specified in an order other
than alphabetic and 2) geographic modifier_data
is used.aggregate_data
indicating zero trials. (They
don't represent item responses.) Preserving them has the effect that
unobserved groups, defined partially or entirely by the values of the grouping
variables in zero-trial rows in aggregate_data
, can be included in a model.aggregate_data
is used without item_data
, 2)
no demographic groups are specified via group_names
, and 3) geographic
modifier_data
is used.modifier_data
. Geographic modifier_data
must
cover all combinations of the geo and time variables in the item response data
(individual or aggregated), but because of a bug in the validation of the
geographic data, this requirement was not always enforced. In some cases a
warning would appear instead of an error.shape()
now accepts aggregated item response data unaccompanied by
individual-level item response data. The item_data
and item_names
arguments are no longer required.max_raked_weight
argument to shape()
for trimming raked weights.
Note that trimming occurs before raked weights are rescaled to have mean 1,
and the rescaled weights can be larger than max_raked_weight
.expand_rownames()
.dichotomize()
in R.model
argument to dgirt()
and dgmrp()
taking for reuse a previously
compiled Stan model, as found in the @stanmodel
slot of a dgirt_fit
- or
dgmrp_fit
-class object.version
argument to dgirt()
and dgmrp()
can be used to specify
arbitrary .stan
files on the disk in addition to those included with the
package.by
to get_n()
and get_item_n()
methods properly accepts a
vector of variable names when combined with aggregate
arguments.dgmrp()
for fitting single-issue MRP models with hierarchical covariatesdgmrp_fit
for models fitted with dgmrp()
, inheriting from a new
virtual class dgo_fit
dgirt()
now returns a dgirt_fit
-class object that also inherits from
dgo_fit
classNAMESPACE
P
, S
related to group_names
change in 0.2.5Error in .doLoadActions(where, attach)
)expand_rownames()
dgirt_plot
tools/make_cpp.R
group_names
is no longer required. If omitted, the geographic variable given
by geo_name
will define groups.aggregate_item_names
is no longer required. It defaults to the observed
values of the item
column in aggregate_data
.raking
argument to shape()
replaces strata_names
. It takes a formula or
list of formulas and allows more complicated preweighting.id_vars
argument to shape()
specifies variables to be kept in item_data
.aggregate_data
may include geographic areas, demographics, or time periods
that don't appear in item_data
.dgirtfit
methods rhats()
and plot_rhats()
for model checking.dgirtfit
method get_time_elapsed
gives model run times. These also
appear in summary
output.Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.