patternize icon indicating copy to clipboard operation
patternize copied to clipboard

PCA problem

Open jevohna opened this issue 3 years ago • 1 comments

Im trying to use the pca0ut function on a subsample of my list. I created a new list and use the following code oykelList <- list(oykelsuccess, oykelfail) colList <- c("blue", "orange") symbolList <- c(16,17) pcaOut <- patPCA(rasterList_lanRGB, oykelList, colList, symbolList = symbolList, plot = TRUE)

but it just shows all my data points. this shows the four different categories, and I'm just trying to visualise the blue and orange alone, everythingplot but it comes out like this fail

jevohna avatar Jul 07 '21 10:07 jevohna

Hi,

Have you tried also making a subset of the rasterList_lanRGB that only contains those samples? Otherwise, it will keep those samples and just reuse the symbols and colors until all have a color assigned. If I’m correct...

Steven

From: @.> Sent: Wednesday, July 7, 2021 6:34 AM To: @.> Cc: @.***> Subject: [StevenVB12/patternize] PCA problem (#23)

Im trying to use the pca0ut function on a subsample of my list. I created a new list and use the following code oykelList <- list(oykelsuccess, oykelfail) colList <- c("blue", "orange") symbolList <- c(16,17) pcaOut <- patPCA(rasterList_lanRGB, oykelList, colList, symbolList = symbolList, plot = TRUE)

but it just shows all my data points. this shows the four different categories, and I'm just trying to visualise the blue and orange alone, [everythingplot]https://user-images.githubusercontent.com/81561838/124744791-0705e200-df17-11eb-926e-024f9cfcd5d3.png but it comes out like this [fail]https://user-images.githubusercontent.com/81561838/124744979-3288cc80-df17-11eb-8b96-9f9f79c29c0e.png

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/StevenVB12/patternize/issues/23, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABQOC43QB5CEGR7C56ZIS43TWQUTTANCNFSM476MEJUQ.

StevenVB12 avatar Jul 08 '21 12:07 StevenVB12