Displaying 2 results from an estimated 2 matches for "tstf1".
Did you mean:
tst1
2000 Apr 03
1
another save/load problem, only(?) affecting ascii = TRUE (PR#507)
...ng save(....., ascii = TRUE),
the resulting file is not always readable by load(.).
The following is executable R code
exhibiting two (slightly different) examples
of which I have seen even more [~/R/MISC/saveload-bug.R]:
### BUG : save(..., ascii = TRUE) produces load() - unreadable files :
tstf1 <- function(n = 500)
{
## Purpose:
## -----------------------------------------------------------------------
## Author: Martin Maechler, Date: 29 Mar 2000, 15:40
## -----------------------------------------------------------------------
n2 <- n %/% 2
nk <- n2 * 4...
2005 Jul 17
1
printing the name of the arguments passed to a function
R2.1.1
Win 2k
I have a function, B, within a function, A.
I would like to have B print the name of the argument passed to it (not
the value of the arguments).
i.e.,
A<-function()
{
B<-function(x,y)
{
fit1<-lm(y~x,data=jo)
print(summary(fit1)
I want B to print the string "age" and the string "height".
}
B(age,height)
}