Displaying 20 results from an estimated 6000 matches similar to: "Comparing loadings (next to each other)"
2009 Jun 06
2
A very frustrating read.table error message
Dear Colleagues,
Occasionally I deal with computer-generated (i.e., websurvey) data
files that haven't quite worked correctly. When I try to read the data into
R, I get something like this:
Error in scan(file, what, nmax, sep, dec, quote, skip, nlines, na.strings,
:
line 26 did not have 648 elements
...is there any way to get R to tell me how many elements line 26 *did*
have? That
2006 Aug 08
3
Pairwise n for large correlation tables?
Hello,
I'm using a very large data set (n > 100,000 for 7 columns), for which I'm
pretty happy dealing with pairwise-deleted correlations to populate my
correlation table. E.g.,
a <- cor(cbind(col1, col2, col3),use="pairwise.complete.obs")
...however, I am interested in the number of cases used to compute each
cell of the correlation table. I am unable to find such a
2009 Mar 24
1
Why na.rm=FALSE is the default
Dear Colleagues,
I've been searching for a post or article or something which
explains why having na.rm=FALSE or na.action=na.fail as the default is a
better choice than TRUE or na.omit.
I understand the basic argument: it does not make sense to average a
nonexistance into an aggregate, and removing them implicitly leads to
accidental pairwise deletion in some cases, and sum(x) /
2009 Apr 24
1
Sem and nlm and ols instead of ml
Dear colleagues,
Has anybody any experience using the sem package to fit structural
equation models using a fitting function other than ML? I have heard tell
that OLS may provide better estimates when using standardized matrices
generated from small sample sizes, so I was interested in comparing the two
for a few models. However, ML appears to be hard-coded into the source for
sem...but maybe
2007 Aug 27
2
Max vs summary inconsistency
Hello,
I'm having the following questionable behavior:
> summary(m)
Min. 1st Qu. Median Mean 3rd Qu. Max.
1 13000 26280 25890 38550 50910
> max(m)
[1] 50912
> typeof(m)
[1] "integer"
> class(m)
[1] "integer"
...it seems to me like max() and summary(m)[6] ought to return the same
number. Am I doing something wrong?
I'm
2009 Jan 26
2
Power analysis for MANOVA?
Hello,
I have searched and failed for a program or script or method to
conduct a power analysis for a MANOVA. My interest is a fairly simple case
of 5 dependent variables and a single two-level categorical predictor
(though the categories aren't balanced).
If anybody happens to know of a script that will do this in R, I'd
love to know of it! Otherwise, I'll see about writing one
2008 Sep 10
6
request: most repeated component of a list
Dear R community
I have stored the results of arrays in a list consist of J-components (say 200 components). Each component containing same no of columns but may be different no of rows. e.g
[[1]]
[,1] [,2] [,3] [,4] [,5]
[1,] 4 0 0 0 0
[2,] 4 3 4 0 0
[3,] 4 3 4 0 0
[4,] 4 3 0 0 0
[[2]]
[,1] [,2] [,3] [,4] [,5]
2009 Jan 31
2
Tunnelling X for R graphics
Dear colleagues,
I run R on a few different machines, and view graphs and the like by
tunnelling X through SSH to my local machine. This is useful for me because
my local machine can't easily handle some of the data sets I work with.
However, when an ssh connection dies, the tunnelled X session also
dies, which breaks R's device connection, generating this error:
> Error: X11
2009 Aug 11
3
loadings function (PR#13886)
Full_Name: Mike Ulrich
Version: 2.9
OS: Mac OSX
Submission from: (NULL) (69.169.178.34)
The help documentation for loadings() lists more then one parameter. The
function call only expects one parameter. The digits, cutoff, and sort
parameters are not used in the function.
## S3 method for class 'loadings':
print(x, digits = 3, cutoff = 0.1, sort = FALSE, ...)
## S3 method for class
2008 Sep 08
4
mixed model MANCOVA
Hello,
I need to perform a mixed-model (with nesting) MANCOVA, using Type III sums of squares. I know how to perform each of these types of tests individually, but I am not sure if performing a mixed-model MANCOVA is possible. Please let me know.
Erika
<>< <>< <>< <>< <>< <>< <><
Erika Crispo, PhD candidate
2009 Aug 07
1
Bug in nlm, found using sem; failure in several flavors (PR#13883)
This message is in MIME format. The first part should be readable text,
while the remaining parts are likely unreadable without MIME-aware tools.
--1660387551-150661043-1249684349=:2997
Content-Type: TEXT/PLAIN; charset=iso-8859-1; format=flowed
Content-Transfer-Encoding: QUOTED-PRINTABLE
Hi Jeff,
=09As mentioned in my message, I *did* replicate on another platform.=20
One platform was
2010 Mar 16
2
PCA - blank loadings
Hi,
I have successfully completed a PCA and printed the loadings, however,
numerous values are blank. I know that this means the values are just very
small but not equal to zero.
Is there a way to print out the loadings, including the very small values, I
need them for graphing purposes.
Thanks,
Xan
[[alternative HTML version deleted]]
2008 May 16
2
Configure errors say to report here... (PR#11470)
Hi,
I'm attempting to compile R 2.7.0 on my G5, which is running OSX
10.5.2. Yes, I know there is a precompiled binary, but my experience has
shown that if I hand-compile ATLAS on my machine and then link R against it
when compiling, R runs faster, hence me compiling it myself.
Anyway, I have this set of errors:
checking X11/Intrinsic.h usability... no
checking X11/Intrinsic.h presence...
2009 Nov 09
3
Hand-crafting an .RData file
Hello,
I frequently have to export a large quantity of data from some
source (for example, a database, or a hand-written perl script) and then
read it into R. This occasionally takes a lot of time; I'm usually using
read.table("filename",comment.char="",quote="") to read the data once it is
written to disk.
However, I *know* that the program that generates
2009 Aug 07
0
Bug in nlm, found using sem; failure in several flavors (PR#13882)
Adam,
It seems that your attachment didn't make it through.
That aside, my experience with strange errors like those (random type
not implemented ones) has been that you may be looking at a memory
problem on you machine. Given that you can't replicate on another
platform (and the .csv file didn't come through), I would think it
wise to start there.
My 2c. And I love bacon too :)
2008 May 02
2
Coercing by/tapply to data.frame for more than two indices?
Dear Colleagues,
Apologies for a long email to ask what I feel may be a very simple
question; I figure it's better to overspecify my situation.
I was asked a question, recently, by a colleague in my department
about pre-aggregating variables, i.e., computing the mean of defined subsets
of a data frame. Naturally, I thought of the 'by' and 'tapply' functions, as
2009 Aug 07
1
Bug in nlm, found using sem; failure in several flavors (PR#13881)
This message is in MIME format. The first part should be readable text,
while the remaining parts are likely unreadable without MIME-aware tools.
--1660387551-1458482416-1249639718=:2997
Content-Type: TEXT/PLAIN; CHARSET=US-ASCII; FORMAT=flowed
Content-ID: <Pine.LNX.4.64.0908071039211.2997 at parser.ilovebacon.org>
Hello,
There appears to be a bug in the nlm function, which I
2004 Nov 03
2
Princomp(), prcomp() and loadings()
In comparing the results of princomp and prcomp I find:
1. The reported standard deviations are similar but about 1% from
each other, which seems well above round-off error.
2. princomp returns what I understand are variances and cumulative
variances accounted for by each principal component which are
all equal. "SS loadings" is always 1.
3. Same happens
2011 May 17
1
help with PLSR Loadings
Hi
When I call for the loadings of my plsr using the command,
x <- loadings(BHPLS1)
my loadings contain variable names rather than numbers.
>str(x)
loadings [1:94727, 1:10] -0.00113 -0.03001 -0.00059 -0.00734 -0.02969 ...
- attr(*, "dimnames")=List of 2
..$ : chr [1:94727] "PCIList1" "PCIList2" "PCIList3" "PCIList4" ...
..$ : chr
2009 Jan 13
1
PCA loadings differ vastly!
hi, I have two questions:
#first (SPSS vs. R):
I just compared the output of different PCA routines in R (pca, prcomp,
princomp) with results from SPSS. the loadings of the variables differ
vastly! in SPSS the variables load constantly higher than in R.
I made sure that both progr. use the correlation matrix as basis. I
found the same problem with rotated values (varimax rotation and rtex=T