test1 {aster2} | R Documentation |

## Test Data

### Description

Test data of no biological interest. Does have all families implemented at the time the test data was created. No predictor variables.

### Usage

`data(test1)`

### Format

A data frame with 100 observations on the following 8 variables.

`m1`

a numeric vector, part of a multinomial dependence group (with

`m2`

and`m3`

). Predecessor of this group is the constant 1.`m2`

a numeric vector.

`m3`

a numeric vector.

`n1`

a numeric vector, part of a normal location-scale dependence group (with

`n2`

). Predecessor of this group is`m1`

.`n2`

a numeric vector (actually

`n1^2`

).`b1`

a numeric vector, Bernoulli. Predecessor is

`m2`

.`p1`

a numeric vector, Poisson. Predecessor is

`m3`

.`z1`

a numeric vector, zero-truncated Poisson. Predecessor is

`b1`

.

### Source

created by R script `test1.R`

in directory `makedata`

of the
installation directory for this package.

### Examples

```
data(test1)
fred <- asterdata(test1,
vars = c("m1", "m2", "m3", "n1", "n2", "b1", "p1", "z1"),
pred = c(0, 0, 0, 1, 1, 2, 3, 6), group = c(0, 1, 2, 0, 4, 0, 0, 0),
code = c(1, 1, 1, 2, 2, 3, 4, 5),
families = list(fam.multinomial(3), "normal.location.scale",
"bernoulli", "poisson", "zero.truncated.poisson"))
```

*aster2*version 0.3 Index]