Displaying 20 results from an estimated 6000 matches similar to: "question from Blue book"
2018 Sep 23
1
Recall
This works:
my.compose <- function(f, ...) {
if (missing(f)) identity
else function(x) f(my.compose(...)(x))
}
my.compose(sin, cos, tan)(pi/4)
## [1] 0.5143953
sin(cos(tan(pi/4)))
## [1] 0.5143953
But replacing my.compose with Recall in the else causes it to fail:
my.compose2 <- function(f, ...) {
if (missing(f)) identity
else function(x) f(Recall(...)(x))
2006 Jun 28
1
installing R on RedHat
Dear R People:
Yet again, I am attempting to install R on RedHat Linux.
Here is my sorry attempt to date:
[hodgess at gator hodgess]$ rpm -vi R.rpm
warning: R.rpm: V3 DSA signature: NOKEY, key ID 97d3544e
error: cannot write to %sourcedir /usr/src/redhat/SOURCES
I only want to write it to my own userid, since I am the only one
who uses it.
Any suggestions would be much appreciated.
Thanks,
2012 Aug 02
2
[O/T] Good bash or Linux shell command book
Dear R People:
Sorry for the off topic question, but here it goes: could someone
recommend a good bash shell programming book, please?
Thanks,
Erin
--
Erin Hodgess
Associate Professor
Department of Computer and Mathematical Sciences
University of Houston - Downtown
mailto: erinm.hodgess at gmail.com
2006 Nov 14
3
lpSolve and mixed signs
Hi R People:
If you have a linear programming problem in which
some of the constraints have the "<=", some
have ">=" and some have "=", all in the same problem,
should the solver work?
I'm having trouble with that. Any help much appreciated!
Sincerely,
Erin Hodgess
mailto: hodgess at gator.uhd.eud
whoops!
mailto: hodgess at gator.uhd.edu
2009 Apr 21
1
Quality control and possible QC in R book?
Dear R People:
Is there a Quality Control in R book that would be accessible for
undergraduates, please?
I'm teaching a QC course in the fall semester and would be happy to
have a Use R book or something like that, please.
Thanks in advance,
Erin
--
Erin Hodgess
Associate Professor
Department of Computer and Mathematical Sciences
University of Houston - Downtown
mailto: erinm.hodgess at
2003 Nov 14
3
Expressions and Functions
Dear R People:
When the D function is used for a symbolic derivative,
an expression is returned, which is fine.
How do you change that expression to a function, please?
I've been experimenting with substitute and deparse, but no success
yet.
This is R 1.8.0 for Windows.
thanks in advance for the help!
Sincerely,
Erin Hodgess
mailto: hodgess at gator.uhd.edu
2009 Sep 03
2
[OT] book on Linux scripting
Dear R People:
I know that this is off topic, but could anyone recommend a good book
on Linux scripting please?
Any help would be much appreciated!
Thanks,
Erin
--
Erin Hodgess
Associate Professor
Department of Computer and Mathematical Sciences
University of Houston - Downtown
mailto: erinm.hodgess at gmail.com
2010 Jan 21
2
question about Software for Data analysis book
Dear R People:
I'm sure that this is a very silly question, but I'm reading the
Software for Data analysis book by John Chambers, and I can't find the
"Declination" data that he refers to on page 15 in the book.
I did all of the usual stuff:
library(help=SoDA)
??Declination
looked for it online but to no avail.
Has anyone else run into this, please?
Any help would be
2008 Oct 08
4
question from Braun/Murdoch book
Hi R People:
I am looking at the Braun/Murdoch book, " A First Course in
Statistical Programming in R", and I have a question about a function
there. It's on page 52, Example 4.5; the sieve of Erastosthenes.
There is a line:
primes <- c()
Is there a difference between using that and
primes <- NULL
please?
When you put in primes <- c(), primes comes back as NULL.
Is
2004 Mar 28
2
splitting a character vector
Dear R People:
Suppose I have the following;
xa <- c("There are 5 dogs")
I would like to have a new character vector such that
xb[1] is There
xb[2] is are
xb[3] is 5
xb[4] is dogs
Since the original vector has length 1, substring will not work.
Any suggestions would be MOST welcome!
thanks
Erin Hodgess
Associate Professor
Department of Computer and Mathematical Sciences
2006 Feb 27
2
install RPM file on Redhat
Dear R People:
I downloaded the RPM for Red Hat Linux.
How do I install this, please? When I looked
at the R Intallation manual, it seemed to be
referring to installing from source.
Thanks in advance!
Sincerely,
Erin Hodgess
Associate Professor
Department of Computer and Mathematical Sciences
University of Houston - Downtown
mailto: hodgess at gator.uhd.edu
2006 Aug 29
3
Substring and strsplit
Dear R People:
I am trying to split a character vector into a set of individual
letters:
Ideal:
x3 <- c("dog")
"d" "o" "g"
I tried the following:
> strsplit(x3)
Error in strsplit(x3) : argument "split" is missing, with no default
> strsplit(x3,1)
[[1]]
[1] "dog"
I know that this is incredibly simple, but what am I doing
2006 Jun 21
3
latex function with lm
Dear R People:
I have used the "latex" function from the Hmisc
package and it is just great!
However, I have a new question regarding that function:
is there an option for summary(lm(y~x)), please? There are
options for different types of objects, but I didn't see one
for that. Maybe I just missed it.
Thanks in advance!
R for Windows Version 2.3.1
Sincerely,
Erin Hodgess
2006 Aug 02
2
listing of permutations
Dear R People:
Suppose I have the 4 numbers: 1,2,3,4.
I would like to create a listing of the permutations
of 4 items taken 4 at a time.
Is there a built in function for that, please?
Thanks in advance!
R 2-3-1 for Windows or Linux
Sincerely,
Erin Hodgess
Associate Professor
Department of Computer and Mathematical Sciences
University of Houston - Downtown
mailto: hodgess at gator.uhd.edu
2007 May 22
4
Parallel processes
Dear R People:
I was wondering if there were any packages for parallel programming in R.
According to the R-help, at one time there was a package called SNOW. It doesn't seem
to exist anymore.
Any help would be much appreciated!
Sincerely,
Erin Hodgess
mailto: hodgess@gator.uhd.edu
[[alternative(swapped) HTML version deleted]]
2004 Sep 30
2
dev.print and win.print
Dear R Users:
Was there an answer to the question about
using dev.print and win.print to print as horizontal = FALSE,
please?
I was working on it and I didn't find the solution.
R 1.9.1 Windows
Thanks,
Erin Hodgess
mailto: hodgess at gator.uhd.edu
2006 Jan 08
2
sending methods to a new package
Dear R People:
When creating a package, how do you include new methods and classes,
please?
I'm using the pacakge.skeleton command as a starting point.
Thanks,
Sincerely,
Erin Hodgess
Associate Professor
Department of Computer and Mathematical Sciences
University of Houston - Downtown
mailto: hodgess at gator.uhd.edu
2006 Jan 01
4
S3 vs. S4
Dear R People:
Could someone direct me to some documentation on the
difference between S3 and S4 classes, please?
For example, why would a person use one as opposed to another?
Maybe pros and cons of each?
Thanks in advance!
R Version 2.2.0 (I'm downloading the new one this afternoon!) Windows.
Happy New Year!
Sincerely,
Erin Hodgess
Associate Professor
Department of Computer and
2006 Feb 06
3
decomposed.ts class and method
Dear R People:
In the function "decompose", the object has the class of "decomposed.ts".
(from package stats)
I would like to see the class definition and the method for the plotting.
However, when I use
isClass("decomposed.ts")
I get "FALSE".
When I check getMethods("plot")
there is no method for plot on decomposed.ts
Any suggestions,
2004 Nov 22
2
rhyp function from fBasics
Dear R People:
There is a function from the fBasics library to get the probability
and quantiles for the hyperbolic probability function.
Is there one that will estimate parms of the hyperbolic probability
function from a data set, please?
Thanks in advance!
Sincerely,
Erin Hodgess
mailto: hodgess at gator.uhd.edu
R Version 2.0.1 windows