Displaying 20 results from an estimated 1000 matches similar to: "Generating Data"
2007 Feb 13
4
Generating MVN Data
Dear All
I want to generate multivariate normal data in R for a given covariance
matrix, i.e. my generated data must have the given covariance matrix. I
know the rmvnorm command is to be used but may be I am failing to
properly assign the covariance matrix.
Any help will be greatly appreciated
thanks.
M. R. Ahmad
2012 May 30
1
Help needed for this error
> results <- mra(x$w1mcp, filter = "d4", n.levels = 3, boundary =
"periodic", method = "dwt")
> write.csv(results, "c:/mydata.csv")
Error in as.data.frame.default(x[[i]], optional = TRUE) :
cannot coerce class 'structure("mra", package = "wavelets")' into a
data.frame
I am not able to access data stored in results.
2012 Apr 01
1
Error in xy.coords(x, NULL, log = log) : (list) object cannot be coerced to type 'double'
Hi there,
When I run the code below I get the error
Error in xy.coords(x, NULL, log = log) :(list) object cannot be coerced to
type 'double'
Any tips how I can resolve this?
>
> library("waveslim")
>
> vols=read.csv(file="C:/Users/ocuk/My Documents/Abs Vol.csv", header=TRUE,
> sep=",")
> x<-c(vols[,1])
> #x
> #data(ibm)
>
2006 Jan 08
2
Filters in waveslim
Dear R Users,
For running wavelet functions using dwt( ), modwt( ), and mra( ), a wavelet filter algorithm is applied. For all these functions, default is "la8" and other possibility is "haar". In related documents, another possibilities like as symlet and coiflet ... are not cited.
Besides "la8" and "haar", which wavelet filters can be used?
Thank
2013 Mar 29
2
changing y-axis intervals in a boxplot
Dear R-users,
I'm a bit of a rooky in R and do not know how to change the y-axis intervals of a boxplot.
The y-axis in my boxplot ranges from 0 to 100 which is fine. The problem is the interval level in between. Now it increases with steps of 20 but I'd like to have it changed by steps of 5.
Anyone knows how to do this in R?
I used the following code for producing this boxplot:
2011 Jul 04
1
wavelets
I'm new to the topic of wavelets. When I tried to use the mra function in the
wavelets package, the data is not getting compressed. eg. if the original
data has 500 values , the output data also has the same.
However in MATLAB, depending on the level of decompositon, the data gets
compressed.
How do I implement this in R?
--
View this message in context:
2004 Feb 06
0
Fail to build a default Samba!
Dear Madam/Sir:
I downloaded the latest source file (version 3.0.1) and follow =
"Manifest" guide to build the binaries, but got failure.
OS: Red Hat Linux release 7.3 (Valhalla)
Kernel: 2.4.18-3 on an i686
***** Procedures I did to build:
[max@localhost source]$ ls -l configure
-rwxr-xr-x 1 max max 973150 Feb 6 10:30 configure
[max@localhost source]$ ./configure
:
2011 Jun 29
5
[Urgent] Email Retrieval from remote servers doesn't use Dovecot
------------------------
Dovecot Version:
------------------------
2.0.13
------------------------
Output of "dovecot -n":
------------------------
# 2.0.13: /usr/local/etc/dovecot/dovecot.conf
# OS: Linux 2.6.35-28-generic x86_64 Ubuntu 10.10 ext4
mail_location = maildir:/home/%u/Maildir
passdb {
args = %s
driver = pam
}
protocols = imap pop3
ssl = no
userdb {
driver = passwd
}
2005 Nov 23
1
assign() problem
I've written a piece of code (see below) to do a wavelet image
decomposition, during the evaluation of this code I would like to write
the results of some calculations back to the R root directory. I used
assign() to do so because the names should vary when going thrue a
while() loop. For some unknown reason I get an error that says:
Error in assign(varname[i], imwrImage) :
2009 Sep 10
1
samba w/o openvpn: OK - else strange issues
Hello,
I do have a very strange behavior. For some reason, I only observe
this, when I access a samba share through an openvpn tunnel.
(1) objective
have a share, have SECURITY USERS (to control access rights), but NULL
PASSWORDS (authentication is fine enough by vpn). Find config files
below.
This is samba 3.3.2. Openvpn 2.1_rc11.
(2) issue
I connect via vpn from winXP ... fine
I access
2006 Nov 14
1
??: Re: Need help in waveslim package: imodwt and universal.thresh.modwt
Airon,
I used R2.4.0 on a Windows XP (SP2) (not Chinese :-))
and it still works:
> data = read.csv("u:/airon.csv")
> xdata = data$Adj..Close
> modwt.la8 = modwt(xdata, "la8", n.level=6)
> summary(modwt.la8)
Length Class Mode
d1 1467 -none- numeric
d2 1467 -none- numeric
d3 1467 -none- numeric
d4 1467 -none- numeric
d5 1467 -none- numeric
d6 1467
2011 Oct 05
1
variance ratio test
Hello,
I am looking for a code in R for the variance ratio test statistic (the
Lo and Mackinlay version or any other versions).
Does anybody have such a code they can share or know a library in which
I can find this function?
Basically I have a number of time series which I need to check for
persistence. One other test I can use is the runs test in the tseries
package.
Any help will be greatly
2014 Dec 08
2
CRAN packages mis-using \donttest : falsy
Hi all,
anyone has an idea how I could fix this?
\donttest{
## Set colors from colorspace package with a fallback
col <- try(colorspace::rainbow_hcl(5), silent = TRUE) %||% rainbow(5)
}
The problem is that this makes R CMD check freak out
(http://www.r-project.org/nosvn/R.check/r-devel-linux-x86_64-debian-clang/falsy-00check.html)
if the colorspace package is not declared as a dependency.
2013 Feb 18
3
Generating QFs from same sample
Dear All
I am kind of stuck up with a code a part of which seems to be causing a
problem, or at least I think so. May be the community can help me. It’s
simple but I suppose I am missing something.
I generate a data matrix X, say of order n*p, where n represents
independent row-vectors and p correlated col vectors. Let the row
representation be X = (X’_1, . . ., X’_n)’. I generate the
2012 Mar 12
1
No passdbs specified in configuration file with passdb/userdb in protocol sections
hi-
i have a configuration in which i'm using different passdb/userdb settings for each of imap, lmtp and smtp [without getting too far off on a tangent, this is so ldap group membership can be used to independently control authorization for receiving [lmtp], retrieving [imap], and sending [smtp/postfix] of email. each passdb/userdb uses a different search filter.]
when i use this as my
2011 Dec 20
3
Xen interfaces / hooks
Hello all,
I have been looking through the internet and through the wiki, trying to
find something which explains in details the available interfaces with
which one might be able to insert some code to make some slight additions
to Xen functionality. I am doing some research on the possibility of adding
some extra functionality to Xen, and my supervisor has mentioned that these
are things worth
2010 May 24
3
need help to retrieve the previous commands by using ↑ and ↓ keys.
>hi,
>I am using R version 2.10.0.when i am trying to retrieve the previous used
R commands
>by using ↑ and ↓ keys,but i get the output like this
^[[A^[[A^[[A^[[B^[[C^[[A.
>can any one tell me how i can solve this problem.
--
Regards
Ab Rauf Shah
--
Regards
Ab Rauf Shah
[[alternative HTML version deleted]]
2017 Oct 18
2
LLVM Installation failing
Hi
I am trying to install llvm and clang on ubuntu 16.04, I tried installing
them using apt command but while running the pass it gives me error
"error: llvm/pass.h not found
*#include"llvm/pass.h"*
so i tried installing using the source code and building it my self,
*make *fails
at 98% with this error
*collect2: error: ld returned 1 exit
2010 Oct 27
1
multiple text or string searches
Dear all,
how can i search multiple text or string patterns in a text file.
i have written the following script but it is for only single searches at a
time.
how can i get multiple searches e.g
"xyz","abc","pqr".....at a time and can save the results to an out file.
script::
x<- "abc"
z<-NULL;for (i in 1:1235){{if
2011 Mar 20
1
GSoC 2011 - Improve Existing Bindings
Dear Olly,
I am very excited to contribute in open source community through the
platform of Google Summer of Code 2011. I have visited the ideas of ?Xapian?
at http://trac.xapian.org/wiki/GSoCProjectIdeas for GSoC 2011. I am
interested in working on ?Improve Existing Bindings?. The reason for my
interest is that I have previously worked on .NET related projects both in
VB and C#. I also have