Displaying 11 results from an estimated 11 matches for "widehat".
2001 Jun 13
1
plot math Q: How to "plot" hat(f') ?
...nonparametric regression and density estimation, something like
\hat{f'}(x) [LaTeX] is very natural.
In all S dialects,
hat(f')
is invalid syntax, and hence one cannot use something like
plot(1, main = expression(hat(f')))
I can say something like
plot(1, main = expression(widehat(paste(f, "'"))), cex.main = 3)
but that (the R code, not the plot result) is a bit ugly.
Nicer solutions are welcome...
Martin Maechler <maechler at stat.math.ethz.ch> http://stat.ethz.ch/~maechler/
Seminar fuer Statistik, ETH-Zentrum LEO D10 Leonhardstr. 27
ETH (Federal Ins...
2015 Jan 03
4
Potential cross-platform package building issue
...ake its manual:
* checking PDF version of manual ... WARNING
LaTeX errors when creating PDF version.
This typically indicates Rd problems.
LaTeX errors found:
! Missing $ inserted.
<inserted text>
$
l.682 }{}
! Missing } inserted.
<inserted text>
}
l.682
}{}
...
The line appears to be
\widehat{R_1} =
\frac{\sum\limits_{i=1}^n{c_i/n}}{\sum\limits_{i=1}^n{L_i/n}}
I asked for assistance in resolving this issue as I could not replicate the
WARNING. Another user could replicate the warning on Ubuntu 12.04 but was
able to resolve the issue by removing the DOS end-of-line markers (^M or
Ctrl-...
2004 Jul 27
2
Incorrect display of b[hat((a))] expression in plots
...sub- or
superscripts. For instance, for the expression 'b[hat(a)]' the hat() seems
to shift 'hat(a)' too much to the right of 'b'. Try the below example and
you'll see what I mean:
label <- list(
expression((b[sqrt(a)])),
expression((b[bar(a)])),
expression((b[widehat(a)])),
expression((b[widetilde(a)])),
expression((tilde(a))),
# Problematic:
expression((b[dot(a)])),
expression((b[ring(a)])),
expression((b[hat(a)])),
expression((b[tilde(a)])),
expression((b^dot(a))),
expression((b^ring(a))),
expression((b^hat(a))),
expression((b^tilde(a)))...
2004 Oct 14
0
plotmath in underlined style; was: Re: [R] Underline in expression(). (PR#7286)
...0.70108@pdf.com>
<410744D0.8080107@netscape.net>
Please find attach a patch to include the feature to draw underlined
mathematical annotation.
Here is an example according to the feature request given below:
plot(0:1, 0:1, type="n")
text(0.5, 0.5, expression(underline(widehat(x %*% y))))
Since I am too late for R-2.0.0, should I send this one to r-bugs so
that we do not forget?
Uwe
John Janmaat wrote:
> Sundar,
>
> Thanks. Unfortunately, I am looking for something that also works in
> the margins of the plot.
>
> John.
>
> Sundar Dorai...
2008 Nov 20
1
Math Expression in 3D Plots
Is there anyway to label axes in 3D plots with mathematical expressions?
In the code below, I want to replace "delta_yrsed" with what "\Delta
\widehat{yrsed}" represents in TeX, but the [xyz]lab parameters of title3d
appear to only accept character strings.
require("rgl")
fn.delta.yrsed <- function(dist, delta.dist,
beta.dist=-0.1376463, beta.dist2=0.0088698) {
delta.yrsed <- (beta.dist + 2*beta...
2005 Mar 30
1
help with plotting a grid on levelplot
...some other grid spacing) over the levelplot for a
demonstration and I'm getting stuck when trying to modify my levelplot()
call above to include the extra calls to panel.levelplot...
I've gotten this far,
## plot the results (10mx10m plot that's 150m x 200m)
main=expression( paste( widehat(V)[saw], ", in ", m^3, ha^{-1} ) )
print( levelplot( var1.pred~x+y,
data=saw.pred,
aspect=mapasp(saw.pred),
main=main,
panel = function(x,y,z=var1.pred )
{
panel.levelplot( x=x, y=y, z=...
2011 Dec 05
1
finding interpolated values along an empirical parametric curve
...t;,
"log.det", "norm.beta"), class = "data.frame", row.names = c("0.000",
"0.005", "0.010", "0.020", "0.040", "0.080"))
clr <- c("black", rainbow(5, start=.6, end=.1))
lambdaf <- c(expression(~widehat(beta)^OLS), ".005", ".01", ".02",
".04", ".08")
op <- par(mar=c(4, 4, 1, 1) + 0.2, xpd=TRUE)
with(pd, {plot(norm.beta, log.det, type="b",
cex.lab=1.25, pch=16, cex=1.5, col=clr,
xlab='shrinkage: ||b||',
ylab='v...
2004 Jul 27
1
Underline in expression().
Hello All,
Is there an analogue to \underbar or the AMS math \underline in
graphical math expressions?
Thanks,
John.
--
=====================================================================================
Dr. John Janmaat
Department of Economics
Acadia University
Wolfville, Nova Scotia, Canada
B4P 2R6
TEL: 902-585-1461
WWW: http://ace.acadiau.ca/~jjanmaat/
EMAIL: jjanmaat at acadiau.ca
June
2005 Sep 10
1
transparent backgound in lattice plots
...simple png file with a transparent
background just fine, but I'm not sure how to generate a png of a lattice
plot with a transparent backgound.
png( "../images/opt_harvest_pattern_pred.png", bg="transparent" )
main=expression( paste( "Optimal Harvest Pattern ", widehat(V)[saw], ", in
", m^3 ) )
labs <- paste( rep( "Day", 12 ), 1:12 )
opt.harv.pat.pred <- levelplot( var1.pred~x+y,
data=saw.comb,
aspect=mapasp(saw.comb),
col.regions=terrain.colors(80),
main=main,...
1997 May 08
1
R-alpha: Equations in Plots
Paul Murrell and I are making some progress with making mathematical
expressions available in graphs. The idea is to use R expressions to
represent the mathematical expressions. So far we have (or will soon
have):
R LaTeX
x^i x^i
x[i] x_i
alpha \alpha
Alpha \Alpha
hat(x) \hat{x} \widehat{x}
bar(x) \bar{x} \overline{x}
x+y x+y
x-y x-y
x/y x/y
(x) (x)
{x} {x}
frac(x,y) \frac{x}{y}
cdots \cdots
ldots \ldots
We are wondering how far to go with this process. Does the above
cover what people want, or are there important omitted features
(we don't really want to do...
2015 Jan 03
0
Potential cross-platform package building issue
...ersion of manual ... WARNING
| LaTeX errors when creating PDF version.
| This typically indicates Rd problems.
| LaTeX errors found:
| ! Missing $ inserted.
| <inserted text>
| $
| l.682 }{}
| ! Missing } inserted.
| <inserted text>
| }
| l.682
| }{}
| ...
|
| The line appears to be
| \widehat{R_1} =
| \frac{\sum\limits_{i=1}^n{c_i/n}}{\sum\limits_{i=1}^n{L_i/n}}
|
| I asked for assistance in resolving this issue as I could not replicate the
| WARNING. Another user could replicate the warning on Ubuntu 12.04 but was
| able to resolve the issue by removing the DOS end-of-line markers (^...