Learn R Programming

BEANSP (version 1.0)

example2: Missouri Dickcissel Nest Survival Data - Date Format

Description

The Missouri dickcissel dataset collected by Suedkamp Wells(2005) is analyzed via BEANSP for illustration. For more detailed analysis, see Cao et.al(2009).

Usage

data(example2)

Arguments

Format

A data frame with 233 observations on the following 7 variables.
id
Nest Id.
date1
the date of the first encounter.
date2
the date of the second-to-last visit (before the outcome).
date3
the date of the last visit (after the outcome)
.
fate
Nest fate; if "F", y=0; if "S", y=1.
cov1
the first nest-specific covariate.
cov2
the second nest-specific covariate.

Details

The visiting dates in the Date format can be converted to the standard format by Cao et al.(2009). see also "User Instruction for the Program BEANSP".

References

Cao, J., He, C., Suedkamp Wells, K.M., Millspaugh, J.J., and Ryan, M.R. (2009). Modeling age and nest-specific survival using a hierarchical Bayesian approach. Biometrics, 65, 1052-1062.

He, C.,Yang, Y.. User Instruction for Program BEANSP

Examples

Run this code
data(example2)

Run the code above in your browser using DataLab