I'm new to Rstudio programming and I got problem with creating a PDF, R show error that 'can't find scatterplot function' and can't process with PDF creation. I've been able to create test PDF, though.
The problematic chunk looks like this:
scatterplot(tablica$kurs, tablica$stopa_procentowa,
smoother=NULL,
reg.line = lm,
boxplots=FALSE,
main="Wykres rozrzutu dla zmiennych kursy i stopy procentowej")
I have installed packeges:
library("readxl")
library("magrittr")
library("dplyr")
library("plotly")
library("tinytex")
library("gridExtra")
library("reshape2")
library("kableExtra")
library("stargazer")
library("tseries")
library("stats")
library("knitr")
And also car.