Displaying 20 results from an estimated 10000 matches similar to: "Splus equivalent of reshape in R"
2008 Jun 04
1
Splus/R typedef for C equivalent of S "integer"
We've been working on making it easier to write
packages that work in both R and Splus. One issue
is that R and Splus use different internal representations
of integers and this makes a difference on their 64-bit
versions: R uses ints (32 bits on 32-bit and 64-bit versions
of R) and Splus uses longs (32 bits on 32-bit Splus and
64 bits on 64-bit Splus). The obvious ways to deal with
the
2013 Jan 22
1
simple reshape
Dear friends - this is a very simple question - I have a data frame
'data.frame': 87 obs. of 3 variables:
$ ID : int 1 1 1 2 2 2 3 3 3 4 ...
$ prep : num 1.18 1.38 1.34 1.93 2.38 2.24 1.17 1.13 1.21 1.89 ...
$ postp: num 0.63 0.71 0.75 1.01 1.12 1.07 0.87 0.64 0.7 0.8 ...
- 29 persons (ID) each measured three times before and after an
intervention: prep and postp -
I need
2003 Aug 16
1
equivalent of Splus command axis(..., srt=45, adj=1) in R
Dear R-users
moving from Splus to R (under Windows), I notice that command "srt" within a
plot in the original Splus code is ignored by R.
For example, if a plot something and then include the line of code
axis(1, at=Time, labels=Text, srt=45, adj=1)
the srt=45 command within the axis() command fails to draw Text at 45
degrees on the x-axis in R but it works properly in Splus.
I will
2000 Mar 14
2
TRELLIS (Splus) EQUIVALENT IN A FUTURE R ?
Dear R-Help,
I know that R already includes conditioning plots (two variables/factors)
but is there any intention to incorporate an equivalent of Trellis
(Splus) multi-conditional plots in R ?
Thanks,
Carlos.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://stat.ethz.ch/pipermail/r-help/attachments/20000314/af50b46f/attachment.html
2011 Sep 07
1
Reshaping data from wide to tall format for multilevel modeling
Hi,
I'm trying to reshape my data set from wide to tall format for multilevel
modeling. Unfortunately, the function I typically use (make.univ from the
multilevel package) does not appear to work with unbalanced data frames,
which is what I'm dealing with.
Below is an example of the columns of a data frame similar to what I'm
working with:
ID a1 a2 a4 b2 b3 b4 b5 b6
Below
2004 May 25
2
equivalent of the Splus function "eboulis()"
Hi,
Is there a equivalent of the function "eboulis()" (which is a
new funtion on Splus) on R?
Otherwise, with which function can we see the best number of
cluster we have to choose?
Thanks in advance,
Nicolas BOUGET
2007 Feb 08
1
Suggestion about "R equivalent of Splus peaks() function"
In 2004 there was this R-Help posting from Jan 2004:
http://finzi.psych.upenn.edu/R/Rhelp02a/archive/33097.html
R equivalent of Splus peaks() function?
The peaks function there has worked well for me on a couple of projects, but
some code using "peaks" failed today, which had worked fine in the past.
I was looking for a peak in a test case that was a sine curve over one
2012 Jun 06
1
Process XML files
Hello experts,
Sorry for posting the SPlus related question here.. I have not found any
solution yet after some attempts and hence, sending it to a wider spectrum
of users! I was successful in processing files uing R's XML librariy. Thank
you, Rxperts!
I know there are libraries like XML and SPXML available in S-Plus. Could
anyone please share examples of reading an xml file and save the
2003 May 30
1
[Q] R equivalent for Splus get.message()
I'm trying to get a translation of some Splus code going.
My problem is with the S-plus get.message() function not
existing in R. Is there a replacement or alternative?
ErrorHandler.func<-function()
{
cat("app.terminated\n");
cat(paste("err.fatal",get.message(),"\n",sep=""));
dump.calls();
}
options(error=ErrorHandler.func)
2001 Jun 15
1
R equivalent for Splus "peaks"
Hi, all.
Does anyone have an equivalent to Splus "peaks", which finds local maxima
(with locality defined by a parameter "span")? I thought I'd check
whether anyone has done it already before trying to put something together
myself.
Thanks,
Matt Wiener
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read
2004 Jun 09
1
Re: R equivalent of Splus rowVars function
Mark Leeds <mleeds at mlp.com> wrote (to S-News):
> does anyone know the R equivalent of the SPlus rowVars function ?
Andy Liaw <andy_liaw at merck.com> replied:
> More seriously, I seem to recall David Brahms at one time had created an R
> package with these dimensional summary statistics, using C code. (And I
> pointed him to the `two-pass' algorithm for variance.)
2003 Sep 11
1
discrepancy between R and Splus lm.influence() functions for family=Gamma(link=identity)
Hello,
I am looking for an explanation and/or fix for a discrepancy in the behaviour of the R lm.influence() function [ version R 1.5.0 (2002-04-29) ] and the same function in Splus [ Splus version 5.1 release 1, running on SGI IRIX 6.2]. The discrepancy is of concern because I am migrating some Splus scripts to R and need to ensure consistency of results.
Specifically, when I fit a glm()
1998 Feb 23
1
R-beta: Help: cov.mve in R? dgamma in Splus?
Hi all
I have a couple of obscure questions for R/Splus experts (which
unfortunately isn't me!)
I am trying to compute Bayes Factors using some Splus code of Raftery
in Gilks et al (1996). Only problem is
1) R doesn't seem to have a robust covariance (cov.mve) which I
suspect I need rather than a non-robust classical estimate
2) Splus has cov.mve BUT dgamma in Splus doesn't have a
2001 Apr 03
2
Importing from Splus (PR#891)
Full_Name: Ernesto Jardim
Version: 1.2.2
OS: SuSE Linux 6.4
Submission from: (NULL) (193.137.98.92)
I wanted to import an array, dim=c(28,12,17), from splus into R.On splus I did
dump(c("array"),file="dump.out)
I checked and Splus could source it.
Than, in R I tryied to source it with:
source("dump.out")
and got and error message:
> source("dump.out")
2004 Jun 29
1
RE: [S] Different behaviour of unique(), R vs. Splus.
The source of the incompatibility:
In S-PLUS 6.2:
> methods("unique")
splus splus menu splus
"unique.data.frame" "unique.default" "unique.name" "unique.rowcol.names"
In R-1.9.1:
> methods("unique")
[1] unique.array unique.data.frame unique.default unique.matrix
1999 Mar 31
2
"dump" Splus -> R
Hi All,
I just used "dump" on Splus to transfer a pile of survival objects from
Splus 3.4 on Solaris 7 to R 0.63.3 on Intel.
The only trick is that survival objects contain an element holding the
original call that generated the object. When Splus writes these out, it
doesn't mark them in any way, so when R tries to read them in, it ends up
trying to reevaluate the call. Not
1999 Mar 31
2
"dump" Splus -> R
Hi All,
I just used "dump" on Splus to transfer a pile of survival objects from
Splus 3.4 on Solaris 7 to R 0.63.3 on Intel.
The only trick is that survival objects contain an element holding the
original call that generated the object. When Splus writes these out, it
doesn't mark them in any way, so when R tries to read them in, it ends up
trying to reevaluate the call. Not
2006 Jul 27
2
Moving from Splus to R - advice/opinions request from a management perspective
Hi,
I've looked through the archives and seen several posts discussing technical differences between R and S(plus). It appears to me that R can likely functionally replace Splus for my situation, but I'm more interested in looking at the risks and benefits of moving from Splus to R from a (project) management point of view.
Background (a bit wordy, I'm afraid):
-
2010 Feb 05
2
Importing data coming from Splus into R.
Hello there,
I spent all day yesterday trying to get a small data set from Splus into R,
no luck! Both, Splus and R, are run on a 64-bit RedHat Linux machine, the
versions of the softwares are 64-bit and are as what follows:
Splus:
TIBCO Software Inc. Confidential Information
Copyright (c) 1988-2008 TIBCO Software Inc. ALL RIGHTS RESERVED.
TIBCO Spotfire S+ Version 8.1.1 for Linux 2.6.9-34.EL,
2001 Aug 18
2
gam() in Splus and R
Hi,
Is there any difference in the gam() function in R and Splus?
I just tried to do an Ace Plot (plotting the result of the gam() ) on a
dataset. R gave me four (the data set has one response and four
explanatory variables) ace plot with perfectly straight lines. I kind of
felt that it is highly unlikely, so I tried it in Splus. Using the exact
commands Splus gave me four completely