Learn R Programming

rebmix (version 2.6.1)

print.boot.REBMIX: Prints Univariate or Multivariate boot.REBMIX Output

Description

Returns the print output for class boot.REBMIX.

Usage

## S3 method for class 'boot.REBMIX':
print(x, ...)

Arguments

x
an object of class boot.REBMIX.
...
further arguments to print.

Value

  • print.boot.REBMIX returns (invisibly) the full value of x itself.

Examples

Run this code
## Generate and print simulated dataset.

Theta <- rbind(pdf = rep("Weibull", 2),
  theta1 = c(10, 20),
  theta2 = c(2.0, 6.0))

simulated <- RNGMIX(Dataset = "simulated",
  rseed = -1,
  n = c(30, 70),
  Theta = Theta)

## Estimate number of components, component weights and component parameters.

simulatedest <- REBMIX(Dataset = simulated$Dataset, 
  Preprocessing = "histogram", 
  D = 0.025, 
  cmax = 4, 
  Criterion = "AIC", 
  Variables = "continuous",
  pdf = "Weibull", 
  K = 20:40)
  
## Bootstrap finite mixture.  

simulatedboot <- boot.REBMIX(x = simulatedest, Bootstrap = "nonparametric", B = 20)

simulatedboot

Run the code above in your browser using DataLab