similar to: Documentation

Displaying 20 results from an estimated 2000 matches similar to: "Documentation"

2007 Nov 08
1
Bug (?) in read.fwf
Hi, I'm trying to use read.fwf temp = read.fwf ("Raw data.txt", widths = c (11, 21, 10, rep (16, 6)) ,skip = 2, n = 2, stringsAsFactors = FALSE, strip.white = TRUE) but no matter what I do the strings are turned into factors. I believe it's the "n=2" parameter that causes the problem as it seems to work without this. Am I missing something? Thanks in advance,
2008 Aug 11
1
A zoo question / problem
Hi I'm having a problem using the zoo library and I can't see what I'm doing wrong. For example setting up the data > t1 = zoo (matrix (1:12, nrow = 3), order.by = as.Date (c("2008-08-01","2008-08-02","2008-08-03"))) > colnames (t1) = c ("A", "B", "C", "D") > t2 = zoo (matrix (1:12, nrow = 3), order.by =
2010 Oct 27
2
Which version control system to learn for managing Rprojects?
Gabor As someone trying to the rest of my team using Subversion (which I have used for a while, but more as a backup / record of changes), have you a neat / automated way of building a package from a subversion repository? Thanks David Jessop -------------------------- David Jessop Global Head of Quantitative Research UBS Investment Research +44 20 7567 9882 ----- Original Message -----
2010 Jun 20
6
Popularity of R, SAS, SPSS, Stata...
Hi All, I've been fiddling around with various ways to estimate the popularity of R, SAS, SPSS, Stata, JMP, Minitab, Statistica, Systat, BMDP, S-PLUS, R-PLUS and Revolution R. It's not an easy task. You can see what I've come up with so far at http://r4stats.com/popularity . I'm sure people will have plenty of ideas on how to improve this, so please let me know what you think.
2010 Jun 16
4
questions on some operators in R
Hi all, I have two questions. Can some one give some help? The first question is regarding the pair of operators "&" and "&&". What is the difference between the two? The second question is regarding "<-" and "=". Usually we use "<-" as the assignment operator. I saw some people use "=". Is there any
2007 Feb 05
2
Rconsole - setting the size and location of Windows help files (Rgui)
Hi, Using the Rconsole file I can specify the size and location of the Rgui windows on NT. e.g. # Dimensions (in characters) of the console. rows = 51 columns = 100 How can I specify the size of the help windows that popups when I ask for help? e.g. '?help' I would like the popup window to have say rows = 51 and columns = 100, just like the main window but a different location on the
2011 Jun 06
2
Problem in R documentation
I am not able to run Dickey-Fuller test. adf.test() function is not working. It is showing 'Error: could not find function "adf.test" Can any tell how to call "time series" library? -- Siddharth Arun, 4th Year Undergraduate student Industrial Engineering and Management, IIT Kharagpur [[alternative HTML version deleted]]
2010 Oct 28
1
Key combination that removes all R objects
Dear readers, There is a combination of keys that I have (on several occasions now) typed by accident into R (2.10.0) which removes all the objects in the environment, and clears the console, as though I had typed rm(list=ls()). Unfortunately I don't know what the combination of keys are, so I am struggling to find out more about this behaviour on my own and I was hoping that someone has
2011 Jun 13
1
documentation in R
How we can call auto.arima in R. Is there any cran package we need to install for this function? -- Siddharth Arun, 4th Year Undergraduate student Industrial Engineering and Management, IIT Kharagpur [[alternative HTML version deleted]]
2013 Aug 24
3
Parts of Speach Tagging
I was using tagPOS function from openNLP package for parts-of-speach. Now the package is updated and the function is not present. Any suggestions how to do it now ? Thanks for your help. -- Regards, Siddharth Arun, Contact No. - +91 8880065278 [[alternative HTML version deleted]]
2011 Jun 15
1
Problem auto.arima() in R
I am using auto.arima() for forecasting.When I am using any in built data such as "AirPassangers" it is capturing seasonality. But, If I am entering data in any other format(in vector form or from an excel sheet) it is not detecting seasonality. Is there any specific format in which it detects seasonality or I am doing some thing wrong? Does data have to be entered in a specific
2011 Feb 17
1
How to speed up a for() loop
Dear all, Does anyone have any idea on how to speed up the for() loop below. Currently it takes approximately 2 minutes and 30 seconds. Because of the size of Nsim and N, simulating a multivariate normal (instead of simulating Nsim times a vector of N normal distributions) would require too much memory space. Many thanks for your kind help, Simona N=3000 PD=runif(N,0,1) cutoff.=qnorm(PD)
2004 Sep 29
2
defining a template for functions via do.call and substitute.
Hi, Given a function fun <- function(a, b) a + b how do I generate the function 'function(x, y) x + y'? Working from the help files and Bill Venables' R-news article (June 2002), I have tried various permutations with substitute without success. e.g. do.call("substitute", list(fun, list(a = as.name("x"), b = as.name("y")))) Regards, John.
2011 Jun 15
1
Query regarding auto arima
I am using AUTO ARIMA for forecasting. But it is not detecting 'seasonality term' of its own for any data. Is there any other method by which we can detect seasonality and its frequency for any data? Is there any method through which seasonality and its frequency can be automatically detected from ACF plot? -- Siddharth Arun, 4th Year Undergraduate student Industrial Engineering and
2006 Jun 19
1
lattice xyplot - aligning date labels so that they align with the grid lines in panel.grid
Hi, I have a basic question about aligning date labels for the x-axis in an xyplot so that they align with the grid lines from the panel.grid argument. For example, with x <- data.frame( date = seq(as.Date("2005/01/01"), as.Date("2006/06/01"), length.out = 20), value = runif(20)) xyplot(value ~ date, data = x, panel = function(x, y, subscripts, ...) {
2004 Oct 06
3
lapply with argument "X"
Hi, I am probably making a simple mistake but I can't see it > X Error: Object "X" not found > exists("X") [1] FALSE > lapply("X", exists) [[1]] [1] TRUE Why is lapply producing true? Is it something to do with the first argument of lapply also being called 'X'? > version _ platform i386-pc-mingw32 arch i386
2004 Sep 29
2
defining a template for functions via do.call and substit ute.
Here's one not-so-straightforward way: > f <- function(a, b) a + b > flist <- as.list(f) > names(flist)[1:2] <- c("x", "y") > flist[[3]] <- do.call("substitute", list(body(f), list(a=as.name("x"), b=as.name("y")))) > g <- as.function(flist) > g function (x, y) x + y HTH, Andy > From: john.gavin at ubs.com
2006 Sep 28
2
calling R from within Java, using jri
Hi, I want to call R from within Java, using jri as per http://www.rosuda.org/software/jri/ So I am following the instructions in the README file for JRI 0.2-4. I have run 'sh configure.win' and 'make' and they seemed to be successful. (See below for the output from make, for example.) But when I try 'run.bat rtest' (with and without R command line arguments) the output
2011 Jun 28
2
Running R from windows command prompt
1. I have a R program in a file say "functions.R". I load the "functions.R" file the R using source("function.R") and then call functionsf1(), f2() etc. which are declared and defined within "function.R" file. I also need to load a couple of R libraries using library() before I can use f1(), f2() etc. My question is can I acheive all this (i.e. calling
2002 Nov 04
2
Sweave - documenting a long function
Hi, I would like to use Sweave to document a long function. Is it possible to split the function's code into chunks such that Sweave will accept each chunk without complaining. I have tried various approaches without sucess but I feel sure that someone has done this already. Here is one attempt ============== % First, define the funciton header <<defFunHdr, eval=FALSE>>= x <-