myddt: *myddt*

View source: R/myddt.R

myddtR Documentation

myddt

Description

Function to filter, quadratic graph, and export DDT data

Usage

myddt(df, cond, xAxis = "WEIGHT", yAxis = "LENGTH", col = "RIVER", title = "Aruksh Patel", pathName = NA)

Arguments

df

DDT Data Frame

cond

Conditional statement to which to the data should be filtered by

xAxis

Dependent Variable for your graph – DEFAULT: WEIGHT

yAxis

Independent Variable for your graph – DEFAULT: LENGTH

col

Color of the points on graph – DEFAULT: RIVER

title

Title of Graph – DEFAULT: ARUKSH PATEL

pathName

Path and name of the output file. – DEFAULT: NA

Details

NA

Value

dfData

Filtered Data as data frame

ggplot

ggplot2 graph

RelativeFilePath

Filepath relative to the R script

AbsoluteFilePath

Absolute Filepath in the system

Note

NA

Author(s)

Aruksh Patel

References

ggplot2 and dplyr

See Also

NA

Examples

## Not run: 

myddt(df = ddt.df, cond = RIVER == "TRM", title = "TRM River Graph")

## End(Not run)

arukshpatel/MATH4753.ArukshPatel.SP22 documentation built on March 19, 2022, 3:38 a.m.