Displaying 20 results from an estimated 200 matches similar to: "Please help: Limit single row calculation"
2008 Aug 19
0
R-code: for those who like a challenge; HELP
I'll try to be more clear, but will have to give much more info. Here we go....
As part of my Masters in Public Health I writing a dissertation reviewing the mortality trend of internally displaced persons in camp settings in Sub Saharan Africa. I have 50 surveys with
- crude mortality rate (cmr), CMR lower confidence interval(cmrlci), CMR upper confidence interval(cmruci),
- recall period
2008 Aug 25
1
"rval, symbol print name too long"?
Is there anyone who can tell me what this means (I call a table, that is stores as csv file): Error in do.call("data.frame", rval) : symbol print-name too long Thanks you in advance,Akko Eleveld
_________________________________________________________________
[[alternative HTML version deleted]]
2008 Aug 21
1
HELP: how to add weight to a [x,y] coordinate
Anyone who can help me with the following question?
How can I add weight to [x,y] coordinates on a graph/scatterplot?
Background:
Monte Carlo simulation generated 730,000 [x,y] coordinates with a weight attached (from 0-0.5).
Both x and y are rounded and fit on a raster with x-axis 0-170 months (smalles unit = 1 month) and y-axis 0-6 (smallest unit=0.1).
I would like every [x,y] to add its
2008 Aug 22
1
dimension values of an array
Question:
I created an array with 164 columns and 70 rows.
I would like every column to have unit value 1
and the rows 0.1, 0.2, 0.3 up to 7. How can I define that?
Thanks for your help!
Good weekend!
Akko
_________________________________________________________________
[[alternative HTML version deleted]]
2005 Jun 16
1
Sweave and sideways
Hi there,
I'm rying to 'turn' an Schunk in an .Rnw file(Xemacs-21.4.13, ESS-5.2.8,
R-2.1, miktex-2.4.1705).
Has anyone got the isorot package to work with Sweave?
JC
example test.Rnw:
\documentclass[a4paper]{article}
\usepackage{Sweave}
\usepackage{isorot}
\rotdriver{dvips}
\clockwise
\title{Sweave Example 1}
\author{apologies to Friedrich Leisch }
\begin{document}
\maketitle
2009 Jan 13
1
Drawing Polygons with xyplot in lattice
Hello:
I've come to a dead-end in my search for a solution to a graphing problem that I am encountering. I have used xyplot (from the lattice package) successfully to plot 36 time-series plots (lines) of under-5 mortality for a set of countries in Sub-Sarahan Africa.
What I would now like to do is to add vertical bands (rectangles) that correspond to time-periods during which each of the 36
2009 Aug 04
1
Sweave, cm-lgc and minus signs
Hello,
since a couple of days I'm trying hard to elicit a certain thing
out of the Sweave function of R. Unfortunately I'm quite unsuccessful.
It's only about a small, ridiculous minus sign, which does not appear
in the final pdf of a latex file, if I try to incorporate the Computer-
Modern fonts into the plot. It seems, that R uses different encodings
for minus signs, which are put
2008 Oct 21
4
Multi matrix row-wise mapply?
Hi group!
Suppose I have 2 matrices A and B of equal dimensions.
I want to apply a function f to all corresponding pairs of rows from A
and B in an efficient manner.
Basically, I want
mapply(f, data.frame(A), data.frame(B))
but for rows.
How do I do it?
Thanks,
Andrey
2008 Jun 20
5
Programming Concepts and Philosophy
I am wondering if people on the list could recommend books that they
have found helpful about programming concepts and style? I often find
that students write R programs by copying existing code but could really
benefit from the understanding of more general programming ideas. An
example would be to avoid writing functions which attempt to modify
their parameters. Another principle would be
2006 Jul 18
2
how can I delete rows?
Hello, I am very new in R so I am so sorry for this question.
I have the Barro-Lee data set which contains 98 countries and I want to run the regressions only for the Latin America countries, so what do you recomend? How can I delete all the other countries or how can I select the countries of Lat. Am. thank you
this is the list of countries
SHCODE COUNTRY NAME WBCTRY
2015 Jan 08
2
latex warning
Dear all,
I am getting an R CMD check warning about the PDF manual. I am having a
hard time finding out what is wrong, here is the log of the Rd2pdf call.
The full check (and other) log is at
https://api.travis-ci.org/jobs/46373922/log.txt?deansi=true if anybody is
interested, and the package itself is here:
https://github.com/metacran/r-builder/tree/bintex/rbuildertest
Thanks, Best,
Gabor
2004 Feb 19
1
latex problem with Sweave output file under Debian
Could someone tell me how to end the trouble I'm encountering when
running latex on the .tex file produced by Sweave()? Sweave() seems to
process the example file
(http://www.ci.tuwien.ac.at/~leisch/Sweave/example-1.Snw) without
problems, and the file example-1.tex produced is the same as in the Sweave
manual. However, when I run latex on example-1.tex, many error messages
and requests for
2009 Aug 30
3
Computer Modern Fonts in R graphic
Hello all,
I am trying to use computer modern fonts in my r grahics. I tried to do,
as described here: http://www.stat.auckland.ac.nz/~paul/R/CM/CMR.html
but unfortunately, it does not work.
First of all I downloaded the cm-lgc package and the AFM and PFB-files
from the page and put them in my R working directory, so far, so good.
Then I tried to run the following code:
> sn <-
2009 Jul 10
2
http://wiki.centos.org/TipsAndTricks/BecomingRoot
In the sudo section please add "sudo -s" and "sudo -i" as ways to open a
root-shell.
Chris
financial.com AG
Munich head office/Hauptsitz M?nchen: Maria-Probst-Str. 19 | 80939 M?nchen | Germany
Frankfurt branch office/Niederlassung Frankfurt: Messeturm | Friedrich-Ebert-Anlage 49 | 60327 Frankfurt | Germany
Management board/Vorstand: Dr. Steffen Boehnert (CEO/Vorsitzender) |
2009 Jan 16
2
Smooth periodic splines
Hello group!
Is there a package that allows to fit smooth *periodic* splines to
data? I'm interested in a function which combines the functionality of
smooth.spline and splines::periodicSpline.
Thanks,
Andrey
2007 Jun 27
1
Zap dialling issues
I'm having problems getting an Xorcom USB Bri 4 dialling out in
Australia.
I can receive calls into the system without an issue, but I can not for
the life of me dial out of the system. Below are my configs, I'm hoping
its something simple that I just can't see as I've been looking at it
for to long. Can any one point me in the right direction.
P.S. Yes it is meant to be in TE
2004 Jan 29
2
Finding Sweave.sty and other problems
Hi,
I've just tried to run example-3 from Friedrich Leish. I'm using R 1.8.1
and MiKTeX 2.2 on Windows XP.
I go
===
> library(tools)
> Sweave("example-3.Snw")
Writing to file example-3.tex
Processing code chunks ...
1 : term hide
2 : echo term verbatim
3 : term tex
4 : term verbatim eps pdf
You can now run LaTeX on example-3.tex
===
The file example-3.tex
2008 Oct 24
0
Problem with "plflatex wrapper.tex"
Hi, All:
I encountered problems running "pdflatex wrapper.tex", as
suggested on "www.r-project.org" -> Newsletter -> (near the bottom of
the page). After 220 lines of seemingly successful processing, I got an
error copied below. I hit <enter> a few times, and the "pdflatex"
finished, apparently successfully.
Comments?
Thanks,
2008 Jun 14
3
cbind'ing multivariate ts objects
I use R 2.7.0 on GNU/Linux. I have noticed a problem in cbind method
for multivariate time series (ts) objects. Consider the following
example:
> t <- ts(data.frame(a = 10:20, b = 20:30, c = 30:40, d = 40:50))
> t1 <- t[, c('a', 'b')]
> t2 <- t[, c('c', 'd')]
>
> colnames(t1)
[1] "a" "b"
> colnames(t2)
[1]
2015 Jan 09
0
latex warning
>>>>> G?bor Cs?rdi <csardi.gabor at gmail.com>
>>>>> on Thu, 8 Jan 2015 17:18:27 -0500 writes:
> Dear all,
> I am getting an R CMD check warning about the PDF manual. I am having a
> hard time finding out what is wrong, here is the log of the Rd2pdf call.
> The full check (and other) log is at
>