luccpl_barplot_data: Plot input data in bar or line graph

Description Usage Arguments Value Author(s)

View source: R/luccpl_plot_graph.R

Description

Creates a line or bar graph that represents the input data.

Usage

1
luccpl_barplot_data(df=NULL, dates=NULL, graph_title=NULL, style='bar', colors=NULL, path_save_jpeg=NULL)

Arguments

df

Dataframe generated from the LuccPL::luccpl_count(for_time_step = TRUE), when luccpl_count is applied to the input rasterBrick.

dates

Integer. A vector with the timeline dates.

style

Character. 'bar' or 'line' graph.

graph_title

Character. The name of graph.

colors

Character. A vector with color names of original raster, same order.

path_save_jpeg

Character. The path of output graph in .jpeg format.

Value

A jpeg file with bar or line graph that represents the input data.

Author(s)

Carlos Alexandre Romani


car13romani/LuccPL documentation built on Feb. 2, 2020, 4:36 a.m.