Open JosiahParry opened 6 months ago
It is not possible to pass the nv argument to irlba() via ... in prcomp_irlba() Repro:
nv
...
prcomp_irlba()
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 arguments
It is not possible to pass the
nv
argument to irlba() via...
inprcomp_irlba()
Repro: