Horje
use packages in r Code Example
use packages in r
#Install package. 
install.packages("<package_name>")

#Load the package to use it in your code.
library (<package_name>)

#NB: If using an anaconda environment, install packagesin your terminal by 
#running code below:
conda install r-<package_name)




17

Related
r clean environment Code Example r clean environment Code Example
add a vertical line in ggplot Code Example add a vertical line in ggplot Code Example
r change row names of a dataframe Code Example r change row names of a dataframe Code Example
r ggplot regression line Code Example r ggplot regression line Code Example
read excel in r Code Example read excel in r Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
8