Displaying 20 results from an estimated 2000 matches similar to: "Graphics device hook to manipulate plotmath"
2008 May 04
1
Residual resampling for non linear reg model
I was attempting to use the residual resampling approach to generate 999 bootstrap samples of alpha and beta and find their confidence intervals. However, I keep getting the error message:Error in nls(resample.mp ~ cases/(alpha + (beta * cases)), start = init.values, : singular gradientafter R has only produced a few bootstraps.Could anyone suggest where I am going wrong? Would greatly
2005 Oct 31
2
nls() fit to Kahnemann/ Tversky function
Dear WizaRds,
I would like to fit a curve to ten points with nls() for one
unknown parameter gamma in the Kahnemann/ Tversky function, but somehow
it won't work and I am unable to locate my mistake.
p.kum <- seq(0.1,1, by=0.1)
felt.prob.kum <- c(0.16, 0.23, 0.36, 0.49, 0.61, 0.71, 0.85, 0.89, 0.95,
1) ## how to find a function that fits these points nicely?
plot(p.kum,
2006 Nov 07
1
gamm(): nested tensor product smooths
I'd like to compare tests based on the mixed model representation of additive models, testing among others
y=f(x1)+f(x2) vs y=f(x1)+f(x2)+f(x1,x2)
(testing for additivity)
In mixed model representation, where X represents the unpenalized part of the spline functions and Z the "wiggly" parts, this would be:
y=X%*%beta+ Z_1%*%b_1+ Z_2%*%b_2
vs
y=X%*%beta+ Z_1%*%b_1+ Z_2%*%b_2 + Z_12
2016 May 13
2
Latex y gráfico
Estimado Freddy Omar López Quintero
Muchas gracias.
Probé de su sugerencia el ejemplo 3.4, pero me falla, copio y pego todo el código junto al error
> library(tikzDevice) tikz(?figs/simpleEx.tex?,width=3.5,height=3.5) plot(1,main=?Hello World!?) dev.off()
Error: unexpected symbol in "library(tikzDevice) tikz"
>
Algo anda mal.
Javier Rubén Marcuzzi
De: Freddy Omar López
2011 Sep 19
1
Possible or not possible: serif axis labels with plotmath [but everything else sans serif]?
Dear expeRts,
I it possible to have serif labels in the following plot?
x <- 1:10
y <- x
plot(x, y, type="b", xlab=expression(x[1]), ylab=expression(x[2]))
I know that one can use pdf(, family="serif"), but then also the axis tick marks
are printed in serif font. Apart from the fact that it may not look nice, I'm
just interested if one can have serif axis labels
2012 Apr 27
1
TikzDevice
Dear R'ers,
I have trouble installing tikzDevice in Ubuntu. When I use install.packages("tikzDevice"), it gives error message:
ERROR: dependency ‘filehash’ is not available for package ‘tikzDevice’
* removing ‘/usr/local/lib/R/site-library/tikzDevice’
Then I tried filehash installation, I get the message:
"package ‘filehash’ is not available (for R version 2.13.1)"
2012 Aug 15
3
tikzDevice not available
Hello people!
I just formatted my disk, and I have installed R 2.14 over. Now I am trying
to restore my packages and all.
I realized that tikzDevice, a crucial package for me is gone. Fortunately,
I have kept my old, non-zipped, tikzDevice
folder, but none of the commands I know seems to handle this [i.e. load()
and install.packages()].
Thus the formulation is like this:
how to install a
2010 Apr 27
1
TikzDevice and texi2dvi
Dear All,
I am starting to use the tikzDevice package, but I am experiencing some
(minor problems).
If I try to run the script at the end of the email, I get the following
error
Error in tools::texi2dvi("normal.tex", pdf = T) :
Running 'texi2dvi' on 'normal.tex' failed.
Messages:
sh: /usr/bin/texi2dvi: not found
How do I install the missing texi2dvi?
I found some
2003 Oct 27
1
Bioassays Yielding concentration-Mortality data
Dear all,
I'm trying reproduce an example of bioassays Yielding Concentration-Mortality Data particularly control - adjustment model from book Bioassay of Entomopathogenic Microbes and Nematodes chapter 7 with R.
I used glm with family=binomial and link=probit, but I do not know how to implement parameter gamma (control mortality - mortality of the untreated control insect in this exaple)
2011 Sep 23
2
tikzDevice install problem
Hi everybody!
I'm trying to install the tikzDevice package, and I keep on getting the
> ERROR: dependency ‘filehash’ is not available for package ‘tikzDevice’
I tried install.packages('filehash') and I get
> package ‘filehash’ is not available
Does anybody have the same problem or any hint?
thank youhelena
[[alternative HTML version deleted]]
2011 Feb 16
2
tikzDevice compiling problem
Hi guys.
The tex file which compile the following graphic has many problems. I don't
know what's happening. Any input would be really appreciated.
# Cargo el prgrama que produce el c?digo en Latex
require(tikzDevice)
# Establezco directorio del programa
setwd('/Users/fabiangarcia/Documents/R')
# El siguiente programa produce el archivo tex
tikz('CobbGRAF.tex',
2017 Oct 22
1
ggplot2 and tikzDevice : problems with accents
Hi all,
I can't fathom why the accented "?" in the following ggplot2 graph makes
R hangs when using tikzdevice,? whereas it works using simple pdf device.
######
library(tikzDevice)
library(ggplot2)
options(tikzDefaultEngine = "luatex")
tikzLualatexPackages =c(
? "\\usepackage{tikz}\n",
? "\\usepackage[active,
tightpage,psfixbb]{preview}\n",
?
2020 Jan 08
2
add jsslogo.jpg to R sources?
Hi R-core, I was wondering if somebody could please add jsslogo.jpg to the
R sources? (as I reported yesterday in this bug)
https://bugs.r-project.org/bugzilla/show_bug.cgi?id=17687
R already includes jss.cls which is the document class file for Journal of
Statistical Software. Actually, for the jss.cls file to be useful, it also
requires jsslogo.jpg in order to compile JSS articles without
2012 Dec 10
1
Ayuda tikzDevice
Buenos días;
Aunque ya llevo un tiempo con LaTeX y R no he conseguido que me funcione la librería tikzdevice.
El primer problema está con tikzDictionary que me da como error: cannot create lock file. He estado buscando información en Google pero sin éxito. No he conseguido solucionarlo indicando un archivo en RProfile con options(tikzMetricsDictionary = ''path/archivo''). Cuando
2012 Dec 02
1
Problem with figures
I am having problem making ggplot2, tikzDevice, and knitr working together.
I used a very simple example:
---------------------------example.Rnw-----------------------------
\documentclass[preview]{standalone}
\begin{document}
\begin{figure}
<<fig1,eval=TRUE,echo=FALSE,dev='tikz'>>=
library(ggplot2)
qplot(displ, hwy, data = mpg, colour = factor(cyl))
@
\end{figure}
2005 Aug 12
3
General expression of a unitary matrix
Hi, all,
Does anybody got the most general expression of a unitary matrix?
I found one in the book, four entries of the matrix are:
(cos\theta) exp(j\alpha); -(sin\theta)exp(j(\alpha-\Omega));
(sin\theta)exp(j(\beta+\Omega)); (cos\theta) exp(j\beta);
where "j" is for complex.
However, since for any two unitary matrices, their product should also
be a unitary matrix. When I
2010 Apr 22
1
Rtools for building 64 bit windows packages
Hello R developers,
I sincerely apologize if the answer to this question is clearly documented
somewhere, but I was unable to figure it out over my morning coffee.
I just downloaded today's release of R 2.11.0 and installed it on my Windows
7 64 bit VM. I also downloaded the latest version of Rtools211 from
Professor Murdoch's site. The first thing I attempted to do was build some
of
2011 Feb 18
2
Scaling Lattice Graphics for tikzDevice
I'm trying to use lattice graphics to produce some small plots for inclusion in a LaTeX file. I want the LaTeX fonts to be used in the plots, but to be scaled down to match the size of the plot. I have written the following code to apply a scaling factor to all the "cex" and "padding" entries in the trellis parameters, but there is still a large white space between the key
2013 Jul 05
4
Alternativas a pgfSewave
Me interesa este tema.
Estoy empezando ahora a ver el tema de armar documentos directamente con
R y no estoy seguro en dónde me centro.
Por lo que veo sweave y knitr son las dos grandes alternativas (de echo,
no se siquiera si no son compatibles o complementarias).
Para quien arranca en este tema y que pretende continuar sobre el mismo,
que recomiendan, arrancar por sweave o por knitr?
2014 Apr 22
2
Un pequeño problema
Hola:
El 22/04/14 14:52, daniel escribió:
> Heber,
>
> Supongo que te refieres a los gráficos base.
>
> ?jpeg
> ?png
> ?pdf
>
> Daniel Merino
>
>
> El 21 de abril de 2014, 23:51, heber sarmiento <hebersarm en yahoo.com>escribió:
>
>> Hasta ahora no se me había presentado y por tanto no tenia ningún
>> problema, estoy haciendo unos gráficos