similar to: princomp error

Displaying 20 results from an estimated 500 matches similar to: "princomp error"

2007 Oct 16
1
data structure for plsr
All, I am working with NIR spectral data and it was great to find that the example in ?plsr also used spectral data. Unfortunately, I am having difficulty figuring out how the "yarn" dataset is structured to allow for the plsr model to read: library(pls) data(yard) yarn.oscorespls <- mvr(density ~ NIR, 6, data = yarn, validation = "CV", method = "oscorespls")
2007 Nov 26
1
mvr error in PLS package
All, I have been using a data set to build pls models for three different soil properties. Two of the three models run fine; however I receive the following error for the final model. > libs.IC.cal <- mvr(libs.IC.fmla, data = libsdata.cond.cal, ncomp=20,validation = "LOO", method = "oscorespls") Error in colMeans(x, n, prod(dn), na.rm) : 'x' must
2007 Sep 13
1
grouping data by a portion of the row name
I am attempting to write a routine where I can run PAM (partition around mediods) on a dataset containing multiple soil cores and PCA spectral data from several depths per core. I want to run PAM on each individual core, so I need to group the data by core to run the analysis. Below is an example of my data structure: Lab.id PC1 PC2 PC3 MAT057.2.5 2.438454966 -1.011182986 -3.040881377
2008 Dec 10
1
Error: protect () : protection stack overflow
I am attempting to create a formula using as.formula for a PLS analysis. I have used the code below successfully, but in a previous R version and with many fewer predictors. Any help getting all of these predictors into one formula would be greatly appreciated. TC.fmla <- as.formula(paste("TC ~ ", paste(vars, collapse= "+"))) As I mentioned, this code worked fine in a
2007 Jun 04
3
Mandriva Spring 2007 and R
I am new to Linux (not to R) and recently installed Mandriva Spring 2007 on my partitioned hard drive. My next objective is to install R in the Linux environment, unfortunately Mandriva is not one of the Linux distributions available for download... Could someone please let me know which distribution I should use? Thanks. Jonathan --------------------------------- Boardwalk for $500?
2007 Feb 27
1
compiling issues with Mandriva Linux 2007 Discovery
All, I am a new user to Linux but I am familiar with R. I have previously used and installed R on a Windows platform without problems. I recently set up a dual boot system (XP_64, Mandriva) to run R on a Linux platform in order to more efficiently handle large datasets. I have not done compiling before, but read the R instructions and followed to my best ability. I downloaded the most recent
2007 Mar 01
1
repost-configure error on Mandriva 2007
All, Apparently the attachment did not make it through the list serve. I am having difficulty installing R-2.4.1 on Mandriva Linux 2007 Discovery. Thanks to the help of Doug Bates I got further along the path (Thanks Doug!!). I now cannot figure out which line of code needs modified in order for configure to complete. Please see below for the last several lines of output. checking whether
2011 Mar 31
2
How to update R?
Hi, My R version is old, and I would like to update it. How can I update R and keep all the libraries? Thanks Best, Yunfei Li -------------------------------------------------------------------------------------- Research Assistant Department of Statistics & School of Molecular Biosciences Biotechnology Life Sciences Building 427 Washington State University Pullman, WA 99164-7520 Phone:
2011 Apr 09
3
In svm(), how to connect quantitative prediction result to categorical result?
Hi, I am studying using SVM functions of e1071 package to do prediction, and I found during the training data are "factor" type, then svm.predict() can predict data directly by categories; but if response variables are "numerical", the predicted value from svm will be continuous quantitative numbers, then how can I connect these quantitative numbers to categories? (for
2011 Apr 09
2
A question about "txtProgressBar" function
Hi, I tried to add a progress bar to my script, but it seems the "txtProgressBar" function will wipe out what I want to print before it(for example - the "Hello" in following script), and the parameters "title" and "label" do not work either. How can I put a title for the progress bar? or is there any other better function I can use? testit <-
2006 Mar 01
3
Help - lm, glm, aov results inconsistent with other stati stical package
1. You have levels(A) as "2" and "4", yet you showed equations for A=0 and A=1? 2. y = A + X + A*X means you're allowing the different groups of A to have different slopes. Probably not what you intended. 3. It's probably best to provide a small sample of the data (and R code) so we know how you got what you got. Andy From: Ben Ridenhour > > Hello, >
2006 Jan 18
5
Bootstrapping help
Hello, I am new to using R and I am having problems get boot() to work properly. Here is what I am trying to do: I have statistic called "cs". cs takes a data matrix (154 x 5) and calculates 12 different scores for me. cs outputs the data as a vector (12 x 1). cs doesn't really use weights, per se, however I have included this as one of the 2 arguments cs can take. I try
2007 Mar 07
2
error installing packages
I was finally able to get R to 'configure', 'make', and 'install' on Mandriva 2007. Itried to install gnomeGUI and I received an error. See below. At what step do I make R a shared library? Where did I go wrong? Ross ================================================== downloaded 74Kb * Installing *Frontend* package 'gnomeGUI' ... Using R Installation in
2007 Feb 01
1
Affymetrix data analysis
Hi, I am trying to read in my Affymetrix CEL files (48 files, total ~600 MB) but I keep getting memory errors. Can somebody please help me with this. Or is therea remote server I can send my data to for computation? Any help is much appreciated. Thanks Dr. Tristan Coram Postdoctoral Research Associate Research Plant Pathologist/Geneticist United States Department of
2007 Jan 11
3
3.0.23d UNIX vs. AD group permissions
We have what may be a very, very bad situation here and I'm hoping someone may be able to point out either where I'm misinterpreting this or where I missed the memo. We're testing 3.0.23d so we can upgrade from 3.0.14a. Our servers are all currently Solaris 9, and we build samba from source with MIT krb5 and openldap libraries. We have used security = ads since 3.0 after having
2005 Mar 16
1
Compile error: libsmbclient on 12rc1 on Solaris 9
snip from make.log: Compiling libsmb/libsmbclient.c with -KPIC "libsmb/libsmbclient.c", line 3249: warning: argument #3 is incompatible with prototype: prototype: pointer to char : "libsmb/libsmbclient.c", line 1167 argument : pointer to const char "libsmb/libsmbclient.c", line 3843: warning: argument #5 is incompatible with prototype:
2006 Mar 01
0
Help - lm, glm, aov results inconsistent with other statistical package
Hello, I 'm sure there must a be a simple explanation for what I'm doing wrong but I am stumped. I am a novice R user and this has shaken my confidence in what I'm doing! I am trying to run a simple ANCOVA using the model y~A*x, where y and x are continuous and A has two levels. Everything seems fine until I compare the output with what I get from another statistical package
2012 Apr 20
1
Quick question about princomp/biplot
Hi everyone. I performing a simple PCA using the princomp function. Then, I use the biplot function to show it. However, the function use line number to represent samples. I would like to know if there's a way to use a dot (point) instead of the line number when using the biplot function. With regards, Phil -- View this message in context:
2005 Apr 08
1
Princomp$Scores
Hi all, I was hoping that someone could verify this for me- when I run princomp() on a matrix, it is my understanding that the scores slot of the output is a measure of how well each row correlates (for lack of a better word) with each principal component. i.e. say I have a 300x6 log2 scaled matrix, and I run princomp(). I would get back a $scores slot that is also 300x6, where each value
2008 Feb 10
1
prcomp vs. princomp vs fast.prcomp
Hi R People: When performing PCA, should I use prcomp, princomp or fast.prcomp, please? thanks. Erin -- Erin Hodgess Associate Professor Department of Computer and Mathematical Sciences University of Houston - Downtown mailto: erinm.hodgess at gmail.com