Description Usage Arguments Value See Also Examples
The title of map of plot heavily depends on the input parameters. To help user generate the title, this function will guess the range and type of inputs and provide a title. Always, this title can be override by ggtitle().
1 2 3 |
Year |
the temporal coverage of the data to visualize. See link for available period. |
Nutrient |
the nutrient type of fertilizer from usfertilizer. Has to be N, P or both (NULL). |
Input_Type |
the input source of fertilizer, should be manure, fertilizer. |
Farm_Type |
the spatial source of fertilizer, should be farm, nonfarm or both. |
State |
the states that will show in the plot,default: all states. |
County |
the counties that will show in the plot, default: all counties. |
State_title |
the user-defined title for state. |
County_title |
the user-defined title for county. |
FIPS |
FIPS numbers of interest, defalut: all the counties. |
level |
the spatial resolution of map, should be county or state, default county. |
a ggtile obejct.
link(get_data), link(get_FIPS)
1 2 3 4 | require(ggfertilizer)
Year = 2002
Nutrient = "N"
get_title(Year = Year, Nutrient = Nutrient)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.