Displaying 20 results from an estimated 4000 matches similar to: "Fwd: \ell symbol (log-likelihood)"
2010 Aug 17
1
\ell symbol (log-likelihood)
Dear R experts---is it possible to plot the \ell symbol in R under the
pdf device? ?the following did not work:
pdf(file="ell.pdf");
plot( c(0,1), c(0,1) );
text( 0.5, 0.5, "\u2113" )
dev.off()
my guess is that this cannot be done, but I thought I would ask.
Ivo Welch (ivo.welch at brown.edu, ivo.welch at gmail.com)
2007 Jun 05
2
Latex \ell symbol in plotmath
Is it possible to use the '\ell' (i.e. the log likelihood) in plots?
I've been browsing the plotmath documentation unsucesfully.
Cheers,
Mario dos Reis
mdosrei at nimr.mrc.ac.uk
+44 (0)20 8816 2300
Division of Mathematical Biology
National Institute for Medical Research
The Ridgeway
Mill Hill
London, NW7 1AA, UK
2011 Mar 01
0
unicode&pdf font problem RESOLVED
Just to add to this (I've been looking through the archive) problem with display unicode fonts in pdf document in R
If you can use the Cairo package to create pdf on Mac, it seems quite happy with pushing unicode characters through (probably still font family dependant whether it will display)
probstring <- c(' \u2264 0.2',' \u2268 0.4',' \u00FC 0.6',' \u2264
2010 May 05
0
R-help Digest, Vol 87, Issue 5
Unsubscribe
-----Original Message-----
From: r-help-request at r-project.org
Date: Wed, 05 May 2010 12:00:09
To: <r-help at r-project.org>
Subject: R-help Digest, Vol 87, Issue 5
Send R-help mailing list submissions to
r-help at r-project.org
To subscribe or unsubscribe via the World Wide Web, visit
https://stat.ethz.ch/mailman/listinfo/r-help
or, via email, send a message with subject
2002 Dec 17
0
How plot \ell in the title of a graph
Hi there,
I am trying to put the LATEX symbol \ell
in the title of a graph, do you know how
to do it?
Thanks.
Lydia
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)
2011 Aug 17
1
Symbol Font Baseline, Cairo, Card Symbols
I think I found a bug in the Cairo library, plus weird behavior in
both the Cairo and the normal pdf device. The baseline of the spades
symbol seems to be off. This is easier to show than it is to explain.
The problem does not appear in the normal pdf device, which is why I
am guessing this is a Cairo bug. moreover, I cannot figure out why
three of the card symbols seem to be transparent, but
2013 Feb 18
2
mtext unicode failure
Readers,
How to solve this unicode input error please?
> postscript("~/tmp/test.eps",width=100/25.4,height=100/25.4,horizontal=FALSE,onefile=TRUE,paper="special")
> testx<-seq(1:5)
> testy<-seq(1:5)
> plot(testy~testx)
> mtext('text (O?)\n more text',side=3,line=1)
Warning messages:
1: In mtext("text (O?)\n more text", side = 3, line =
2011 Sep 13
1
CMYK color space
dear R experts---I am struggling with the requirements to prepare my files
for my printers. I am printing in 2/2 format, which means cyan and black
for me, which they take from my color-separated pdf files. R comes into
play, because it produces all the figures that are embedded in my book
(pdflatex).
now, TeX has no problems producing CMYK files. However, R produces RGB
files (for
2012 Jun 06
2
non ascill characters in plots. no alternative but plotmath?
A student entered some data with text characters like epsilon and
alpha. On her Windows system, the Greek letters did not display
properly in a plot. There were some ordinary ASCII instead.
I asked her to send me the code so I could test. For me, the plot
looks ok on the screen.
Format1 <- c(320,500,700,1000,500,320,700,500,320)
Format2 <- c(800,1000,1150,1400,1500,1650,1800,2300,2500)
2012 Dec 24
2
parallelized version of "by" and "ave"
Dear R experts---
Has anyone written parallel versions of "by" (i.e., mcby) and "ave"
(i.e. mcave) ? I did ask a question like this a year ago, and then
the answer was no.
for those who are googling the group for the answer to this question,
in the meantime, the poor man's version of "by" is mclapply( split(
ds, factor ), FUN )
I don't know the poor
2004 Feb 24
0
Suggestions ?!?!
For the question at the end, try barplot with the
horiz=TRUE argument.
Date: Tue, 24 Feb 2004 09:30:21 -0500
From: ivo welch <ivo.welch at yale.edu>
To: <r-help at stat.math.ethz.ch>
Cc: <r-help-owner at stat.math.ethz.ch>,ivo welch <ivo.welch at yale.edu>
Subject: [R] Suggestions ?!?!
hi chaps:
* I have some suggestion, the first of which is about
2010 May 09
0
non-linear estimation with many firm-specific parameters
Dear R experts---
I doubt that someone has already solved my problem, but I thought I
would ask quickly, just in case someone has.
Let' say I start with a (flattened panel) model that says
y[i] = x[i] + b*(T-x[i])
easy enough---this is just a linear model. I could also make this a
fixed-effects model if I change T to T[fmid], where fmid is the firm's
id. I know I can do this
2012 May 09
2
big quasi-fixed effects OLS model
dear R experts---now I have a case where I want to estimate very large
regression models with many fixed effects---not just the mean type, but
cross-fixed effects---years, months, locations, firms. Many millions of
observations, a few thousand variables (most of these variables are
interaction fixed effects). could someone please point me to packages, if
any, that would help me estimate such
2010 Apr 29
1
lm() with non-linear coefficients constraints? --- nls?
dear R experts---quick question. I need to estimate a model that looks like
y = (b*T+d*T^3) + (1-b-3*d*T^2)*x + (3*d*T)*x^2 + (-d)*x^3
I only have three parameters. Is nls() the right tool for the job, or is
there something faster/better?
/iaw
----
Ivo Welch (ivo.welch@brown.edu, ivo.welch@gmail.com)
[[alternative HTML version deleted]]
2010 Aug 20
1
strange behavior of ifelse with factors
Dear R experts: this is probably correct behavior, but I do want to
point out that it is unexpected to someone not too well versed:
> test=factor("A","B","C","A")
> ifelse(test=="A", as.factor("A"), test)
[1] 1 2 3 1
ok, my factor was just coerced into integers, even though I have a
logical vector as my condition and factors as
2010 Nov 03
1
Rd installation (not markup language) primer?
I have a set of functions that I always load on startup. for example,
there is my now infamous "is.defined()" function.
I would like to add some documentation for these functions, so that I can do a
?is.defined
inside R. The documentation tells me how to mark up Rd files is very
good, but I wonder how one installs them for access by the R
executable (on OSX for me). Do I drop
2010 Dec 03
1
"Nash Equilibrium"
Dear R experts:
I searched cran (and r-help) for "nash equilibrium" and "game" but
nothing stuck out. has someone written a numerical nash optimizer for
two players?
player a has choices x1,x2,x3,... and cares about (maximizes)
pa(x1,x2,x3,...,y1,y2,y3)
player b has choices y1,y2,y3,..., and cares about (maximizes)
pb(x1,x2,x3,...,y1,y2,y3)
I can tune it to my problem, but
2019 Aug 02
2
Re: nbdkit random seek performance
On Thu, Aug 01, 2019 at 03:44:31PM -0700, ivo welch wrote:
> hi richard---arthur and I are working with nbdkit v1.12.3 on qemu/kvm.
>
> we found that our linux (ubuntu 16.04 32-bit) boot time from a local .img
> file went from about 10 seconds to about 3 minutes when using the nbdkit
> file plugin instead of directly connecting qemu to the file. on further
> inspection with
2010 Nov 03
2
programming questions
quick programming questions. I want to "turn on" more errors. there
are two traps I occasionally fall into.
* I wonder why R thinks that a variable is always defined in a data frame.
> is.defined(d)
[1] FALSE
> d= data.frame( x=1:5, y=1:5 )
> is.defined(d$z)
[1] TRUE
> is.defined(nonexisting$garbage)
[1] TRUE
this is a bit unfortunate