-
Notifications
You must be signed in to change notification settings - Fork 19
Open
Description
It is not possible to pass the nv argument to irlba() via ... in prcomp_irlba()
Repro:
library(sfdep)
library(spdep)
library(spatialreg)
geom <- guerry$geometry
pnts <- st_centroid(geom)
# neighbors via contiguity
nb <- st_contiguity(geom)
# gaussian kernel weights for neighbors
wt <- st_kernel_weights(nb, pnts, "gaussian")
listw <- nb2listw(nb, wt)
m <- as(listw, "CsparseMatrix")
comps <- irlba::prcomp_irlba(m, n = 10, nv = 100)
#> formal argument "nv" matched by multiple actual argumentsReactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels