Displaying 20 results from an estimated 1000 matches similar to: "install pls.pcr package"
2003 Jun 25
2
Pairs with different colours
Does anybody know how to make pairs graphics with dots of different colours depending on the value of a categorical variable ?
Thanks,
Arnaud
*************************
Arnaud DOWKIW
Department of Primary Industries
J. Bjelke-Petersen Research Station
KINGAROY, QLD 4610
Australia
T : + 61 7 41 600 700
T : + 61 7 41 600 728 (direct)
F : + 61 7 41 600 760
**************************
2003 Jul 24
1
pls regression - optimal number of LVs
Dear R-helpers,
I have performed a PLS regression with the mvr function from the pls.pcr package an I have 2 questions :
1- do you know if mvr automatically centers the data ? It seems to me that it does so...
2- why in the situation below does the output say that the optimal number of latent variables is 4 ? In my humble opinion, it is 2 because the RMS increases and the R2 decreases when 3 LVs
2003 Jul 23
0
pls.pcr compared to Unscrambler
Dear R-helpers,
Has anybody ever tried to compare pls regression outputs from the pls.pcr R-package developped by Wehrens with outputs from the Unscrambler software developped by CAMO company ?
I find very different outputs and wonder if this comes from differences between methods/algorithms SIMPLS (pls.pcr) and PLS1 (Unscrambler).
Arnaud
*************************
Arnaud DOWKIW
Department of
2003 Jun 26
2
Change default parameters of panel.smooth
Hello,
can anyome tell me how to access the full script of the panel.smooth function so that I can change the thickness of the smoothing line or its colour ?
All I could access is :
> panel.smooth
function (x, y, col = par("col"), bg = NA, pch = par("pch"),
cex = 1, col.smooth = "red", span = 2/3, iter = 3, ...)
{
points(x, y, pch = pch, col = col, bg =
2003 May 06
1
S's plclust and R's hclust
Hello everyone,
Does anyone know how to implement the argument "unit" in R's plclust
function ? I used to use Splus where this argument exists but it has not
been implemented in R's plclust. The reason why I switched from Splus to
R is that Ward's method is not implemented for S's hclust whereas it is
implemented for R's hclust. What I would need is S's plclust
2003 May 09
1
Principal coordinates analysis
Dear all,
Does anyone know how to run Principal Coordinates Analysis (PCoA) from a
squared euclidean dissimilarity matrix with R ?
Thanks,
*************************
Arnaud DOWKIW
Department of Primary Industries
J. Bjelke-Petersen Research Station
KINGAROY, QLD 4610
Australia
T : + 61 7 41 600 700
T : + 61 7 41 600 728 (direct)
F : + 61 7 41 600 760
**************************
2003 Sep 02
5
Strange problem.
Hi, everyone,
I am a new user of R. Recently, I tried the following commands, but couldn't make them work. If any one of you has some ideas about it, please help me. The commands are
>std<-1000
>mean<-8000
>prior<-function(n){1/(sqrt(2*pi)*std)*exp(-1.0*(n-mean)^2/(2*std^2))}
>plot(prior,1,15000)
>post<-function(n){
+ if(n < 9543)
+ 0
+ else
+ prior(n)/n
+
2005 Jun 06
1
Help package pls.pcr
Hello!
I need help to use the package pls.pcr in R.
I installed R in an IRIX 6.5, using the version of R 0.64.1 from
sgifreeware(I didn't get to install the newest version using make). I
need to use the package pls.pcr and when I give the command:
# R
R : Copyright 1999, The R Development Core Team
Version 0.64.1 (May 8, 1999)
R is free software and comes with ABSOLUTELY NO
2007 Oct 23
1
Compute R2 and Q2 in PLS with pls.pcr package
Dear list
I am using the mvr function of the package pls.pcr to compute PLS
resgression using a X matrix of gene expression variables and a Y matrix
of medical varaibles.
I would like to obtain the R2 (sum of squares captured by the model) and
Q2 (proportion of total sum of squares captured in leave-one-out cross
validation) of the model.
I am not sure if there are specific slots in the
2005 Nov 22
3
loadings matrices in plsr vs pcr in pls pacakage
Dear list,
I have a question concerning the above mentioned methods in the pls
package with respect to the loadings matrix produced by the call. In
some work I am doing I have found that the values produced are nearly of
the same magnitude but of opposite sign. When I use the example data
(sensory) I find this result reproduced. I am prepared to work this
through but I have a feeling that
2004 Feb 04
1
center or scale before analyzing using pls.pcr
Dear all,
I found pls.pcr package will give different results if the data are
centered and scaled using scale().
I am not sure about when I should scale my data, and whether the
dependent variable should be scaled. If the dependent variable is
scaled, how I give a prediction to the real data?
I appreciate for any suggestions and comments.
Best regards,
Jinsong
=====
(Mr.) Jinsong Zhao
Ph.D.
2005 Nov 09
1
Replace missing values in spatial design using moving average
Dera R helpers,
I have a (x,y,z) data file where x and y are spatial coordinates and z a
variable. I have some missing values in the z column and I would like to
replace them with an optimized estimation from the neighbour cells. I could
not find any function in R to do that. Is anybody aware of such function ?
Maybe someone knows how to implement the Papadakis method in R...
Thanks for your
2008 Jul 01
1
Help in using PCR
Hi,
Currently I have a dataset of 2400*408. And I would like to apply PCR method
to study the any correlation between the tests.
My current data is in data.frame and I have formed horizontal(1-407) to be
the exact data, and (408) to be my results data(Yes and No)
I have also binarized these Yes and No to 1 and -1s.
However, when I refer to PCR manual on R, the example of yarn.pcr <-
2007 Jul 06
1
about R, RMSEP, R2, PCR
Hi,
I want to calculate PLS package in R. Now I want to calculate R, MSEP,
RMSEP and R2 of PLSR and PCR using this.
I also add this in library of R. How I can calculate R, MSEP, RMSEP and R2
of PLSR and PCR in R.
I s any other method then please also suggest me. Simply I want to
calculate these value.
Thanking you.
--
Nitish Kumar Mishra
Junior Research Fellow
BIC, IMTECH, Chandigarh, India
2003 May 13
0
1) variable influence in PCR/PLS models 2) how to cite CRAN packages
Dear list members,
I would like to ask two questions, although the second one must have been
answered a thousand times.
1) is there a simple way to estimate the influence of individual variables
in PCR and PLS models? What I have in mind is a way to rank the variables
according to their influence, using some numerical value of a statistic.
2) what is the proper way to cite a CRAN package? How
2003 Jun 08
6
Basic question on applying a function to each row of a dataframe
Hi,
I have a function foo(x,y) and a dataframe, DF, comprised of two vectors, x
& w, as follows :
x w
1 1 1
2 2 1
3 3 1
4 4 1
etc
I would like to apply the function foo to each 'pair' within DF e.g
foo(1,1), foo(2,1), foo(3,1) etc
I have tried
>apply(DF,foo)
>apply(DF[,],foo)
>apply(DF[DF$x,DF$w],foo)
However, none of the above worked. Can anyone help ?
2003 Dec 09
2
problem with pls(x, y, ..., ncomp = 16): Error in inherit s( x, "data.frame") : subscript out of bounds
I don't know the details of pls (in the pls.pcr package, I assume), but if
you use validation="CV", that says you want to use CV to select the best
number of components. Then why would you specify ncomp as well?
Andy
> From: ryszard.czerminski at pharma.novartis.com
>
> When I try to use ncomp parameter in pls procedure I get
> following error:
>
> >
2006 Jul 31
4
question about dataframe ("sensory") in PLS package
Dear all,
I am trying to my dataframe for the PLS analysis using the PLS package.
However I have some trouble generating the correct dataframe. The main
problem is how to use one name to represent several columns in the
dataframe.
The example dataframe in PLS package is called "sensory". I cannot
directly read the data file since it's a binary file. If I use
2003 Jun 13
1
Factorial function in R?
Is there a native factorial function in R [my searches have been
fruitless], or do I need to use gamma() function?
*********************************************************************
Dr Peter Caley
CSIRO Entomology
GPO Box 1700, Canberra,
ACT 2601
Email: peter.caley@csiro.au
Ph: +61 (0)2 6246 4076 Fax: +61 (0)2 6246 4000
*********************************************************************
2003 Jun 13
1
Problem with Rcmd SHLIB
Dear R-helpers,
i am trying to make a shared library from a Fortran subroutine, and i therefore used (after reading the documentation):
Rcmd SHLIB forfile.f #(R1.70, Win2000)
And the error is:
" 'perl' is not recognized as an internal or external command,operable program or batch file."
So i went ahead and tried to install Perl (from the suggested website in