A survey
object contains the results of a contact survey. In particular, it contains two data frames called participants
and contacts
that are linked by a column specified as id.column
Usage
survey(participants, contacts, reference = NULL)
Arguments
- participants
a data.frame
containing information on participants
- contacts
a data.frame
containing information on contacts
- reference
a list
containing information needed to reference the survey, in particular it can contain$a "title", "bibtype", "author", "doi", "publisher", "note", "year"
Value
a new survey object
Examples
data(polymod)
new_survey <- survey(polymod$participants, polymod$contacts)