search for: cmr

Displaying 20 results from an estimated 44 matches for "cmr".

Did you mean: cmd
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 minimum and recall period maximum (recallmin, recallmax) - time of displacement mimimum and time of displacement maximum (todmin, todmax) - population data at time of survey and proportion of population...
2008 Aug 18
1
Please help: Limit single row calculation
...y function should go through only one survey/row at the time, but instead gives outcomes of all studies/rows, which is not correct, because it uses random numbers choosen from a range in study/row 1. How can I limit y to only go through one row? y<-0rand<-runif(n=1,min=0,max=1)prob<-((cmr-cmrlci)^2)/((cmruci-cmrlci)*(cmr-cmrlci))if (rand<=prob) y<-sqrt(rand*(cmruci-cmrlci)*(cmr-cmrlci)) + cmrlciif (rand>prob) y<-cmruci-sqrt((1-rand)*(cmruci-cmrlci)*(cmruci-cmr))y<-round(y,digits=1)*10 Thank you in advance. Akko Eleveld _____________________________________________...
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
2004 Feb 19
1
latex problem with Sweave output file under Debian
...re; there is no text. latex produces apparently perfect .dvi files when the .tex files are not produced by Sweave. Some of the error messages (log file pasted below) that result from the command latex include: kpathsea: Running mktexmf ecrm1000 ! I can't find file `ecrm1000'. ! Font T1/cmr/m/n/10=ecrm1000 at 10.0pt not loadable: Metric (TFM) file not found. ! LaTeX Error: File `ae.sty' not found. ! LaTeX Error: File `fancyvrb.sty' not found. ! LaTeX Error: Missing \begin{document}. I downloaded the missing files and tried (I had no idea) putting them in /usr/share/texmf/t...
2005 Jun 16
1
Sweave and sideways
...See the documentation for details. Package textcomp Info: Setting ? sub-encoding to TS1/1 on input line 71. (C:\texmf\tex\latex\base\ts1enc.def File: ts1enc.def 2001/06/05 v3.0e (jk/car/fm) Standard LaTeX file ) LaTeX Info: Redefining \oldstylenums on input line 266. Package textcomp Info: Setting cmr sub-encoding to TS1/0 on input line 281. Package textcomp Info: Setting cmss sub-encoding to TS1/0 on input line 282. Package textcomp Info: Setting cmtt sub-encoding to TS1/0 on input line 283. Package textcomp Info: Setting cmvtt sub-encoding to TS1/0 on input line 284. Package textcomp Info: Set...
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
2009 Jan 13
1
Drawing Polygons with xyplot in lattice
...plot at a time with the simple plot commmand (using polygon after having first drawn the line plot), but am having difficulty replicating it with xyplot. Here is some sample code (with 4 countries and 10 years), which is as far as I've been able to get: library(lattice) df<-data.frame(c(u5cmr=round(runif(40)*100)),country=c(rep("Angola",10), rep("Benin",10), rep("Botswana",10), rep("Burkina Faso",10)), year=rep(1991:2000,4)) names(df)<-c("u5cmr", "country", "year") xyplot(u5cmr ~ year | country , ylab = "U5 cm...
2009 Aug 04
1
Sweave, cm-lgc and minus signs
...ses different encodings for minus signs, which are put "by hand" and which are plotted from a variable with negative value. ### As a fast example everybody can retrace immediately, there is the nice example of Paul Murrell which can be found at: http://www.stat.auckland.ac.nz/~paul/R/CM/CMR.html Essentially, what I need from this page are the following 4 files for creating my final pdf: http://www.stat.auckland.ac.nz/~paul/R/CM/cmTutorial.Rnw This example needs the according Tex-package and the files for the symbol faces found at: http://www.ctan.org/tex-archive/help/Catalogue/en...
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]
2006 Jul 18
2
how can I delete rows?
...- - 3 Benin BEN - + 4 Botswana BWA + + 5 Burkina Faso HVO - - 6 Burundi BDI + - 7 Cameroon CMR + + 8 Cape verde CPV - - 9 Central African Rep. CAF + + 10 Chad TCD - - 11 Comoros COM - - 12 Congo...
2015 Jan 08
2
latex warning
.../texlive/texmf-dist/tex/latex/base/omlenc.def) (/home/travis/R-bin/texlive/texmf-dist/tex/latex/base/t1enc.def) (/home/travis/R-bin/texlive/texmf-dist/tex/latex/base/ot1enc.def) (/home/travis/R-bin/texlive/texmf-dist/tex/latex/base/omsenc.def) (/home/travis/R-bin/texlive/texmf-dist/tex/latex/base/t1cmr.fd) (/home/travis/R-bin/texlive/texmf-dist/tex/latex/base/ot1cmr.fd) (/home/travis/R-bin/texlive/texmf-dist/tex/latex/base/ot1cmss.fd) (/home/travis/R-bin/texlive/texmf-dist/tex/latex/base/ot1cmtt.fd))) ==================================== Local config file fontmath.cfg used =====================...
2008 Oct 24
0
Problem with "plflatex wrapper.tex"
...TeX 2.7\tex\latex\base\omlenc.def") ("d:\Program Files\MiKTeX 2.7\tex\latex\base\t1enc.def") ("d:\Program Files\MiKTeX 2.7\tex\latex\base\ot1enc.def") ("d:\Program Files\MiKTeX 2.7\tex\latex\base\omsenc.def") ("d:\Program Files\MiKTeX 2.7\tex\latex\base\t1cmr.fd") ("d:\Program Files\MiKTeX 2.7\tex\latex\base\ot1cmr.fd") ("d:\Program Files\MiKTeX 2.7\tex\latex\base\ot1cmss.fd") ("d:\Program Files\MiKTeX 2.7\tex\latex\base\ot1cmtt.fd"))) ==================================== Local config file fontmath.cfg used...
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 <- seq(1,7,length=100) > sm <- seq(0,4,length=100) &g...
2015 Jan 09
0
latex warning
...mlenc.def) > (/home/travis/R-bin/texlive/texmf-dist/tex/latex/base/t1enc.def) > (/home/travis/R-bin/texlive/texmf-dist/tex/latex/base/ot1enc.def) > (/home/travis/R-bin/texlive/texmf-dist/tex/latex/base/omsenc.def) > (/home/travis/R-bin/texlive/texmf-dist/tex/latex/base/t1cmr.fd) > (/home/travis/R-bin/texlive/texmf-dist/tex/latex/base/ot1cmr.fd) > (/home/travis/R-bin/texlive/texmf-dist/tex/latex/base/ot1cmss.fd) > (/home/travis/R-bin/texlive/texmf-dist/tex/latex/base/ot1cmtt.fd))) > ==================================== > Local config...
2007 Jun 27
1
Zap dialling issues
...:1}) exten => _*7XX,n,Goto(directtovoicemail,s,1) ;------------------------------------------------------ ;Static externaly accessable Conference room with recording exten => 599,1,Set(MEETME_RECORDINGFILE=/var/spool/asterisk/monitor/conference-50 0-${EPOCH}); exten => 599,n,MeetMe(500,cMr,4081) exten => 599,n,Hangup ;Dynamic Conference rooms for internal users to transfer callers to exten => _5XX,1,MeetMe(${EXTEN},cMd) exten => _5XX,n,Hangup exten => 6000,1,Dial(zap/0418608609) /etc/asterisk/zapata.conf [channels] ;echocancel = yes ;transfer = yes callgroup=1 pic...
2009 Jul 18
1
mention elrepo in wiki
Is it ok if I add elrepo references to HowTos/Custom_Kernel and AdditionalResources/Repositories? 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) | Dr.
2004 Sep 27
0
Sweave with other fonts looks weird in pdf file
I've become an avid user of Sweave and would like to able to use other fonts but when I added the following lines to a sweave file, \renewcommand{\familydefault}{cmss} \renewcommand{\rmdefault}{cmss} \renewcommand{\sfdefault}{cmr} \normalfont\normalsize the pdf file generated with pdflatex the text for the sections that aren't generated by sweave (all the "non-chunks") have that "jaggedy" look when displayed in acrobat reader. When I print the document, the text looks fine. I'm using, C:\st5...
2011 Aug 10
1
font (charter)
dear R-experts---can someone please refer me to the latest installation instructions for graphics fonts in R (the pdf device)? (I would like to install the Charter font from the texlive 2011 distribution under OSX.) sincerely, /iaw ---- Ivo Welch (ivo.welch at gmail.com)