Recalculate (rebuild) .dim, .variables, ...in Model or Distribution. This procedure is used, when you change content of Object. This function is included in most of other functions in Distribution and Model class.

rebuild(...)

# S3 method for Distribution
rebuild(x)

# S3 method for Model
rebuild(model)

Arguments

x

Distribution, Model

Methods (by class)

  • Distribution: recalculate additional information of the object

  • Model: recalculate additional information of the object

See also

Examples

data(Pi) colnames(Pi$.data)[1] <- "X" rebuild(Pi) variables(Pi)
#> [1] "X" "B"