powered by
This function returns a picture where each pixel value corresponds to its coordinate on the first component of PCA (not scaled)
pcapic(dfbool, d = c(203, 204), lim = NULL)
result from reshapimg, with return.bool=TRUE
d is the final size of the image. It has to correspond to the initial images taken to run the reshapimg
limit of the colorscale
Returns the resulted matrix with d dimensions, and plots the image with pca.
reshapimg
# NOT RUN { data(dfboolTest) pcapic(dfbool=dfboolTest,lim=c(-1,1)) # }
Run the code above in your browser using DataLab