Displaying 20 results from an estimated 200 matches similar to: "caret pls model statistics"
2007 Feb 16
13
Problem with Share Size
Hi all,
I have a problem with samba : I can create files, but can't create directories.
The server has many shares, on seperated disks.
We consider two of them : one 2Tb share and one share with more than 7Tb.
Samba configuration is good, and works on many other servers, and on this one except for the large share. Permissions are correctly setted up too.
I can read/write files and
2007 Mar 26
4
Testing IP Instances in 61
I just BFU''ed up to B61 and started to play with IP Instances. I''m having trouble making my zone happy:
root at aeon zones$ zoneadm -z testing1 boot
zoneadm: zone ''testing1'': WARNING: unable to hold network interface ''skge0''.: Invalid argument
root at aeon zones$ dladm show-dev
nge0 link: up speed: 100Mb duplex: full
2003 Oct 29
1
Gnophone and Asterisk
How do I get Gnophone to register to my Asterisk server? I have set up iax.
conf as follows:
[tim]
type=friend
;username=tstornes
host=dynamic
;defaultip=207.194.60.56
secret=1111
context=from-iax
callerid => "Tim" <5000>
auth=plaintext
qualify=10
permit=0.0.0.0/0.0.0.0
and extensions.conf includes a section in the context from-iax:
exten => 5000,1,Dial(IAX/tim/s|100|r)
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")
2013 Jul 13
1
Alternative to eval(cl, parent.frame()) ?
Dear developeRs,
I maintain a package 'pls', which has a main fit function mvr(), and
functions plsr() and pcr() which are meant to take the same arguments as
mvr() and do exactly the same, but have different default values for the
'method' argument. The three functions are all exported from the name
space.
In the 'pre namespace' era, I took inspiration from lm() and
2015 May 13
4
example fails during R CMD CHECK but works interactively?
Thank you Dan but it isn't my tests that are failing (all of them pass
without problem) but one of the examples from the inst/examples directory.
I did try, however, to start R with the environmental variables as you
suggest but it had no effect on my tests.
Charles
On Wed, May 13, 2015 at 1:51 PM, Dan Tenenbaum <dtenenba at fredhutch.org>
wrote:
>
>
> ----- Original Message
2012 May 04
1
Problems Exporting R Output to an xls file need help
Hello R users,
I want to export to an xls or .csv some predictions I produced with the
auto.arima and forecast functions.
A detail of all my work is presented below. I loaded a package called
dataframes2xls and tried to use the function write.xls without any success.
Can anybody help me figure this out? How could I get R to export the output
to an xls file?
Any help will be greatly
2013 Aug 26
2
Citing Package Contributing Authors
Greetings,
I am familiar with the function cite('packageName') which provides the
output generated from the DESCRIPTION file. In most cases this is
sufficient but I was wondering if there are contributing authors (in
addition to the primary) also listed on the CRAN page. Is there a proper
way to account for them or are they generally not listed?
Regards,
--
Charles Determan
2012 May 25
3
count number of groups
Hello,
Simple question that I am stuck on and can't seem to find an answer in the
help files currently. I have a list which contains repeated ID's. I would
like to have R count the number of ID's. For example:
ID=c(1,1,1,1,2,2,2,2,3,3,3,3)
as.data.frame(ID)
Clearly, there are 3 groups. How would I have R give me the summary:
ID
3
Many thanks,
Charles
[[alternative HTML
2015 Jun 30
4
Why doesn't R have a float data type?
This is strictly a curiosity question. I am aware the R doesn't possess a
float data type. I also don't mean to request that such functionality be
implemented as I'm sure it would require a large amount of work with
potential back compatibility conflicts. But I wanted to know why R has
never had a float data type available?
Regards,
Charles
[[alternative HTML version deleted]]
2012 Oct 26
4
Merge matrices with different column names
A general question that I have been pursuing for some time but have set
aside. When finishing some analysis, I can have multiple matrices that
have specific column names. Ideally, I would like to combine these
separate matrices for a final output as a csv file.
A generic example:
Matrix 1
var1A var1B var1C
x x x
x x
2008 Oct 20
1
Calculate SPE in PLS package
Dear list,
I want to calculate SPE (squared prediction error) in x-space, can
someone help?
Here are my codes:
fit.pls<-
plsr(Y~X,data=DAT,ncomp=3,scale=T,method='oscorespls',validation="CV",x=
T)
actual<-fit.pls$model$X
pred<-fit.pls$scores %*% t(fit.pls$loadings)
SPE.x<-rowSums((actual-pred)^2)
Am I missing something here?
Thanks in advance.
Stella Sim
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
2012 Sep 28
3
Better way of Grouping?
Hello R users,
This is more of a convenience question that I hope others might find useful
if there is a better answer. I work with large datasets that requires
multiple parsing stages for different analysis. For example, compare group
3 vs. group 4. A more complicated comparison would be time B in group 3 of
group L with B in group 4 of group L. I normally subset each group with
the
2016 May 12
5
Single-threaded aspect
R Developers,
Could someone help explain what it means that R is single threaded? I am
trying to understand what is actually going on inside R when users want to
parallelize code. For example, using mclapply or foreach (with some
backend) somehow allows users to benefit from multiple CPUs.
Similarly there is the RcppParallel package for RMatrix/RVector objects.
But none of these address the
2013 Mar 07
2
Multivariate Power Test?
Generic question... I am familiar with generic power calculations in R,
however a lot of the data I primarily work with is multivariate. Is there
any package/function that you would recommend to conduct such power
analysis? Any recommendations would be appreciated.
Thank you for your time,
Charles
[[alternative HTML version deleted]]
2012 Dec 04
3
reformatting some data
Hello,
I am trying to reformat some data so that it is organized by group in the
columns. The data currently looks like this:
group X3.Hydroxybutyrate X3.Hydroxyisovalerate ADP
347 4 4e-04 3e-04 5e-04
353 3 5e-04 3e-04 6e-04
359 4 4e-04 3e-04
2012 Oct 17
2
cut2 error
To R users,
I am trying to use cut2 function from the 'Hmisc' library. However, when I
try and run the function on the following variable, I get an error message
(displayed below). I suspect it is because of the NA but I have no idea
how to address the error. Many thanks to any insights.
structure(list(var1 = c(97, 97, 98, 98, 97, 99, 97,
98, 99, 98, 99, 98, 98, 97, 97, 98, 99, 98,
2013 Oct 02
5
Interpreting the result of a Wilcoxon (Mann-Whitney U) test
Hello everyone,
I'm having some trouble interpreting the results of a Wilcoxon
(Mann-Whitney U) test. Hope you can help.
This is the R script that I am running:
a <- c(1, 1, 1, 1, 1, 1, 1, 1, 3, 1, 1, 1, 2, 1, 5, 1, 1, 1, 3, 1, 1,
1, 1, 1, 1, 3, 1, 1)
b <- c(1, 2, 1, 1, 2, 3, 2, 2, 1, 2, 1, 1, 1, 2)
wilcox.test(a, b, alternative="t", mu=0, exact=FALSE, paired=FALSE) #1st
2013 Jan 07
3
renumber a list of numbers
Greetings R users,
I am trying to renumber my groups within the file shown below. The groups
are currently set as 8,9,10,etc. I would like to renumber this as
1,2,3,etc. I have searched the help files and only come across using the
rownames to renumber the values but I need to match values. Any assistance
is always appreciated,
Regards,
Charles
structure(list(Group = structure(c(1L, 1L, 1L,