Learn R Programming

Mobilize (version 2.16-4)

responseplot: Create a responseplot

Description

Create a responseplot

Usage

responseplot(campaign_urn, aggregate, privacy_state = "both", ...)

Arguments

campaign_urn
id of the campaign
aggregate
optional number of days to aggregate over. Defaults to something smart.
privacy_state
either "shared" or "private" or "both"
...
stuff to pass on to oh.survey_response.read

Value

a responseplot

Examples

Run this code
library(Mobilize)
## Not run: 
# #authentication works like a cookie.
# #oh.login("ohmage.admin", "ohmage.passwd", "https://example.com/app")
# 
# #list campaigns you are in
# #oh.campaign.read()
# 
# #make a plot
# #responseplot("urn:ohmage:campaign:mycampaign");
# ## End(Not run)

Run the code above in your browser using DataLab