application_capsnet
like in keras R package.You can install capsnet from github with:
# install.packages("devtools")
devtools::install_github("dfalbel/capsnet")
This is a basic example which shows you how to solve a common problem:
## basic example code