| grant_fun | R Documentation | 
Grant (linear phaseout)
grant_fun(type, sD, yeartime)
type | 
 car type bev, phev, hev, diesel, petrol  | 
sD | 
 scenarion dataframe  | 
yeartime | 
 decimal time  | 
grant level at yeartime. 1 is current grant level, 0 is no grant
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.