Displaying 20 results from an estimated 1000 matches similar to: "PLS regression?"
2002 Nov 02
2
Partial Least Squares
Hi everybody!
Is there any package or functions to make Partial Least Squares
analysis with R?
Thanks a lot
Luis
--------------------------------------------
sapo.pt/kitadsl
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or
2006 Nov 24
6
Rails 1.2 RC1 problem
Hi
Have this helper method inside a sites_helper.rb module
def distritos
[
['0', 'Todos'],
['1', 'Aveiro'],
['2', 'Beja'],
['3', 'Braga'],
['4', 'Brangança'],
['5', 'Castelo Branco'],
['6', 'Coimbra'],
['7',
2010 Mar 06
3
scientific (statistical) foundation for Y-RANDOMIZATION in regression analysis
Dear all,
I am a statistician doing research in QSAR, building regression models where the dependent variable is a numerical expression of some chemical activity and input variables are chemical descriptors, e.g. molecular weight, number of carbon atoms, etc.
I am building regression models and I am confronted with a widely a technique called Y-RANDOMIZATION for which I have difficulties in
2008 Dec 11
2
Principal Component Analysis - Selecting components? + right choice?
Dear R gurus,
I have some climatic data for a region of the world. They are monthly averages
1950 -2000 of precipitation (12 months), minimum temperature (12 months),
maximum temperature (12 months). I have scaled them to 2 km x 2km cells, and
I have around 75,000 cells.
I need to feed them into a statistical model as co-variates, to use them to
predict a response variable.
The climatic
2010 Sep 27
3
Howto compile chemometrics package from source
Dear friends,
I'm confused about how to install packages from source.
I just updated R in Lenny from http://cran.fiocruz.br/bin/linux/debian/
I included in sources.list:
deb http://cran.fiocruz.br/bin/linux/debian lenny-cran/
deb-src http://cran.fiocruz.br/bin/linux/debian lenny-cran/
Then:
apt-get update
apt-get install r-base r-base-dev
Then I downloaded the package
2011 Dec 01
2
nipals in the chemometrics package in R
Hello
i need some precision about nipals in the chemometrics package in R .
When i use nipals in chemometrics i obtain T and P matrix.
I really don't understand what to do with these two matrix to obtain
the scores for every the component (like in spss fo example)
Comp1 Comp2 Comp3
quest1 0,8434 0,54333 0,3466
quest2 0,665 0,7655 0,433
Thank you very
2010 Mar 18
2
Reshape dataframe according to ordered variables
Dear all,
I am still a R apprentice... Apologies for the basic question.
I am trying to reshape a dataframe based on the order of two variables
(a character variable and a numerical variable). To simplify it,
consider the following dataframe
> df<-data.frame(id=c("b","b","a","a","a"),ord=c(2,1,1,3,2))
id ord
1 b 2
2 b 1
3 a 1
4
2010 Mar 19
2
Sequence of ordered variable to add as column
Hello all,
As an example, consider the following dataframe
> df<-data.frame(id=c("b","b","a","a","a"),ord=c(2,1,1,3,2))
> dates<-as.Date(c("02/27/92", "02/27/92", "01/14/92", "02/28/92", "02/01/92"),"%m/%d/%y")
> df$dates<-dates
which was ordered with
>
2011 Sep 21
2
problem with function "Truncate" in package "distr"
Hello all,
Can someone tell me why the following mixture of two log-normal
distributions does not get truncated? What puzzles me is that the
function works almost always, but for certain combinations (like the
one below), it does not.
# R code example
library(distr)
mix<-UnivarMixingDistribution(Lnorm(3.2,0.5),Lnorm(5.4,0.6),mixCoeff=c(0.3,0.7))
2005 Aug 04
2
p-values
HI R-users,
I am trying to repeat an example from Rayner and Best "A contingency
table approach to nonparametric testing (Chapter 7, Ice cream example).
In their book they calculate Durbin's statistic, D1, a dispersion
statistics, D2, and a residual. P-values for each statistic is
calculated from a chi-square distribution and also Monte Carlo p-values.
I have found similar p-values
2001 Nov 10
0
Summary: Teaching with R a quick survey.
Hi
I would like to start by thanking everyone that replied. Thank you for the
information, and for the comments about how or why you use it and thankx for
the encouragement re my talk....
Please note that I do not claim to have ellicited a reply from all users of
R, this is a quick survey not a census.
I have tried to break the responces down to the following categories:
Where: (hopefully
2007 Oct 18
3
append/concatenate an element to a list in C-language
dear people,
i need to code a function in C working in R and receives two R SEXP
objects as parameters, where one is a list and another is a vector of
integers:
void f(SEXP list, SEXP vector) {
...
return list;
}
and it should return the given list with the integer vector concatenated
at the end (as the last element of the list). the list can be really big
so i would not like to create a
2003 Jan 21
2
books on categorical data analyses
Dear All,
We are about to purchase the second edition of Agresti's "Categorical Data
Analysis" (my old copy of the first ed. of that wonderful book is falling
apart). I would appreciate suggestions about other comparable books which, if
possible, have examples using R/S code (instead of SAS).
Thanks,
Ram?n
--
Ram?n D?az-Uriarte
Bioinformatics Unit
Centro Nacional de
2006 Oct 18
2
Adding locfit confidence intervals in trelis xyplot
Dear all,
I am trying to include confidence intervals in a xyplot.
This is what I am doing:
xyplot(x ~ y|z, alpha = 1,band = "global",panel = panel.locfit)
(more specifically, in my case x is a binary response from a logistic
regression model)
The output plot was fine but it did not include the confidence intervals
Anyone knows how to do it? (xYplot did not work either)
many thanks
2004 May 03
1
boxplot.formula with missing values (PR#6846)
If an array has missing values in different rows, plotting using the formul=
a=20
interface can produce errors. Example:
fake.data <- matrix(rep(-100:100, 4),
ncol =3D 4)
par(mfrow =3D c(1,2))
boxplot(fake.data ~ col(fake.data))
abline(h =3D 0, lty =3D 2)
boxplot(as.data.frame(fake.data))
abline(h =3D 0, lty =3D 2)
##### Add the missing data
fake.data[190:200, 1] <-
2009 Jun 13
2
How to write loop
Dear all,
I want to do the following process as a loop ( to run
automatically with dimension of X, here 50). How can I do that? Your
cooments will be highly appreciable.
Alex
*# Code:*
library(lars)
library(chemometrics)
X<-matrix(rnorm(2500),ncol=50)
dim(X)
# [1] 50 50
X1<-X[,2:dim(X)[2]] # I have taken out first column
dim(X1)
#[1] 50 49
X2<-X1[2:dim(X1)[1],] #
2011 Apr 20
4
Two Questions
Sorry for the somewhat nondescript subject line, but I have two questions:
1. What is a really good book on R for a nonprogrammer?
2. How do I open more than one R Graphics: Device 2(ACTIVE). That
what is the R command that I can use to keep more than one plot open. I am
running a script from a book on Chemometrics that results in more than one
graph during the execution, but
2013 Apr 23
2
Needed: Beta Testers and Summer Camp Students
Greetings.
I'm teaching linear regression this semester and that means I write
more functions for my regression support package "rockchalk". I'm at
a point now were some fresh eyes would help, so if you are a student
in a course on regression, please consider looking over my package
overview document here:
http://pj.freefaculty.org/R/rockchalk.pdf
That tells how you can grab
2002 Sep 17
1
ActiveTcl Version
Dear Tcl/Tk users,
Will R work with the more recent version of ActiveTcl 8.4.0.1 or should
I use ActiveTcl 8.3.4.3?
Peter
---------------------------------------------------------------
Peter Ho
Departamento de Ci?ncias de Engenharia e Tecnologia
Escola Superior de Tecnologia e Gest?o
Instituto Polit?nico de Viana do Castelo
Avenida do Atl?ntico- Apartado 574
4901-908 Viana do Castelo
Email:
2003 Sep 16
1
simplifying randomForest(s)
Dear All,
I have been using the randomForest package for a couple of difficult
prediction problems (which also share p >> n). The performance is good, but
since all the variables in the data set are used, interpretation of what is
going on is not easy, even after looking at variable importance as produced
by the randomForest run.
I have tried a simple "variable selection"