Installed stepwise regression package as below
install.packages("My.stepwise")
trying URL 'https://cran.rstudio.com/bin/macosx/el-capitan/contrib/3.5/My.stepwise_0.1.0.tgz'
Content type 'application/x-gzip' length 40420 bytes (39 KB)
==================================================
downloaded 39 KB
The downloaded binary packages are in
/var/folders/gk/h8604np10clcj0_75_b2pcp00000gn/T//RtmpbTdi63/downloaded_packages
WHEN I TRY to run the example from the function help window, R says the function i just installed doesn't exist
data("LifeCycleSavings")
names(LifeCycleSavings)
[1] "sr" "pop15" "pop75" "dpi" "ddpi"
dim(LifeCycleSavings)
[1] 50 5
my.variable.list <- c("pop15", "pop75", "dpi")
My.stepwise.lm(Y = "sr", variable.list = my.variable.list, in.variable = c("ddpi"),
Error in My.stepwise.lm(Y = "sr", variable.list = my.variable.list, in.variable = c("ddpi"), :
could not find function "My.stepwise.lm"
THANK YOU FOR YOUR HELP AND FOR THE WONDERFUL R STUDIO!