简体   繁体   中英

Error “could not find function nnet” in R

I am trying to use the function nnet after installing neuralnet package and using the code: library(neuralnet) and still get this error all the time. Does anyone can help me to solve the problem? thanks

Function nnet is not part of the neuralnet package. The function nnet is part of the nnet package. You need to install the package nnet and load it with library(nnet) .

Are you sure there is such a function in the package? It is not mentioned in the manual of CRAN: https://cran.r-project.org/web/packages/neuralnet/neuralnet.pdf .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM