Re: [R] PCA with random effects

2018-04-02 Thread Bert Gunter
This is a statistical question, which is typically off topic here. This list is primarily concerned with R programming questions, although the two areas sometimes do intersect. I suggest you post on a statistical list such as stats.stackexchange.com instead, especially if you do not get a useful re

[R] xgboost: problems with predictions for count data [SEC=UNCLASSIFIED]

2018-04-02 Thread Li Jin
Hi All, I tried to use xgboost to model and predict count data. The predictions are however not as expected as shown below. # sponge count data in library(spm) library(spm) data(sponge) data(sponge.grid) names(sponge) [1] "easting" "northing" "sponge" "tpi3" "var7" "entro7" "bs34

[R] PCA with random effects

2018-04-02 Thread David Sidhu
I have the results of a rating study in which ~30 participants rated a subset of 20 items on 25 different dimensions. I would like to perform PCA on these ratings to reduce the 25 different dimensions. However, instead of doing this on the mean ratings for each item, I would like to perform the PC

Re: [R] lintr error

2018-04-02 Thread Thierry Onkelinx
Try to (re-)install magrittr. Best regards, ir. Thierry Onkelinx Statisticus / Statistician Vlaamse Overheid / Government of Flanders INSTITUUT VOOR NATUUR- EN BOSONDERZOEK / RESEARCH INSTITUTE FOR NATURE AND FOREST Team Biometrie & Kwaliteitszorg / Team Biometrics & Quality Assurance thierry.on

[R] lintr error

2018-04-02 Thread Christian
library("lintr") Error: package or namespace load failed for 'lintr' in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]): there is no package called 'magrittr' library("magrittr") Error in library("magrittr") : there is no package called 'magrittr' session.Info():