twoway_lineplot: Two Way Lineplot

Description Usage Arguments

View source: R/twoway_lineplot.R

Description

Two way lineplot with variable(s) of interest over time period. twoway_lineplot() simply creates a lineplot of a variable progression over chosen time period. twoway_lineplotf() facets by a variable so that the objective variable is isolated for observation in each characteristic.

Usage

1
2
twoway_lineplot(data, date, yname, xlabel, ylabel, ymean, ymlabel, guidecolor)
twoway_lineplotf(data, xname, yname, bycolor, bywrap, xlabel, ylabel)

Arguments

data

Dataset to use for plot, must be in data.frame to plot.

date

Date or time period considered, has to be in format of "month/date/year"

xname

Consists of x variable of interest.

yname

Consists of y variable of interest.

bywrap

Chosen variable to facet by in order to display by each characteristic

bycolor

Chosen variable for different lines within facet's characteristics (recommend objective variable)

xlabel

Name for x axis labels.

ylabel

Name for y axis labels.

ymean

Mean of the y variable of interest.

ymlabel

Name for mean of y variable label.

guidecolor

Title of Legend


bhsu4/weightprog documentation built on May 28, 2019, 7:10 p.m.