Displaying 20 results from an estimated 900 matches similar to: "Error analysis for circular data"
2010 Feb 15
1
tree-drawing in R ?
Hello,
I wonder whether binary (rooted) trees with simple
labels (say, integers) can be drawn by some R-package?
Couldn't find one.
Just to make sure (since "trees" can be many things): I mean
those computer-science creatures, with roots and subtrees.
Thanks for your consideration in any case
Oliver
P.S. Perhaps there is some graph-drawing package? (Here a "graph"
2010 Feb 12
3
summary statistics for grouped data
Hello list:
Is there an easy way (preferably through one of the standard R packages) of obtaining summary statistics for grouped data? I could split the data into classes by hist, and then progressively calculate all the "columns" i need to obtain the mean and standard deviation, but i was looking for a single function that could do that with a data vector.
Thanks in advance,
jose
2010 Mar 06
2
Plot interaction in multilevel model
I am trying to plot an interaction in a multilevel model. Here is some
sample data. In the following example, it is longitudinal (i.e., repeated
measures), so the outcome, score (at each of the three time points), is
nested within the individual. I am interested in the interaction between
gender and happiness predicting score.
id <- c(1,1,1,2,2,2,3,3,3)
age <-
2018 Sep 17
3
diag(-1) produces weird result
Dear list
A strange bug in the psych package is due to the behavior of the diag function:
It gives the expected values for 1, a vector (-1,1), but not for -1
Is this a known feature?
> diag(1)
[,1]
[1,] 1
> diag(c(-1,1))
[,1] [,2]
[1,] -1 0
[2,] 0 1
> diag(-1)
Error in diag(-1) : invalid 'nrow' value (< 0)
Bill
William Revelle
2015 Apr 26
1
CRAN submit page down
On 26.04.2015 13:23, William Revelle wrote:
> This still seems to be the case.
>
> I tried uploading the most recent version of psych and got as far as the Step 3 page which says that it has sent out an email.
> However, although normally this step takes agout 1 minute, nothing has happened for 16 hours.
>
> Should we just use the old system of uploading to the ftp site and
2010 Jun 17
2
Plotting confidence intervals of two response on same graph (panel).
Hello!
I would like to draw a graph like the following:
http://www.optics.rochester.edu/workgroups/cml/opt307/spr04/pavel/plot_small.jpg
Aim is to plot confidence intervals of treatments for X(=response1) and
Y(=response2) axis simultaneously to visualize aggreement of confidence
interval for two responses.
Can anyone please provide me some direction to start with?
Thanks!
--
Kim.
2015 Apr 23
2
CRAN submit page down
Andrie noticed that first, and I can confirm: from our end, it looks as if
the backend to http://cran.r-project.org/submit.html is currently down.
Dirk
--
http://dirk.eddelbuettel.com | @eddelbuettel | edd at debian.org
2012 Nov 27
3
Psych package: fa.diagram, how to re-arrange layout so numbers do not over-write each other
Dear R help
I have conducted a fa() analysis, and I want to use fa.diagram to assess the extent to which the 11 latent factors predict the 37 items in a psychological battery. However, the display on the screen has very large font size for the coefficients of the relationship between the 11 factors and the 37 items, so the numbers overlap and are therefore illegible. When I output this to a
2024 Jan 17
1
Determining the size of a package
Dear fellow developers,
Is there an easy way to determine how big my packages (psych and psychTools) will be on various versions of CRAN?
I have been running into the dread 'you are bigger than 5 MB" message for some installations of R on CRAN but not others. The particular problem seems to be some of the mac versions (specifically r-oldrel-macos-arm64 and r-release-macos-X64 )
When
2008 Jul 01
3
reshape matrices
Hello everyone,
I need reshape an array. For example, if we have next array:
> a <- c(1,2,3,4,5,6,7,8,9,10,11,12)
> dim(a) <- c(2,2,3)
> a
, , 1
[,1] [,2]
[1,] 1 3
[2,] 2 4
, , 2
[,1] [,2]
[1,] 5 7
[2,] 6 8
, , 3
[,1] [,2]
[1,] 9 11
[2,] 10 12
I need to get next matrices:
1 2 3 4
5 6 7 8
9 10 11 12
1 3 2 4
5
2014 Jun 19
2
Principal component analysis with EQUAMAX rotation
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
how to use this in the principal component analysis.
Maybe someone can give an example on how to do
2011 Nov 03
1
How to test package on Solaris
Dear R developers,
Is there a way to pretest a package on the Solaris-sparc and solaris-x86 systems equivalent to the win-builder check?
My psych package (1.1.10 and 1.1.11) passes all checks for the Mac on my system, on the win-builder checking system supported by Uwe, and then passes Kurt's tests to install on CRAN. But it then fails when being built for the solaris systems.
Rather
2011 May 07
3
how to not match partial names
Dear friends,
How do I stop partial matching of list names?
e.g.,
x <- list(AAAA="aaaaa", BBBBB="bbbbb")
is.null(x$A) #returns FALSE even though there is no element A.
if(is.null(x$A)) {result <- x$BBBB} else {result <- x$A}
result #is aaaa even though there is no x$A element
x <- list(CCCC="aaaaa", BBBBB="bbbbb")
if(is.null(x$A))
2010 Apr 05
1
strange behavior of matrix
Dear R list,
I have discovered a seemingly peculiar feature when using a matrix to
index itself (yes, this is strange code, which I have now modified to
be more reasonable).
#this makes sense
s <- matrix(1:3,nrow=1)
s[s] #all three elements are shown
#but when I try
s <- matrix(1:2,nrow=1)
s[1] #fine, the first element is shown
s[2] #fine, the second element is
2008 Jul 08
1
Help with eigenvectors
Hi everybody,
I have some problems with the function eigen. I have a square matrix and I
want to calculate the eigenvalues and eigenvectors. I apply the function
eigen and I get it, however when I solve the same problem in Statistica
software, I realise that some eigenvectors are the opposite. How can I get
the same values?
Thanks in advance
[[alternative HTML version deleted]]
2009 Nov 23
1
Doubt about CCA and PCA
Dear R community,
I'm working with PCA and CCA methods, and I have a theoretical question.
Why is it necesary to have more temporal values than variables when the CCA
O PCA are going to be used?
Could you advise to me some any paper about it?
Thanks in advance,
[[alternative HTML version deleted]]
2010 Jun 08
1
color of histgram in Psych package (pairs.panels)
Hello,
I searched the archives but found no answers.
How to modify the hisgram color of function pairs.panels of Psych package ?
I tried col() but it was the line color modified.
Thanks.
Elaine
[[alternative HTML version deleted]]
2009 Aug 21
1
intra-class correlation? coherence among multiple ordinal responses
I have a quick statistical question and hoped somebody has a tip for me
without me having to go to the local statistician on Monday.
I assess 4 statements from 90 subjects. Each of the 4 statements receives
one of three responses (say -1, 0, or 1). I can use Cramer's V or Spearman
correlations to assess the correlation between each pair of statements, but
I am looking for a measure of
2011 Oct 11
1
Labels in ICLUST
Dear all,
I can't get the labels slot in ICLUST to accept a character vector.
library(psych)
test.data <- Harman74.cor$cov
ic.out <- ICLUST(test.data,nclusters
=4,labels=letters[1:ncol(test.data)]) ##?Error in !labels : invalid
argument type
ic.out <- ICLUST(test.data,nclusters =4,labels=1:ncol(test.data)) ## OK
Any ideas?
2010 Apr 10
3
simple data import of .csv
Hello,
I am a complete beginner to R. I use a mac and want to import and read a
.csv dataset stored as .csv file.
I understand I eventually enter <- read.csv("size.csv", header=T) , but I
can't get R to find my file, which is called size.csv and located
/Users/davidoconnor/Desktop/Eart-125/size.csv
Thank you very much!
David
--
View this message in context: