Displaying 10 results from an estimated 10 matches for "jones3745".
2007 Apr 13
4
Getting and using a function
I am trying to do what is perhaps the most basic procedure which can be done
with the R software.
Under Windows XP Home Edition, I want to get a copy of the function "gam,"
then put it in and use it. I intentionaly use informal terms, rather than
technical terms whose exact meaning I might or might not know.
I am finding this extremely frustrating. Every time I try to do anything,
2007 Nov 23
1
Problem with environments
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
function which you need to call. The attach function will accept a
list. However, I don't seem to be able to create the list properly. (Or
should I use a frame instead?)
Anyway, here is the output,
2007 Dec 08
2
Function to tell you how an object is put together
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 and
the names of the attributes. Also, things like whether or not the object is
an array; whether or not it is a matrix, etc.
Tom Jones
2007 Dec 04
2
Problem with a global variable
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 printouts are enabled. After the function works, some or all of
the debugging printouts can be inhibited. idebug is a global variable;
otherwise, it would
2007 Nov 20
4
Problems with NA's
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)
y [3] <- NA
if (y [3] != NA){(print ("no")}
print ("Leaving NA_test")
return ()
}# End of function
2007 Nov 26
3
Communicating from one function to another
My question is a seemingly simple one. I have a bunch of user-defined
functions which compute such-and-such objects. I want to be able to define a
variable in a particular function, then make use of it later, perhaps in a
different function, without necessarily having to move it around in argument
lists. In the C community, it would be called a "global" variable.
Question 1: Is this
2007 Nov 23
0
R users in Cyprus
...rtment of Statistics
The University of Auckland
Private Bag 92019
Auckland
New Zealand
64 9 3737599 x85392
paul at stat.auckland.ac.nz
http://www.stat.auckland.ac.nz/~paul/
------------------------------
Message: 88
Date: Thu, 22 Nov 2007 03:16:01 -0500
From: "Thomas L Jones, PhD" <jones3745 at verizon.net>
Subject: [R] Naming elements of a list
To: "R-project help" <r-help at stat.math.ethz.ch>
Message-ID: <000301c82cdf$ebdb3500$2f01a8c0 at dell2400>
Content-Type: text/plain; format=flowed; charset="iso-8859-1";
reply-type=original
I have a nume...
2007 Nov 04
2
Fw: Creating a barplot--advice needed
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 me. "grouping
> variable," "object of class trellis," etc. Or, is there a more easily
> learned way to do it? It is a
2007 Nov 22
3
Naming elements of a list
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
function which you need to call. The attach function will accept a
list. However, I don't seem to be able to create the list properly. (Or
should I use a frame instead?)
free_driver <- function (){
2008 Feb 16
2
Possible overfitting of a GAM
The subject is a Generalized Additive Model. Experts caution us against
overfitting the data, which can cause inaccurate results. I am not a
statistician (my background is in Computer Science). Perhaps some kind soul
would take a look and vet the model for overfitting the data.
The study estimated the ebb and flow of traffic through a voting place. Just
one voting place was studied; the