Last data update: 2014.03.03

R: Missouri Dickcissel Nest Survival Data - Date Format
example2R Documentation

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)

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

data(example2)

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(BEANSP)
> png(filename="/home/ddbj/snapshot/RGM3/R_CC/result/BEANSP/example2.Rd_%03d_medium.png", width=480, height=480)
> ### Name: example2
> ### Title: Missouri Dickcissel Nest Survival Data - Date Format
> ### Aliases: example2
> ### Keywords: datasets
> 
> ### ** Examples
> 
> data(example2)
> 
> 
> 
> 
> 
> dev.off()
null device 
          1 
>