plotGraph: Plot graph from data

Description Usage Arguments Value Examples

View source: R/plotGraph.R

Description

plotGraph plots graph - fans by day

Usage

1
plotGraph(plot_data, name, directory, date.from, date.to)

Arguments

plot_data

data.frame with values and dates

name

name of the file

directory

directory to save the file

date.from

start date of research

date.to

end date of research

Value

png with graph

Examples

1
2
3
4
plot_data = getData(450100695180891,224371541,
'EAADd6gCguI8BABCa5jew3mZBSV4qjEZAdrYHeDDf8zfwCZAXZCgLr9zXtrU6FsEGdfh44gZB1CMMxo7k7ZAXtal615Pb2r9H6CLfqxhK2JrvVWF3LDykayAToJ34eYlvQyYXbXygTDVrC8c5OoYlXWp4ZAT389vgk0ZD',
'2017-05-01', '2017-05-20')
plotGraph(plot_data, 'fanpage2', 'files', '2017-01-01', '2017-05-01')

karolgileta/FanpageData documentation built on June 24, 2017, 8:41 a.m.