# NOT RUN {
data("Lsun3D")
Data=Lsun3D$Data
Cls=Lsun3D$Cls
InputDistances=as.matrix(dist(Data))
#If not called separately setGridSize() is called in Pswarm
LC=setGridSize(InputDistances)
# }
# NOT RUN {
res=Pswarm(InputDistances,LC=LC,Cls=Cls,PlotIt=TRUE)
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab