[R] Principal component analysis with EQUAMAX rotation

2014-06-19 Thread Wagner
Hello, I need to do a principal component analysis with EQUAMAX-rotation. Unfortunately the function principal() I use normally for PCA does not offer this rotation specification. I could find out that this might be possible somehow with the package GPArotation but until now I could not figure out

Re: [R] Principal component analysis with EQUAMAX rotation

2014-07-07 Thread Wagner
That's what I was looking for, thank you very much! -- View this message in context: http://r.789695.n4.nabble.com/Principal-component-analysis-with-EQUAMAX-rotation-tp4692337p4693612.html Sent from the R help mailing list archive at Nabble.com. __ R

[R] Trace and inverse of big matrices

2014-08-25 Thread Wagner Bonat
ut my equation is a little bit different. Any help is welcome. I am thinking about to use RcppArmadillo, but I am not sure that it is able to compute my equations. Thank you everyone. -- Wagner Hugo Bonat LEG - Laboratório de Estatística e Geoinformação UFPR - Universidade Federal do P

Re: [R] Trace and inverse of big matrices

2014-08-28 Thread Wagner Bonat
;- Matrix(0,nrow=nrow,ncol=ncol, sparse = TRUE) ## Restrições de borda R[1,c(1,2)] <- c(1,-1) R[ncol,c(ncol-1,ncol)] <- c(-1,1) ## Corpo da matriz n <- ncol-1 for(i in 2:n){ R[i,c(i-1,i,i+1)] <- c(-1,2,-1)} R <- as(R, "symmetricMatrix") return(R)} 2014-08-25 18:29 G

[R] Trace of product of matrices

2014-10-19 Thread Wagner Bonat
)%*% solve(Wj,C))) Any idea is welcome. Thanks -- Wagner Hugo Bonat LEG - Laboratório de Estatística e Geoinformação UFPR - Universidade Federal do Paraná [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch

[R] Help regarding arules package

2008-07-16 Thread Daniel Wagner
Dear R experts,   I need help to make my little program efficient which now takes 2hrs to complete.   Using arules package I developed set of rules consisted of 900 rules. Now I want to check whether a lower rule is a subset of a higher premises rule. And if it is a subset of higher premise

[R] Order of columns(variables) in dataframe

2008-07-20 Thread Daniel Wagner
Dear R experts,   I have a dataframe with 4 columns (variables). I want to redorder (or reposition) these columns on the basis of a value in its last row. e.g.   df1<-data.frame( v1= c(2,3,1,9,5), v2=c(8,5,12,4,11), v3=c(7,8,2,6,9), v4=c(1,4,6,3,6))    > df1    v1 v2 v3 v4 1  2  8  7 

[R] How to get rule number in arules

2008-07-24 Thread Daniel Wagner
 Dear R experts   I generated rules using apriori method in arules package. Though I can access rules using %in% function but I am unable to access a specific rule by its unique identifier number. I want to use rule number for further analysis..   Thanking you in advance.   Daniel Amsterdam Â

[R] How to delete duplicate cases?

2008-07-24 Thread Daniel Wagner
Dear R users,   I have a dataframe with lot of duplicate cases and I want to delete duplicate ones which have low rank and keep that case which has highest rank. e.g   > df1   cno      rank 1  1342    0.23 2  1342    0.14 3  1342    0.56 4  2568    0.15 5  2568    0.89

[R] dynamic factor models

2020-10-07 Thread Clarisse Wagner
Please, Would you kindly inform me if you have any course that includes "dynamic factor models" ? Thank you Lisbon University Portugal [[alternative HTML version deleted]] __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see

[R] Error invalid graphics state using text()

2013-06-06 Thread Daniel Wagner
Hi all! I'm using ssplot for drawing a map of Austria and colour the nine provinces regarding their share of employment. Now I wanted to add the figures in each province and failed miserably. Using the locator() and text() function caused the error message "invalid graphics state".

[R] Derivative of expm function

2014-04-23 Thread Wagner Bonat
Sigma in relation the parameters par1, par2 and rho. Some idea ? -- Wagner Hugo Bonat LEG - Laboratório de Estatística e Geoinformação UFPR - Universidade Federal do Paraná [[alternative HTML version deleted]] __ R-help@r-project.org m

[R] Help - Trace of matrices

2013-12-06 Thread Wagner Bonat
equation many times. What is the better way to evaluate this equation in R ? Note that I need only the diagonal, I think is possible to calculate only the diagnonal, but how ?? -- Wagner Hugo Bonat LEG - Laboratório de Estatística e Geoinformação UFPR - Universidade Federal do Paraná

[R] RGL and Windows 7

2010-09-30 Thread Sven Wagner
Hi! For saving 3d plots I make use of the "rgl.snapshot" command provided within the rgl-Package. So far there was no problem using Windows XP, but under Windows 7 the result is a black image, however in the png-format (see attachment http://r.789695.n4.nabble.com/file/n2844487/Koll_perf.png ).

Re: [R] RGL and Windows 7

2010-10-01 Thread Sven Wagner
Thanks, but your suggestions don't solve the problem. Though, the plot is storable via the rgl.postscript command, but this increases computation time and memory requirements. -- View this message in context: http://r.789695.n4.nabble.com/RGL-and-Windows-7-tp2844487p2910131.html Sent from the R

[R] How to use FitAR with independent variables (like xreg for arima)?

2010-08-20 Thread Steffen Wagner
Hello, I would like to fit a linear model with autoregressive terms and independent variables. Since the largest AR-Term I am interested in is lag.max=336, the arima-function (package stats) does not work (maximum for arima: lag.max=100). The FitAR function (package FitAR) does allow model fitti

[R] About summary in linear models

2011-12-06 Thread Otto F. Wagner
Hello!!, for linear models fit I use Gretl, but now I'm starting to use R, I would like to know if is there some function to obtain a extended summary like in Gretl. I will write a example in Gretl Modelo 1: MCO, usando las observaciones 1968-1982 (T = 15) Variable dependiente: Invest Coefici