Last data update: 2014.03.03

R: Data for a growth mixture model
myGrowthMixtureDataR Documentation

Data for a growth mixture model

Description

Data set used in some of OpenMx's examples.

Usage

data("myGrowthMixtureData")

Format

A data frame with 500 observations on the following variables.

x1

x variable and time 1

x2

x variable and time 2

x3

x variable and time 3

x4

x variable and time 4

x5

x variable and time 5

Details

The same as myGrowthKnownClassData, but without the class membership variable.

Source

Simulated.

References

The OpenMx User's guide can be found at http://openmx.psyc.virginia.edu/documentation.

Examples

data(myGrowthMixtureData)

matplot(t(myGrowthMixtureData), type='l', lty=1)

data(myGrowthKnownClassData)
all(myGrowthKnownClassData[,-6]==myGrowthMixtureData)

Results


R version 3.3.1 (2016-06-21) -- "Bug in Your Hair"
Copyright (C) 2016 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

> library(OpenMx)
Loading required package: digest
Loading required package: MASS
Loading required package: Matrix
Loading required package: Rcpp
Loading required package: parallel

Attaching package: 'OpenMx'

The following objects are masked from 'package:Matrix':

    %&%, expm

> png(filename="/home/ddbj/snapshot/RGM3/R_CC/result/OpenMx/myGrowthMixtureData_data.Rd_%03d_medium.png", width=480, height=480)
> ### Name: myGrowthMixtureData
> ### Title: Data for a growth mixture model
> ### Aliases: myGrowthMixtureData
> ### Keywords: datasets
> 
> ### ** Examples
> 
> data(myGrowthMixtureData)
> 
> matplot(t(myGrowthMixtureData), type='l', lty=1)
> 
> data(myGrowthKnownClassData)
> all(myGrowthKnownClassData[,-6]==myGrowthMixtureData)
[1] TRUE
> 
> 
> 
> 
> 
> dev.off()
null device 
          1 
>