similar to: How to perform a substitution in a loop?

Displaying 20 results from an estimated 1900 matches similar to: "How to perform a substitution in a loop?"

2010 Jan 11
3
Problem about Box-Cox transformation (topic in html form)
Hi: Recently, I want to perform a transformation on my data to make it more normal, meanwhile the order statistics is unchanged. So I decided to use a box-cox transformation. below is the qq-plot of the original data http://n4.nabble.com/file/n1011015/start%2Bvalue%2Bproblem%2B02.jpeg Note that the min of my data is -1099, so I add a fix value 1200 to the original sample. I choose the
2010 Jan 17
1
Confusion in 'quantile' and getting rolling estimation of sample quantiles
Guys: 1).When I using the 'quantile' function, I get really confused. Here is what I met: > x<-zoo(rnorm(500,0,1)) > quantile(x,0.8) 400 1.060258 > c=rnorm(500,0,1) > quantile(c,0.8) 80% 0.9986075 why do the results display different? Is that because of the different type of the class? 2).And I want to use the 'rollapply' function to compute a
2010 Jan 03
6
Help with function "fitdistr" in "MASS"
Hi, R users: I want to fit my data into a normal distribution by using the command "fitdistr" in "MASS". I changed my data class from "ts" to "numeric" by >class(mydata)="numeric" but after using "fitdistr", I got the result below >fitdistr(mydata,"normal") mean sd NA NA (NA) (NA) the help doc of
2009 Feb 03
3
Problem about SARMA model forcasting
Hello, Guys: I'm from China, my English is poor and I'm new to R. The first message I sent to R help meets some problems, so I send again. Hope that I can get useful suggestions from you warm-hearted guys. Thanks. I builded a multiplicative seasonal ARMA model to a series named "cDownRange". And the order is (1,1)*(0,1)45 The regular AR=1; regular MA=1; seasonal AR=0; seasonal
2009 Nov 27
2
How to compute Rolling analysis of Standard Deviation using ZOO package?
Hello: I want to get a rolling estimation of the stdev of my data. Searching the document, I found the function "rollapply" in the zoo package. For example, my series is "c", and i want get a period of 10 days, so i write the command below: roll.sd = rollapply( c, 10, sd, na.pad = TRUE, align = 'right' ) but there is an error in it ,and the computing cannot be
2006 Dec 02
1
encoding failed
Hello, using flac 1.1.2 regularly failed recently to encode a specific set of WAV files I got from the Internet. Listen to these files with XMMS, Audacious works fine. See the following output: options: -P 4096 -b 4608 -m -l 8 -q 0 -r 3,3 Track01.wav: WARNING: found non-standard 'fmt ' sub-chunk which has length = 30 Track01.wav: ERROR: unsupported compression type 85 What could I do to
2000 Feb 16
1
Decode questions
Sorry, to interrupt the license flame war... I downloaded the source from CVS as of 11am this morning and there are a couple of issues that I ran into: 1) I built the package and then in the examples dir I executed the following commands: # cdparanoia -B 1-1 # ./encoder-example < track01.cdda.wav > test.vor # ./decoder-example < test.vor > out.wav The rip and the encode both work
2001 Jul 07
2
patch for title(?) segmentation fault
oggenc -b 128 -d 1985 -N 01 -t "Black Planet" -l "First and Last and Always" -a "Sisters of Mercy" track01.cdda.wav egs in free in simple_utf8_encode. I tracked it down to a mis-calculated buffer size for malloc. I've attached the patch that fixes it (for me:). The only problem I have with the rest of the code is figuring out how the terminating 0 (null,
2004 Aug 06
2
stupid headers
When I run icecast 1.3.10 with shout 0.8.0 I get [/home/icecast/music/track01.mp3] [3:07] Size: 2997767 Bitrate: 128000 (38432 bytes/dot) [Error in read, exiting ] read: Broken pipe When I send a source stream using winamp, I get an invalid password error on winamp, and stupid headers on icecast. [19/Apr/2001:19:12:19] Kicking unknown 10
2009 Feb 17
0
How to simulate a seasonal ARIMA model in R?
Guys: Is it possible to simulate a seasonal ARIMA model in R? Which package can do this job? saji from Shanghai
2009 Feb 17
0
What's the predict procedure of ARIMA in R?
Hello,guys: Recently, I am working on a seasonal ARIMA model. And I met some problem in the forecasting. Now I just want to know that How does R perform the predict procedure(the predict formula, the initial setting of errors,etc.)? I run the following commands and get the original code of the "predict" command, but I can't read it. Can anybody explain it to me? Thanks! saji from
2002 Jan 06
6
Slightly off-topic: question about DOS batch files
Jack, thanks for your quick reply about my Comment question. This next question is slightly off-topic, but it pertains to encoding a directory of WAV files into Oggs. Right now I have 14 WAVs that I ripped from a CD... I made a [huge] batch file which specifies the name and track number of each WAV. Unfortunately, I have to have the entire batch file on a single line, since it's a
2006 Apr 11
2
variable-substitution / command-substitution
Hello, I have about 2000 data files which I want to analyse. The file names are all very similar => p"variable1"_t"variable2"_c"variable3".txt There aren?t so much different variables (about 70) , just different combinations of them. To allow an easy way of handling those data files I was wondering whether R is able to do variable-substitution
2020 Nov 04
2
variable substitution
Marco Gaiarin via samba ha scritto il 03/11/20 alle 16:22: > Mandi! Piviul via samba > In chel di` si favelave... > >> smb ports parameter; in effect in man smb.conf I can read: This parameter is >> not available when Samba listens on port 445. There is no way yo have the >> client name? All %m, %M, %I contains ip address... > > No and yes. > > >
2015 Jan 10
2
Variable substitution in UserKnownHostsFile configuration option
Dear OpenSSH developers, Do you find it a good idea if variable substitution is implemented in UserKnownHostsFile the same way it is done for IdentityFile? In ssh_config I would like to write something like UserKnownHostsFile ~/keys/%r/known_hosts Thanks! -- With best regards, Dmitry
2020 Mar 28
0
[klibc:update-dash] dash: parser: Save/restore here-documents in command substitution
Commit-ID: f7bb177a0dbd9750f78988a3636fa3c32418f6d7 Gitweb: http://git.kernel.org/?p=libs/klibc/klibc.git;a=commit;h=f7bb177a0dbd9750f78988a3636fa3c32418f6d7 Author: Herbert Xu <herbert at gondor.apana.org.au> AuthorDate: Sat, 19 May 2018 02:39:42 +0800 Committer: Ben Hutchings <ben at decadent.org.uk> CommitDate: Sat, 28 Mar 2020 21:42:55 +0000 [klibc] dash: parser:
2002 Sep 08
1
%L substitution...
Quick question for the Samba team, Just wondering if there is a reason that a %L substitution changes the WHOLE string after the substitution to lowercase (in standard_sub_basic)? This was causing me a big headache as I was using a %G later in the string, and this was being translated into a %g... Here's the relevant section of code from lib/substitute.c: case 'L' :
2005 Jan 31
1
variable substitution broken in 3.0.11pre2
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, i upgraded my server from 3.0.10 to 3.0.11pre2 on friday. today i recognized, that the variable substitution isn't working correctly. my smb.conf file containes the following two lines: include = smb.conf.%G include = smb.conf.%U this was working fine with previous samba versions (up to 3.0.10) the included files contained special shares
2000 Mar 01
1
R-1.0.0 install: Error "Substitution loop..."
Dear All First off, let me just add my thanks to all the people involved in the production of R-1.0.0... Well Done!! I'm getting an error installing R-1.0.0 on RedHat 5.2, perl 5.004_04. It did not occur under Solaris 2.6 with perl 5.004_01. During install of the base package (and akima, bootstrap, etc) it gets to the point of building the help pages and it gives this error:
2008 Mar 24
1
make error: ../../../bin/R: bad substitution
Hi, I am getting this error when I run 'make' under src/library/base: ../../../library/base/R/base is unchanged ../../../bin/R: bad substitution make: *** [all] Error 1 I traced it down to the following line in src/library/base/Makefile: @cat $(srcdir)/makebasedb.R | \ R_DEFAULT_PACKAGES=NULL LC_ALL=C $(R_EXE) --slave > /dev/null I am trying to build R-2.6.2 on a