Search Archives
Search tips
from:Name
Search by author name, e.g. from:Duncan Murdoch
"exact phrase"
Match an exact phrase
word1 word2
Match messages containing both words
Date range
Use the date pickers to filter results to a time period
Use the list dropdown to narrow results to a specific mailing list. Combine from: with other terms to filter by author and content.
The subject is how to bookmark a page inside r-project.orgFrom Peter Dalgaard:At least in Firefox, one thing you can do is to bring up the relevant link in a new window or tab (just right-click it...
Some computer languages, including C, have a "go" or "go to" command which can be used to shift control to a different part of a function. Question: Does the R language have a corresponding command? (Yes, I am aware that...
(newbie question) How do I save the workspace in Windows text format (with the file extension .txt)? Also, having saved it and edited it, how do I load it back into the workspace? The setup is: Windows XP Home Edition...
I have two vectors, x and y, and I want to create a scatterplot. I want the lower left corner to be at (0, 0). I can create a scatterplot just by calling plot (x, y), but I am quite...
Question: Suppose I have an arbitrary object. Is there a function which will accept the object as an argument and sort of give the format of the object, how it is put together, etc.? The analysis would include the attributes...
By way of review, most large Web sites allow the user to create *bookmarks* which link to pages inside the Web site. However, here, the pages have one of just two URL's: http://www.r-project.org and http...
I am trying to smooth a dataset with evenly spaced values of x, perhaps using loess smoothing or something similar. However, the y values are hypergeometrically distributed; I think I want to use a logarithmic link function. It falls under...
Subject: Creating a barplot--advice needed > Advice needed: I am preparing a computer program to do a barchart. Advice > needed: Should I learn the lattice package, or try to? As a > non-statistician, much of the terminology is unfamiliar to...
Difficulty handling NA's: Assume that I have a numeric vector y. For simplicity, assume that it has 10 elements. Assume that the third element has the value NA. I give it the following: NA_test <- function (){ y <- numeric (10...
From: Thomas Jones I have several user-defined functions. As is standard practice, I am defining a logical vector named idebug in order to control debugging printouts. For example, if idebug [1] has the value TRUE, such-and-such debugging...
Suppose I have an arbitrary R object. Is there a way to find out its format? There are 118 points, each described by two numbers. Let the name of the object be "obj" without the quotes. I can do a...
I have a dataset, a time series comprising count data at five minute intervals. These are the number of people who voted at a particular voting place during a recent election. The next step is to smooth the data and...
I am trying, with extremely limited success, to get the R software to do some simple computations. Specifically, I defined a test function as follows: fn <- function () { hw <- "hello world" hw s <- seq (0, 0.98, 0.02) s } The...
I have a numeric vector of lenth 1. I am trying to use it inside a function just by giving its name, rather than specifying it as an argument to the function. I am aware that there is an attach...
I am conducting a gam smooth and having a devil of a time getting out the answers so I can work with them. Here are the two lines of code: > model <- gam(y~lo(x, span=0.75, degree=2...
I have a dataset which I am trying to smooth, using locally weighted regression. The y values are count data, integers with Poisson distribution, and it is important for the regression function to know this, since assuming a Gaussian distribution...
I am working with a non-parametic smoothing operation using a Generalized Additive Model. It is a bivariate data set. I know how to do the smooth, and out comes a nice smooth curve. Now I want to find the...
>From Tom: In R 2.2.0 under Windows, I want to be able to give it a filename such as "myFile.txt" without the quotes. But actually I mean: C:\Documents and Settings\Tom\My Documents\qpaper7\R Project...
I have a numeric vector of length 1. I am trying to use it inside a function just by giving its name, rather than specifying it as an argument to the function. I am aware that there is an attach...
I am having difficulty writing the code for the following operation: I have a numeric vector pred_out of length 156. (N = 156). Under Windows XP, I need to write it to the disk in text format. Perhaps some kind...
Can't find what you're looking for? Try searching with Google .