Displaying 20 results from an estimated 4000 matches similar to: "Accessing a c-level complicated structure from R"
2008 Mar 11
2
Replacing text
Sorry, another newbie question :-(
I loaded a data set with 10 rows and 30 columns. The first column is
characters for names of car manufacturers:
Jeep
Nissan
Toyota1
Toyota2
Etc.
How can I replace "Toyota2" with "Scion"?
Thanks again
[[alternative HTML version deleted]]
2010 Dec 15
5
Solution to differential equation
Hello,
I am trying to find the analytical solution to this differential equation
dR/dt = k1*(R^k2)*(1-(R/Rmax)); R(0) = Ro
k1 and k2 are parameters that need to fitted, while Ro and Rmax are the
baseline and max value (which can be fitted or fixed). The response (R)
increases
initially at an exponential rate governed by the rate constants k1 and k2.
Response has a S-shaped curve as a function
2005 Feb 05
1
OT: FWD and IAX: down?
Hi list,
since few days my asterisk says I'm connected to iax2.fwdnet.net but I
can't call (even 612 or 613), all my calls finishing with "nobody pickup
in 30s" and calls I receive finish the same way (no answer from called
party which means my *)
I debug iax and saw that call is going through iax2.fwdnet.net My iax
show channels also tell me channel is up. If I log inmy
2005 Apr 12
1
install own packages
Hi,
Soory, if I missed relevant help pages.
I have developed several packages myself and want to give them to a
collegue in *.tar.gz form (Unix, Solaris).
What is the proper function to install them? install.packages() with a
path pointing to the local temp instead of to CRAN?
Thanks for help.
Christian
--
Dr.sc.math.Christian W. Hoffmann,
http://www.wsl.ch/staff/christian.hoffmann
2010 Nov 09
1
location of Tisean executables when using RTisean and jumping between linux and windows
Hi,
I wonder if someone could help. I needed to transfer (copy) a workspace
file that had been generated in linux (R 2.11) to windows running the
same version of R 2.11 (but of course windows binary). Usually, there is
no problem in doing this and all objects work as expected. I am often
doing this to be able to produce wmf or emf graphic files that I need.
This time I had some spectra that I
2010 Mar 22
1
Dovecot 1.2.11 renames Maildir filenames on first read of foreign POPstore - how to avoid
Greetings,
I'm converting from a custom POPstore ( > 100,000 messages) which is
Maildir-like and uses the filename as the UIDL and doesn't store it
inside the message. I'm wondering whether there is hope for config-file
options to keep devecot from renaming files when it first sees them,
or whether I'm going to need to create a new backend for dovecot based
on Maildir.
2011 Nov 30
1
RTisean executable problem in STLperArea
Hi,
I?m trying to use the STLperArea function in the ndvits package. I can run
the sample data (?SLPSAs_full?) without any problem. However, when I come to
run the function on my own data, I get the following message.
Waiting to confirm page change...
Error in .checkPath(path) : no TISEAN executables found in that directory.
Please set a proper TISEAN executables path using
2007 Dec 06
2
Any package for deconvolution?
I want to run deconvolution of a time series by an impulse or point-spread function through Wiener filter, regularized filter, Lucy-Richardson method, or any other approaches. I searched the CRAN website and the mailing list archive, but could not find any package for such a deconvolution analysis. Does anybody know an existing R function for deconvolution?
TIA,
Gang
2010 Jul 19
1
Hurst Exponent Estimation
Dear All,
I am a novice when it comes to time-series analysis and at the moment I
am actually interested in calculating the Hurst exponent of a time
series.
This question has already been asked quite some time ago
http://bit.ly/98dZsi
and I trust some progress has been made ever since.
I was able to find some functions in the packages
http://cran.r-project.org/web/packages/Rwave/index.html
2010 Sep 22
20
problem in downloading large file with apache+mongrel
hii all,
am using apache as frontend to mongrel and loaded xsendfile
module in apache ,am looking for 1 GB of download .this is download
routine
def download
@stream = Stream.find(params[:id])
send_file(@stream.location,:filename => @stream.name,:disposition >
''attachment'',:x_sendfile => true )
and
And this is how it is processed
Processing
2005 Sep 21
3
ts.intersect bug?
This code gives an error:
a <- ts(1:10, start=0, freq=10)
b <- ts(1:10, start=1, freq=10)
ts.intersect(a,b)
This one works normally (and correctly):
a <- ts(1:10, start=0)
b <- ts(1:10, start=1)
ts.intersect(a,b)
Antonio, Fabio Di Narzo.
P.S. How to switch off italian error messages to post on r-help?
> version
_
platform i386-pc-mingw32
arch i386
os
2005 Sep 25
2
getting variable length numerical gradient
Hi all.
I have a numerical function f(x), with x being a vector of generic
size (say k=4), and I wanna take the numerically computed gradient,
using deriv or numericDeriv (or something else).
My difficulties here are that in deriv and numericDeric the function
is passed as an expression, and one have to pass the list of variables
involved as a char vector... So, it's a pure R programming
2007 Nov 24
2
unexpected result from reshape
Hi all.
I have unexpected reshape results on datasets with certain variable
names. Here a reproducible example:
d <- matrix(seq_len(7*7), 1, 7*7)
vnames <- c('acc','ppeGross','CF','ROA','DeltaSales','invTA','DeltaRevDeltaRec')
varying <- unlist(lapply(vnames, paste, 1:7, sep='.'))
d <- data.frame(d)
names(d) <- varying
2006 May 25
3
missed ylim from plot.default
? stato filtrato un testo allegato il cui set di caratteri non era
indicato...
Nome: non disponibile
Url: https://stat.ethz.ch/pipermail/r-help/attachments/20060525/ef972e9f/attachment.pl
2006 Mar 24
3
bug in plot.acf (PR#8705)
(Moved from r-devel to r-bugs)
On 3/24/2006 5:03 AM, Antonio, Fabio Di Narzo wrote:
> Hi all.
> There's a bug in plot.acf, when plotting acf for multivariate time series.
> Here a reproducible example:
>
> X <- rnorm(1000)
> Y <- -X + rnorm(1000, sd=0.6)
> Z <- cbind(X,Y)
>
> In
> acf(Z)
> cross-correlation plot y-axis is limited to 0-1. But:
>
2007 Dec 04
2
Wishlist: mention Vectorize in 'outer' man page (PR#10490)
Full_Name: Antonio, Fabio Di Narzo
Version: 2.6.1
OS: linux
Submission from: (NULL) (213.140.16.187)
In 'outer' man page, there is no mention of the Vectorize function.
Moreover, I think it isn't underlined enough that the FUN argument to 'outer'
must be a vectorized function (doc speaks about a function which has to 'operate
elementwise').
A cross-reference from
2011 Dec 01
3
Assign name to object for each iteration in a loop.
Hi R-users,
I'm trying to produce decompositions of a multiple time-series, grouped by a
factor (called "area"). I'm modifying the code in the STLperArea function of
package ndvits, as this function only plots produces stl plots, it does not
return the underlying data.
I want to extract the trend component of each decomposition
("x$time.series[,trend]), assign a name
2007 Nov 24
5
how to calculate the return?
Hi, R-users,
data is a matrix like this
AMR BS GE HR MO UK SP500
1974 -0.3505 -0.1154 -0.4246 -0.2107 -0.0758 0.2331 -0.2647
1975 0.7083 0.2472 0.3719 0.2227 0.0213 0.3569 0.3720
1976 0.7329 0.3665 0.2550 0.5815 0.1276 0.0781 0.2384
1977 -0.2034 -0.4271 -0.0490 -0.0938 0.0712 -0.2721 -0.0718
1978 0.1663 -0.0452 -0.0573 0.2751 0.1372 -0.1346
2006 May 18
2
extracting values from data.frame given arbitrary keys
Hi all.
I have a pure R programming question.
Having a data.frame with a 'data' variable and some (>1) ID variables
(either numeric or factors), I would extract a sequence of data values given
a sequence of ID values.
Here's an example. Build a dataset:
n1 <- 5
n2 <- 2
v1 <- rep(factor(1:n1),2)
v2 <- rep(1:n2,5)
x <- rnorm(10)
dat <- data.frame(x=x, v1=v1, v2=v2)
2006 Apr 27
2
as.factor: changed behaviour for Date class
Dear all,
I have noticed a little change in the behaviour of as.factor from R-2.2.1 to
R-2.3.0, and can't find it in the NEWS.
In R-2.3.0:
> times <- 1:5
> class(times) <- "Date"
> as.factor(times)
[1] 1 2 3 4 5
Levels: 1 2 3 4 5
In R-2.2.1:
> as.factor(times)
[1] 1970-01-02 1970-01-03 1970-01-04 1970-01-05 1970-01-06
Levels: 1970-01-02 1970-01-03 1970-01-04