Learn R Programming

simsem (version 0.2-8)

simChisq: Create random chi-squared distribution object

Description

Create random chi-squared distribution object. Random chi-squared distribution object will save the degree of freedom and the non-centrality parameters.

Usage

simChisq(df, ncp=0)

Arguments

df
The degree of freedom
ncp
The non-centrality parameter

Value

  • SimChisqRandom Chi-squared Distribution object (SimChisq) that save the specified parameters

See Also

  • VirtualDistfor all distribution objects.

Examples

Run this code
chi5 <- simChisq(5)
    run(chi5)
	summary(chi5)

Run the code above in your browser using DataLab