Print method for theta class

# S3 method for theta
print(x, ...)

Arguments

x

A theta object. See rtheta.

...

Arguments to be passed to subsequent methods.

Value

Invisibly returns x.

Author

Anders Ellern Bilgrau <anders.ellern.bilgrau@gmail.com>

Examples

theta <- rtheta() print(theta)
#> theta object with d = 2 dimensions and m = 3 components: #> #> $pie #> pie1 pie2 pie3 #> 0.3048244 0.3480628 0.3471129 #> #> $mu #> $mu$comp1 #> [1] 12.37305 -10.05436 #> #> $mu$comp2 #> [1] 9.421038 5.749584 #> #> $mu$comp3 #> [1] 9.759743 13.992240 #> #> #> $sigma #> $sigma$comp1 #> [,1] [,2] #> [1,] 3.9565125 -0.1365224 #> [2,] -0.1365224 4.1207604 #> #> $sigma$comp2 #> [,1] [,2] #> [1,] 2.9379302 0.5496792 #> [2,] 0.5496792 2.7149407 #> #> $sigma$comp3 #> [,1] [,2] #> [1,] 9.776665 -2.743370 #> [2,] -2.743370 6.156882 #> #>