similar to: Automated figure production

Displaying 20 results from an estimated 7000 matches similar to: "Automated figure production"

2007 Mar 30
1
Using split() several times in a row?
Hi, fellow R users. I have a question about sapply and split combination. I have a big dataframe (40000 observations, 21 variables). First variable (factor) is "date" and it is in format "8.29.97", that is, I have monthly data. Second variable (also factor) has levels 1 to 6 (fractiles 1 to 5 and missing value with code 6). The other 19 variables are numeric. For each month I
2007 Jul 01
1
%f bug in --out-format, patch for 2.6.9 ? (better mail formating)
Hello, I'm experiencing various output bugs using --out-format with %f in rsync 2.6.9 I test it with rsync 2.6.9-2 and 2.6.9-3 in debian etch, running both in deamon and client mode on the same host. This bug seems to be known by the developer as said in http://samba.anu.edu.au/ftp/unpacked/rsync/NEWS : NEWS for rsync 3.0.0 (UNRELEASED) Protocol: 30 (changed) Changes since 2.6.9: BUG
2008 Jan 25
2
How does do.call() work??
Dear members of R forum, Say I have a list: L <- list(1:3, 1:3, 1:3) that I want to turn into a matrix. I wonder why if I do: do.call(cbind, L) I get the matrix I want, but if I do cbind(L) I get something different from what I want. Why is that? How does do.call() actually work? I've read in do.call() help file this sentence: "The behavior of some functions, such as
2009 Feb 03
1
Automatic creation of columns in zoo object
Hello, everyone I have a question. Assume I have the following zoo object: me.la <- structure(c(1524.75, 1554.5, 1532.25, 1587.5, 1575.25, 1535.5, 1550, 1493.5, 1492.5, 1472.25, 1457.5, 1442.75, 1399, 1535.75, 1565.25, 1543.5, 1598.5, 1586.5, 1547, 1561.5, 1504.75, 1503.75, 1483.75, 1468.75, 1453.75, 1410, 1546.75, 1575.25, 1554, 1609, 1597.5, 1558.5, 1573, 1516.25, 1515.5, 1495, 1480, 1465,
2009 Sep 21
3
Putting a text box in a plot
Hello everyone, I have a plot and I want to but a (formatted) box containing text and numbers, say: Mean: 0.1 St.Deviation: 1.1 Skewness: 1.1 Kurtosis: 0.5 I know there is a way to do this, there is a function in some library, but it's been years since I used this function, and I do not remember where I found it. Could anyone help out? Thank you in advance! Sergey -- Kniven sk?rpes bara
2010 Mar 31
2
Simplifying particular piece of code
Hello, everyone I have a piece of code that looks like this: mrets <- merge(mrets, BMM.SR=apply(mrets, 1, MyFunc, ret="BMM.AV120", stdev="BMM.SD120")) mrets <- merge(mrets, GM1.SR=apply(mrets, 1, MyFunc, ret="GM1.AV120", stdev="GM1.SD120")) mrets <- merge(mrets, IYC.SR=apply(mrets, 1, MyFunc, ret="IYC.AV120",
2009 Sep 21
2
Executing R scripts from another R script
Hello, everyone I run Eclipse Ganymede and R 2.7.2 at work. I have one R script file where I open in memory a new xls file (using xlsReadWritePro), call other R scripts, which are in the same folder as the main R script, which get data from an existing xls file, process data, and output results in the xls file which is in memory. That is the idea. But I cannot make it work. First, I do not
2009 Sep 22
3
Function similar to cumsum/cumprod
Hello, everyone I wonder if there is in R somewhere a function similar to cumsum(). The function calculates a statistic (say mean or standard deviation) buy adding consequtively one more data point. So, say I have a timeseries of 100 observations. I start by calculating mean of first 30 observations Then I add one observation and calculate mean of 31 observations Then I add one more observation
2009 Mar 13
2
Taking diff of character vectors
Hello, everybody Say I have nm1 <- c(rep(1,10), rep(0,10)) then I can do: diff(nm1) to see where I have shift in value but what if I have nm2 <- c(rep("SPZ8", 10), rep("SPX9", 10)) how can I produce the same ouput as diff(nm1) does, that is zeros everywhere except for one place where SPZ8 changes to SPX9 (there should be 1 there)? What if I have a matrix of characters
2007 Sep 28
4
Creating nice looking lists: how?
Hello, For my functions I want to create output similar in appearance to that of what you get when you print a summary of lm model: Residuals: Min 1Q Median 3Q Max -0.209209 -0.043133 0.001793 0.044105 0.234750 Coefficients: Estimate Std. Error t value Pr(>|t|) (Intercept) 0.981762 0.004089 240.103 < 2e-16 *** Factor 1
2010 Jun 15
3
How to see how a function is written
Hello, If I want to see how, say, apply function is written, how would I be able to do that? Just typing "apply" at the prompt does not work. Thank you for help! Sergey
2010 May 20
2
Deleting a file on a drive from within R
Hello, I have an Excel file on a drive and I extract data from it into R session. Once I have extracted the data, I want to delete that Excel file from the drive. Can I do that from within R, please? Thank you for help! Regards, Sergey
2010 Mar 11
3
Help function "?" in R 2.10.1
Hello everyone, I have versions 2.7.2 and 2.10.1 installed on a machine that has no access to internet. In 2.7.2 I can use ? to get help on functions, which in 2.10.1 that does not work, all I see is "starting httpd help server...done" and then nothing. Have I downloaded 2.10.1 incorrectly (=forgot to tick some box for local help file repository) or is the internet help now the
2010 Feb 08
2
Physically open Excel file from R
Hello, everyone I wonder if it is possible to PHYSICALLY open an Excel file from R. The reason I ask is, I produce regularly an Excel file in R, and then I want to make it look good, so I have a VBA routine in another Excel file that works on the regular Excel file. This formatting file executes VBA code on open, so all I need to do is physically open it (no reading/writing at all). I wonder if
2009 Feb 27
1
Problem with RBloomberg (not the usual one)
Hello, everyone! I have a problem with RBloomberg and this is not the usual "no administrator rights" problem. I have R 2.7.2, RBloomberg 0.1-10, RDCOMclient 0.92-0 RDCOMClient, chron, zoo, stats: these packages load OK. Then, trying to connect, I get following error message: conn <- blpConnect(show.days="week", na.action="previous.days",
2010 Jul 07
2
F# vs. R
Hello, everyone F# is now public. Compiled code should run? faster than R. Anyone has opinion on F# vs. R? Just curious Best, S -- ------- Kniven sk?rpes bara mot stenen.
2008 Aug 10
1
Again question about filter()
Hello, I thought I understood filter() with the help from Prof. Grothendieck, but I guess I did not. For example, how does this work: filter(1:10, c(0.1, 0.5, 1, 0.5), "recursive", init=c(1,2,3,4)) Time Series: Start = 1 End = 10 Frequency = 1 [1] 7.10000 6.71000 9.22100 15.87710 21.45821 28.66037 41.08274 55.83522 74.51437 100.78197 If I understand it correctly, the time
2007 Apr 11
1
ntprinters.tdb and ntdrivers.tdb
Hello, I am trying to migrate a samba printing server (with cups). (3.0.10fc3) by renaming it localhost=drlinux=the test machine newscribe=the production machine I did the following operations : 1/ Install a basic samba and cups 2/ copy all the configuration files and other from our running samba to our test server (including all tdb files ..) 3/ Adding the new server to the domain net rpc join
2009 Feb 10
1
Replacing dot with empty space
Hello, everyone How do I replace dot with empty space in "ED4.Comdty"? I need to get "ED4 Comdty" tried sub() in many different ways, like sub({.}, " ", "ED4.Comdty") etc but could not do it. Thanks in advance, Sergey
2010 Nov 20
1
R + Linux Ubuntu 10.10
Hi everyone, I've just installed Linux (K)Ubuntu 10.10 as well as R and I'm stuck with a very annoying problem. I've compiled the latest R version from the sources without any problem, sadly when I start R in a terminal, it does not behave as expected. In fact, I cannot use the arrow keys (up, down, left, right) because they are automatically replaced with things like ^[[A I have no