Saving a model in R

r

#1

I have trained a neural network in R called model1 using the nnet package. How can I save this model in R?


#2

@Harshita_Dudhe-you can use script to save the code or model and then you can source the code using
source(“file name”) in R console

Hope this helps!
Regards,
hinduja1234