Learn R Programming

simsem (version 0.4-6)

SimDataDist-class: Class "SimDataDist": Data distribution object

Description

This class will provide the distribution of a dataset.

Arguments

Objects from the Class

Objects can be created by bindDist function. It can also be called from the form new("SimDataDist", ...).

Methods

  • summary
{To summarize the object} plotDist{To plot a density distribution (for one variable) or a contour plot (for two variables).}

See Also

Examples

Run this code
showClass("SimDataDist")

d1 <- list(df=2)
d2 <- list(df=3)
d3 <- list(df=4)
d4 <- list(df=5)
d5 <- list(df=3)
d6 <- list(df=4)
d7 <- list(df=5)
d8 <- list(df=6)

dist <- bindDist(c(rep("t", 4), rep("chisq", 8)), d1, d2, d3, d4, d5, d6, d7, d8, d5, d6, d7, d8)
summary(dist)

Run the code above in your browser using DataLab