I have created a multiple regression that is composed of numerous spline regression, linear terms and interaction terms. Here is my regression :
FinalModel<-lm(House_price~bs(total_number_of_rooms,knots=c(5),degree = 4)
+ bs(year_built,knots=c(1976,1996,2006),degree = 9)
+ bs(square_feet,knots=c(104),degree = 2)+ number_rooms" * "number_kitchen + home_type" * "genre_documentary + Number_windows" * "bulding_companies)
How can I find the coefficient and the equation formula for all regressions for each spline?
I have installed this package install_github("ZheyuanLi/SplinesUtils")
To use this library: RegBsplineAsPiecePoly
and it did not work.
Message error: Error in RegBsplineAsPiecePoly and Required SplineTerm not found!