search for: bhpls1_loadings

Displaying 2 results from an estimated 2 matches for "bhpls1_loadings".

2011 May 17
1
Help with PLSR with jack knife
...he plsr using the commands: BHPLS1 <- plsr(GroupingList ~ PCIList, ncomp = 10, data = PLSdata, validation = "LOO") and BHPLS1 <- plsr(GroupingList ~ PCIList, ncomp = 10, data = PLSdata, validation = "CV") I have also used the following command to obtain the loadings BHPLS1_Loadings <- loadings(BHPLS1) Now I am unsure of how to utilise these to identify the significant variables. Do I need to use any loops? str(BHPLS1_Loadings) loadings [1:94727, 1:10] -0.00113 -0.03001 -0.00059 -0.00734 -0.02969 ... - attr(*, "dimnames")=List of 2 ..$ : chr [1:94727] &quo...
2011 Jun 08
1
Help with plotting plsr loadings
...duct this on my dataset i get the following error message. >plot(BHPLS1, "loadings", comps = 1:2, legendpos = "topleft", labels = "numbers", >xlab = "nm") Error in loadingplot.default(x, ...) : Could not convert variable names to numbers. str(BHPLS1_Loadings) loadings [1:8892, 1:60] -0.00717 0.00414 0.02611 0.00468 -0.00676 ... - attr(*, "dimnames")=List of 2 ..$ : chr [1:8892] "PCIList1" "PCIList2" "PCIList3" "PCIList4" ... ..$ : chr [1:60] "Comp 1" "Comp 2" "Comp 3"...