Displaying 20 results from an estimated 1000 matches similar to: "pls in r"
2017 Dec 05
2
PLS in R
Hello, I need help with a partial least square regression in R. I have read
both the vignette and the post on R bloggers but it is hard to figure out
how to do it. Here is the script I wrote:
library(pls)
plsrcue<- plsr(cue~fb+cn+n+ph+fung+bact+resp, data = cue, ncomp=7,
na.action = NULL, method = "kernelpls", scale=FALSE, validation = "LOO",
model = TRUE, x = FALSE, y =
2007 May 25
2
R-About PLSR
hi R help group,
I have installed PLS package in R and use it for princomp & prcomp
commands for calculating PCA using its example file(USArrests example).
But How I can use PLS for Partial least square, R square, mvrCv one more
think how i can import external file in R. When I use plsr, R2, RMSEP it
show error could not find function plsr, RMSEP etc.
How I can calculate PLS, R2, RMSEP, PCR,
2006 Feb 23
0
pls version 1.2-0
Version 1.2-0 of the pls package is now available on CRAN.
The pls package implements partial least squares regression (PLSR) and
principal component regression (PCR). Features of the package include
- Several plsr algorithms: orthogonal scores, kernel pls and simpls
- Flexible cross-validation
- A formula interface, with traditional methods like predict, coef,
plot and summary
- Functions
2006 Feb 23
0
pls version 1.2-0
Version 1.2-0 of the pls package is now available on CRAN.
The pls package implements partial least squares regression (PLSR) and
principal component regression (PCR). Features of the package include
- Several plsr algorithms: orthogonal scores, kernel pls and simpls
- Flexible cross-validation
- A formula interface, with traditional methods like predict, coef,
plot and summary
- Functions
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
2012 Mar 06
1
PLS Error message
Hi,
I work with hyperspectral remote sensing data and I try to built a pls
model with this data. I already built the model but if I try to
calculate the RMSEP and R2 with a test data set I get the following
error message:
Error: variable 'subX' was fitted with type "nmatrix.501" but type
"nmatrix.73" was supplied
The problem is that I don't get the message for
2004 Mar 12
6
read.spss
Hi,
I would like to read a spss file in R.
When i type read.spss("...")
Comes the error: couldn't find function "read.spss"
What shall i do?
Margarida
[[alternative HTML version deleted]]
2004 Mar 12
6
still spss
hi again,
i still cannot open the file in spss :(
i type:
library(foreign)
read.spss("H:\\Desktop\\bd1\\experiencia1")
and the error comes:
Error in read.spss("H:\\Desktop\\bd1\\experiencia1") : unable to open file
can you help me?
margarida,portugal
2004 Mar 12
6
spss
hi,
i can?t download a file in access.
when i type:
> library(foreign)
> read.spss("H:\Desktop\bd1\experiencia1")
comes the error:
Error in read.spss("H:Desktop\bd1experiencia1") : unable to open file
do you know what is the problem?
can you help me?
margarida,porto,portugal
2004 May 05
3
reading data
Hello,
I??m trying to read data from a text file but i can??t
When i print:
> a<-read.table(file="C:/dados10.txt")
The next error appears:
Error in file(file, "r") : unable to open connection
In addition: Warning message:
cannot open file `C:/dados10.txt'
Can you help me?
Margarida
PS:The operating sistem i??m using is Unix
2004 Mar 08
3
dsn
Hi,
I have a data base in oracle and need to link R using ODBC.
When i use the command odbcConnect a dsn is needed.
I would like to create a dsn.Do you know how can i do it?
Thank you.
Margarida,Portugal
2017 Dec 13
0
PLS in R
Margarida Soares <margaridapmsoares at gmail.com> writes:
> Thanks for your reply on pls!
> I have tried to do a correlation plot but I get the following group of
> graphs. Any way of having only 1 plot?
> This is my script:
>
> corrplot(plsrcue1, comp = 1:4, radii = c(sqrt(1/2), 1), identify = FALSE,
> type = "p" )
"Correlation loadings" are the
2008 Jul 16
2
How to extract component number of RMSEP in RMSEP plot
Hi R-listers,
I would like to know how can i extract component no. when the RMSEP is
lowest?
Currently, I only plot it manually and then only feed the ncomp to the jack
knife command. However, I would like to automate
this step.
Please let me know. Many thanks.
Rgrds,
[[alternative HTML version deleted]]
2004 May 12
3
mannwitney
Hi,
I would like to do a MannWitney test.
Can anyone help me with the propper command?
Thanks,
Margarida
2004 Sep 12
2
Variable Importance in pls: R or B? (and in glpls?)
Dear R-users, dear Ron
I use pls from the pls.pcr package for classification. Since I need to
know which variables are most influential onto the classification
performance, what criteria shall I look at:
a) B, the array of regression coefficients for a certain model (means a
certain number of latent variables) (and: squared or absolute values?)
OR
b) the weight matrix RR (or R in the De
2000 Jul 13
2
Programming puzzle...
Dear R guru's,
I'd like to sort the columns of a matrix according to the elements in the
first row, and in case of a tie according to the second row, etc.
In case of a 3xn matrix woppa, something like
colorder _ order(woppa[1,], woppa[2,], woppa[3,])
I just cannot seem to find a way to do this for a variable number of rows,
e.g. if woppa has 10 or 15 rows I now manually cut and paste to
2002 Jun 26
4
Can't create profile directory
Skipped content of type multipart/alternative-------------- next part --------------
A non-text attachment was scrubbed...
Name: Wim Mevissen.vcf
Type: text/x-vcard
Size: 513 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba/attachments/20020626/98113284/WimMevissen.vcf
2009 Nov 17
2
SVM Param Tuning with using SNOW package
Hello,
Is the first time I am using SNOW package and I am trying to tune the cost
parameter for a linear SVM, where the cost (variable cost1) takes 10 values
between 0.5 and 30.
I have a large dataset and a pc which is not very powerful, so I need to
tune the parameters using both CPUs of the pc.
Somehow I cannot manage to do it. It seems that both CPUs are fitting the
model for the same values
2003 Jan 14
3
PLS regression?
Hi all,
I would like to do some QSAR analysis (quantitative structure activity
relationship). I need to use some Partial Least Squares (PLS) regression,
but I have not seen this option on the R-project. Is it possible to do this
kind of regression on R?
thank you in advance
best regards,
olivier
[[alternate HTML version deleted]]
2010 Jun 26
1
package(pls) - extracting explained Y-variance
Dear R-help users,
I'd like to use the R-package "pls" and want to extract the explained
Y-variance to identify the important (PLS-) principal components in my
model, related to the y-data. For explained X-variance there is a
function: "explvar()". If I understand it right, the summary()
function gives an overview, where the y-variance is shown, but I can't