survey: Contact survey

View source: R/survey.r

surveyR Documentation

Contact survey

Description

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

Author(s)

Sebastian Funk

Examples

data(polymod)
new_survey <- survey(polymod$participants, polymod$contacts)

socialmixr documentation built on Oct. 29, 2022, 1:09 a.m.