Re: [R] plot in package psych with function error.bars.by

2014-06-16 Thread Tham Tran
Hi William, I've just updated your latest package "psych_1.4.6.11.zip" from server "personality-project/r/src/contrib/". One time the updating process was finished, i tried to run based samples code: require(psych) keys.list=list(Agree=c(-1,2:5),Conscientious=c(6:8,-9,-10),Extraversion=c(-11,-12,

Re: [R] plot in package psych with function error.bars.by

2014-06-08 Thread Tham Tran
Dear William, Thanks to your answer, i no longer waste time trying to get a solution for this question. I'm waiting your next release. Tham -- View this message in context: http://r.789695.n4.nabble.com/plot-in-package-psych-with-function-error-bars-by-tp4691632p4691877.html Sent from the R

Re: [R] plot in package psych with function error.bars.by

2014-06-04 Thread Tham Tran
Hi Jim, Thank you for your answers. I also don't know where does the error like you mentioned come from. But for me, R works normally with the codes following: require(psych) keys.list=list(Agree=c(-1,2:5),Conscientious=c(6:8,-9,-10),Extraversion=c(-11,-12,13:15),Neuroticism=c(16:20),Openness =

[R] plot in package psych with function error.bars.by

2014-06-03 Thread Tham Tran
), lty=1 ,xlab="Age",ylab="Mean item score") But there is a problem: Error in localWindow(xlim, ylim, log, asp, ...) : formal argument "pch" matched by multiple actual arguments Anyone can help me for this problem. Many thanks. Tham Tran -- View this message in

Re: [R] Multiple Comparisons-Kruskal-Wallis-Test: kruskal{agricolae} and kruskalmc{pgirmess} don't yield the same results although they should do (?)

2014-05-16 Thread Tham Tran
Dear Mr. Dalgaard, Could you help me know the name of post-hoc multi-comparaison test mentioned in kruskal function of agricolae package? Thank you in advance. Tham Tran -- View this message in context: http://r.789695.n4.nabble.com/Multiple-Comparisons-Kruskal-Wallis-Test-kruskal-agricolae

[R] function "Stack"

2014-03-24 Thread Tham Tran
Dears R Users, I have another question on function "stack". Given a data frame like: df=data.frame(a=c(3,5),b=c(2,8),a=c(9,1),b=c(6,4),check.names=F) a b a b 3 2 9 6 5 8 1 4 I would like to form a new data frame like: values ind 1 3 a 2 5 a 3 2 b 4 8 b

Re: [R] Merge two vectors into one

2014-03-24 Thread Tham Tran
Many thank for all your answers. it has helped me save time -- View this message in context: http://r.789695.n4.nabble.com/Merge-two-vectors-into-one-tp4687361p4687447.html Sent from the R help mailing list archive at Nabble.com. __ R-help@r-project.

[R] Merge two vectors into one

2014-03-22 Thread Tham Tran
Dear R users, Given two vectors x and y a=1 2 3 b=4 5 6 i want to combine them into a single vector z as 1 4 2 5 3 6 Thanks for your help Tham -- View this message in context: http://r.789695.n4.nabble.com/Merge-two-vectors-into-one-tp4687361.html Sent from the R help mailing list archive