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 16, 2020 in Data Analytics by akhtar
• 38,230 points
2,814 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 16, 2020 by MD
• 95,440 points

Related Questions In Data Analytics

+1 vote
1 answer
0 votes
1 answer

Error: could not find function ... in R

If you encounter an error stating "'some.function' ...READ MORE

answered Jun 22, 2023 in Data Analytics by anonymous
• 1,180 points
318 views
+3 votes
2 answers

Error: could not find function - R Programming

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

answered Aug 23, 2019 in Data Analytics by anonymous
• 33,030 points
32,827 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,840 points
2,304 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 29, 2018 in Data Analytics by Maverick
• 10,840 points
3,099 views
0 votes
1 answer

Error in ggplot(iris, aes(x = Species, y = Sepal.Length)) : could not find function "ggplot"

Hi@akhtar, You have to install ggplot module in ...READ MORE

answered Jun 10, 2020 in Data Analytics by MD
• 95,440 points
2,010 views
+1 vote
2 answers

Which function can I use to clear the console in R and RStudio ?

Description                   Windows & Linux           Mac Clear console                      Ctrl+L ...READ MORE

answered Apr 17, 2018 in Data Analytics by anonymous
73,969 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP