![]() # load dependencies library ( biscale ) # create classes data <- bi_class ( stl_race_income, x = pctWhite, y = medInc, style = "quantile", dim = 3 ) ![]() #Biscale function rcode installIf you want to use them, you can either install these packages individually (faster) or install all of the suggested dependencies at once (slower, will also give you a number of other packages you may or may not want): Like sf, it is suggested because none of the functions in biscale call cowplot directly. All of the examples in the package documentation utilize it to construct final map images that combine the map with the legend. ![]() The other suggested dependency that users may want to consider installing is cowplot. Linux users will need to install several open source spatial libraries to get sf itself up and running. Windows and macOS users should be able to install sf without significant issues unless they are building from source. However, the most direct approach to using biscale is with sf objects, and we therefore recommend users install sf.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |