Displaying 12 results from an estimated 12 matches for "klepeis".
2002 Jul 15
2
Transpose and NA's
...; " 8" " 9" "10"
z " NA" " NA" " NA" " NA" " NA" " NA" " NA" " NA" " NA" " NA"
>
--
______________________________________________________
Neil E. Klepeis, UC Berkeley, School of Public Health,
and Lawrence Berkeley National Laboratory,
Berkeley, CA USA.
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", o...
1999 Sep 17
2
Non-interactive sessions
...tscript(\"myfile.ps\")\n");
$R->print("dev.print(postscript)\n");
$R->print("curve(sin(x),-pi,pi)\n");
$R->print("dev.off()\n");
-------------------------------------------
--
___________________________________________________________
Neil E. Klepeis, School of Public Health, UC Berkeley, USA
Web: http://socrates.berkeley.edu/~nklepeis
Email: nklepeis at uclink4.berkeley.edu
Voice: 510-848-5827
-------------------
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac....
2002 Aug 30
1
Limit on Function Size
...nd 2800 lines, R
will segfault when I `eval(parse(file="..."))' the function.
I can parse the lines after around line 2800 by themselves (i.e., cut
and pasted).
Is there some new limit on the size of R functions?
--
______________________________________________________
Neil E. Klepeis, UC Berkeley, School of Public Health,
and Lawrence Berkeley National Laboratory,
Berkeley, CA USA.
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", o...
2002 Oct 31
1
Zero is not Zero
...ong*
[1] 0.001
---
Doing `110 - trunc(110)', of course gives "0" when entered on the R
command-line directly:
> 110 - trunc(110)
[1] 0
So where does that 1.421085e-14 come from, and how can I get rid of it?
--
______________________________________________________
Neil E. Klepeis, UC Berkeley, School of Public Health,
and Lawrence Berkeley National Laboratory,
Berkeley, CA USA. Voice: 831-768-9510
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info"...
2000 Sep 17
1
Weighted Histogram
...s(bin)))
Does anyone know of a simple (vectorized) way in R to calculate a
weighted histogram where there may be zero counts in any number of
intervals? [If not, I suppose I could loop through each interval...]
Thanks,
Neil
--
___________________________________________________________
Neil E. Klepeis, School of Public Health, UC Berkeley, USA
http://eetd.lbl.gov/ied/era/exposuremodeling/
nklepeis at uclink4.berkeley.edu
-----------------------------
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-...
1999 Nov 12
1
some related problems
I just tried to batch-start rgui.exe (not rterm.exe) in a way, that it
read.table()s data from a file with changing filename. As I understand no
command line parameters are available for that, so instead I tried to pass
the filename to an approbriate .RProfile, which works roughly, BUT
## this is my %R_USER%\.RProfile
im <- read.table("d:/temp/im/temp.csv", header=TRUE,
2002 Mar 12
0
Vis5D interface package
...e., F(x,y,z,t). [It's also GPL'ed and compiled
beautifully on a RH Linux 7.1/Intel machine]
The files I have so far are:
(1) FORTRAN code + header file for converting an ASCII file into Vis5D
`v5d' format (Note: compilation needs the Vis5D libraries).
http://socrates.berkeley.edu/~nklepeis/Vis5D/R2v5d.f
http://socrates.berkeley.edu/~nklepeis/Vis5D/v5df.h
(2) R function for fitting f(x,y,z) data across different times (using
the `Tps' Kriging function in the R `fields' package), calculating
function values across a *regularly*-spaced grid, and outputting an
ASCII file that ca...
2002 May 22
1
Tps regression question
Dear all,
I'm a beginner in spatial regression, therefore, excuse me in advance for
the stupid question.
I'm using the function Tps of field library. As I read in help, the
assumed model for this regression is additive Y = f(X) + e where f(X)
is a d dimensional surface.
I have understood that d in not an argument to specify in Tps(x, Y, ...).
How can I obtain d ?
Thanks a lot.
2010 Jan 07
1
question on 'within' and 'parse' commands
Hi,
Why can't I pass an expression to `within' by way of textual input to
the 'parse' function?
e.g.,
> x <- data.frame(a=1:5,b=LETTERS[1:5])
> x
a b
1 1 A
2 2 B
3 3 C
4 4 D
5 5 E
> within(x, parse(text="a<-a*10; b<-2:6"))
a b
1 1 A
2 2 B
3 3 C
4 4 D
5 5 E
> within(x, parse(text="a<-a*10; b<-2:6")[[1]])
a b
1 1 A
2 2 B
3
2002 May 15
0
Reading multi-line FWF data
...ff from `read.fwf' in base R and threw together the
function included below.
Please feel free to test this function with your own data and let me
know of any problems.
Also, is there another (better) way to do this in R?
--
___________________________________________________________
Neil E. Klepeis -- School of Public Health, UC Berkeley and
Lawrence Berkeley National Laboratory, Berkeley, CA USA
http://socrates.berkeley.edu/~nklepeis/R_PACKAGE/library/heR.Base/html/read.fwf.mult.html
----
read.fwf.mult <-
function (file, widths, rows, sep = "\t", as.is = FALSE, skip = 0,...
2002 Jan 15
0
RE: new version of lattice
...par.strip.text argument that can be
used to change the height of strips
o xlab, main etc can be double height strings (containing "\n"-s),
the spaces allocated for these would be automatically adjusted
o strip.default now has style=5
o new panel.superpose.2 (suggested by Neil Klepeis)
o the default colour settings sometimes seem too light on a white
background. To deal with this, there is a new setting with some
darker colours that can be set by calling lset(theme =
"white.bg"). see ?lset for details. This is currently in a
proof-of-concept stage (the co...
1999 Sep 30
6
Graphics output device
Dear developers,
I wonder would you consider making a save to a graphics file format (as opposed
to ps)?
What prompts this is that we have just finished my wife's thesis using R
heavily for stats and graphs. The combination of latex, bibtex and R generated
.eps worked a treat and we were very pleased with both the final outcome and
the efficiency of gernerating it, especially when all the