Newer
Older
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/FarmDynR.R
\name{scen_diff}
\alias{scen_diff}
\title{Calculates the relative difference of the reference and the scenarios in a new column}
\usage{
scen_diff(data, vars_to_diff)
}
\arguments{
\item{data}{A dataframe}
\item{vars_to_diff}{A vector with the names of the variables to calculate the difference}
}
\value{
A dataframe with the new columns
}
\description{
Calculates the relative difference of the reference and the scenarios in a new column
}