Displaying 20 results from an estimated 358 matches for "multidimensional".
2002 Apr 19
4
Multidimensional scaling
A student of mine wants to use R to do some nonmetric multidimensional
scaling. According to the R FAQ, there's a package called pcurve that
computes multidimensional scaling solutions, but I was not able to locate
it the contrib page (I am a Windows user with R version 1.4.1). Can
anyone tell me whether it is possible to do nonmetric multidimensional
scaling wi...
2011 Jan 20
2
Using a list as multidimensional indexer
Hello list.
Another 'puzzle' for which I don't have a clean solution.
Say I have a multidimensional object, e.g.:
Mm<-matrix(1:6, nrow=2, dimnames=list(c("a","b"), c("g","h","i")))
And on the other hand I have a list
Ind<-list("b","g")
This holds, for each dimension, an indexer for that dimension.
Now I would like to get...
2005 Nov 03
1
multidimensional integration not over a multidimensionalrectangle
Hi,
anyone knows about any functions in R can get multidimensional integration
not over a multidimensional rectangle (not adapt).
For example, I tried the following function f(x,n)=x^n/n!
phi.fun<-function(x,n)
{ if (n==1) {
x
}else{
integrate(phi.fun, lower=0, upper=x, n=n-1)$value
}
}
I could get f(4,2)=4^2/2!=8, but failed in f(4,3)=4^3/3! Thanks
B...
2006 Jul 17
1
multiplying multidimensional arrays (was: Re: [R] Manipulation involving arrays)
I am moving this to r-devel.
The problem and solution below posted on r-help could have been
a bit slicker if %*% worked with multidimensional arrays multiplying
them so that if the first arg is a multidimensional array it is mulitplied
along the last dimension (and first dimension for the second arg).
Then one could have written:
Tbar <- tarray %*% t(wt) / rep(wti, each = 9)
which is a bit nicer than what had to be done, see below,...
2012 May 14
3
How to apply a function to a multidimensional array based on its indices
Hello. I have a 4 dimensional array and I want to fill in the slots with
values which are a function of the inputs. Through searching the forums here
I found that the function "outer" is helpful for 2x2 matrices but cannot be
applied to general multidimensional arrays. Is there anything which can
achieve, more efficiently than the following code, the job I want?
K <- array(0,dim=c(2,2,2,2)) #dimensions will be much larger
for(x1 in 1:2)
{
for(y1 in 1:2)
{
for(x2 in 1:2)
{
for(y2 in 1:2)
{
K[x1,y1,x2,y2] <- x1*y2 - si...
2011 Oct 05
2
cuhre usage ?? multidimensional integration
...rgs, ...) :
Additional argument not expected in the integrand function
function change to my=function(x,g,i,j)
result is not right. it should be 1, but it turns out to be 0.039...
How can I make this work?
Thank you!
--
View this message in context: http://r.789695.n4.nabble.com/cuhre-usage-multidimensional-integration-tp3873478p3873478.html
Sent from the R help mailing list archive at Nabble.com.
2011 Oct 21
2
Converting data frame into multidimensional array
Consider the following data frame
X <- data.frame(Titanic)
Does anyone know of an easy way to convert X into a multidimensional
array? Example that doesn't work
X <- as.array(X, dim=c(4,2,2,2))
To do what I need, X needs to be converted into an array of dimensions
c(4,2,2,2) in this case, not a table.
Thanks in advance.
2005 Sep 22
1
multidimensional (smoothing) splines
...is between 2 and 5.
I would like to use splines to use this, I checked the mailing list
and CRAN but couldn't find anything that would help me (Tps in fields
is too slow, cobs would be really nice but seems to be
one-dimensional). Is there any package that would at least give me
the basis for multidimensional b-splines? Or even one that would do
the fitting, perhaps even with constaints on derivatives at the edges
(which I can specify from theory)?
Thank you,
Tamas
--
Bayesian statistics is difficult in the sense that thinking is difficult.
--Donald A. Berry, American Statistician 51:242 (1997)
2009 Oct 06
0
Kernlab: multidimensional targets in rvm(), ksvm(), gausspr()
Hi there,
I'm trying to do a regression experiment on a multidimensional
dataset where both x and y in the model are multidimensional
vectors.
I'm using R version 2.9.2, updated packages, on a Linux box.
I've tried gausspr(), ksvm() and rvm(), and the models are
computed fine, but I'm always getting the same error message
when I try to use predict():
"...
2005 Jun 28
1
enhanced multidimensional scaling?
Dear R list
Would anyone be able to tell me whether it is possible to do "enhanced
multidimensional scaling" (enhanced MDS) in R? In other words, something that
goes beyond "cmdscale" by iteratively improving the fit between observed
dissimilarities and inter-object distances, using the KYST algorithm
(Kruskal, 1964).
I have found several implementations of non-metric MDS in va...
2008 Nov 19
2
Multidimensional array with R
Hi there
I know, I'm sure you discussed this stuff 100 times, but I really have
a basic understanding problem, if and how do I create a
multidimensional array in R. I'm coming from MATLAB and there it's as
easy as you ever could imagine.
Ok, so, I want to have an array, where I can fill in data from a Excel
spreadsheet. The array should be addressed like this:
data["Cacao"]["Open"] or data["Cotton"]["...
2019 Aug 02
2
[RFC] A new multidimensional array indexing intrinsic
...this information, but unfortunately is not very
> robust. Carrying this information from the front-end into the IR is a
> much more reliable way, especially if the source language already has
> the semantics.
Are you interested in the C family, or another language (e.g. fortran) that has multidimensional arrays as a first class concept? I can see how this is useful for the later case, but in the former case you’d just be changing where you do the pattern matching, right?
>> That said, this is just my opinion - I have no data to back this up. Adding ‘experiemental’ intrinsics is cheap and...
2016 Apr 24
2
How to take a multidimensional data set to higher dimensions using R?
Hi,
I have a multidimensional data-set( multiple 'x' variables with a target
variable). I want to take it to a higher dimensional space so that I can
apply classification technique with ease . Is there a package in R which
would allow me to take these data points from lower dimensional space to
higher dimensions? so tha...
2012 May 15
0
How to apply a function to a multidimensional array, based on its indices
...15-05-2012 11:00, r-help-request at r-project.org escreveu:
> Date: Mon, 14 May 2012 13:22:11 -0400 From: David Winsemius
> <dwinsemius at comcast.net> To: math_daddy <math_daddy at hotmail.com> Cc:
> r-help at r-project.org Subject: Re: [R] How to apply a function to a
> multidimensional array based on its indices Message-ID:
> <155F48F0-04C2-4033-A7BE-FC5109224DFA at comcast.net> Content-Type:
> text/plain; charset=US-ASCII; format=flowed; delsp=yes On May 14,
> 2012, at 10:09 AM, math_daddy wrote:
>> > Hello. I have a 4 dimensional array and I want to...
2001 Apr 02
1
Multidimensional Scaling
Hi
Does anyone know if there's a package I can use to do Multidimensional
scaling ?
Thank's
EJ
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)...
2002 Oct 13
0
row and column totals in multidimensional tables
Hello!
the function apply() allows to compute the row sum of a multidimensional
table but, when I try to merge the new column with the original table whith
cbind(), the grouping varibles disapear and the new table is bidimensional.
Knows anybody how to add row totals to a multidimensional table?
Thanks in advance
Juan Pablo
______________________________________________...
2003 Feb 27
0
[despammed] RE: multidimensional function fitting
...will probably ease the computational burden.
HTH,
Andy
> -----Original Message-----
> From: RenE J.V. Bertin [mailto:rjvbertin at despammed.com]
> Sent: Thursday, February 27, 2003 3:42 PM
> To: Wiener, Matthew
> Cc: r-help at stat.math.ethz.ch
> Subject: Re: [despammed] RE: [R] multidimensional function fitting
>
>
> On Thu, 27 Feb 2003 13:52:50 -0500, "Wiener, Matthew"
> <matthew_wiener at merck.com> wrote regarding
> "[despammed] RE: [R] multidimensional function fitting"
>
> 8-) Take a look at package mgcv. Hope this helps. --Matt
&g...
2003 Feb 28
0
[despammed] RE: multidimensional function fitting
...and the
predict.gam function, from C. See the R extensions manual.
Reid Huntsinger
-----Original Message-----
From: RenE J.V. Bertin [mailto:rjvbertin at despammed.com]
Sent: Thursday, February 27, 2003 3:42 PM
To: Wiener, Matthew
Cc: r-help at stat.math.ethz.ch
Subject: Re: [despammed] RE: [R] multidimensional function fitting
On Thu, 27 Feb 2003 13:52:50 -0500, "Wiener, Matthew"
<matthew_wiener at merck.com> wrote regarding
"[despammed] RE: [R] multidimensional function fitting"
8-) Take a look at package mgcv. Hope this helps. --Matt
8-)
Thank you, I just did. It may in...
2003 Dec 03
1
multidimensional Fisher or Chi square test
Hello,
Is there a test for independence available based on a multidimensional
contingency table?
I've about 300 processes, and for each of them I get numbers for failures and
successes. I've two or more conditions under which I test these processes.
If I had just one process to test I could just perform a fisher or chisquare
test on a 2x2 contigency table, like thi...
2005 Nov 04
1
Stress in multidimensional scaling
Hello,
We are trying to find a function to compute "stress" in our
multidimensional scaling analysis of a dissimilarity matrix. We've used
"dist()" to create the matrix and "cmdscale()" for the scaling. In order
to determine the number of dimensions we would like to plot stress vs.
dimensions. However, we cannot find a pre-made command. It seems that
other...