Error in effect_plot(model, pred = "Illiteracy") : could not find function "effect_plot"

0 votes

Hi Guys,

I am trying to use the effect_plot() function in my r program. But it is showing me the below error.

$ effect_plot(model, pred = "Illiteracy")
Error in effect_plot(model, pred = "Illiteracy") : 
  could not find function "effect_plot"
Sep 15 in Data Analytics by akhtar
• 28,160 points
57 views

1 answer to this question.

0 votes

Hi@akhtar,

I think you don't have jtools package installed in your system. Before using this function you need to install jtools package in your system. You can use the below command.

$ install.packages('jtools')
WARNING: Rtools is required to build R packages but is not currently installed. Please download and install the appropriate version of Rtools before proceeding:
https://cran.rstudio.com/bin/windows/Rtools/
Installing package into ‘C:/Users/Nadeem Akhter/Documents/R/win-library/4.0’
(as ‘lib’ is unspecified)
also installing the dependency ‘pander’
trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.0/pander_0.6.3.zip'
Content type 'application/zip' length 1581086 bytes (1.5 MB)
downloaded 1.5 MB
trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.0/jtools_2.1.0.zip'
Content type 'application/zip' length 2249912 bytes (2.1 MB)
downloaded 2.1 MB
package ‘pander’ successfully unpacked and MD5 sums checked
package ‘jtools’ successfully unpacked and MD5 sums checked
The downloaded binary packages are in
C:\Users\Nadeem Akhter\AppData\Local\Temp\Rtmpa2D4Kj\downloaded_packages
answered Sep 15 by MD
• 65,200 points

Related Questions In Data Analytics

+1 vote
1 answer
+3 votes
2 answers

Error: could not find function - R Programming

Yes, Just like @Maverik said, It happens ...READ MORE

answered Aug 22, 2019 in Data Analytics by anonymous
• 32,490 points
19,265 views
0 votes
1 answer

Error saying "could not find function "read_html"" when trying to use read_html function

Hey @Ali, Execute the following two commands: install.packages(&l ...READ MORE

answered Nov 20, 2018 in Data Analytics by Maverick
• 10,820 points
973 views
+1 vote
1 answer

Error saying "could not find function "shinyUI"" in shiny R

Its a small spelling mistake that you've ...READ MORE

answered Nov 28, 2018 in Data Analytics by Maverick
• 10,820 points
972 views
+1 vote
1 answer

Error saying "could not find function dashboardPage" in shiny R

Include this line in the code: Library(shinydashboard) READ MORE

answered Nov 28, 2018 in Data Analytics by Maverick
• 10,820 points
718 views
0 votes
1 answer
+3 votes
1 answer