Hello all,
I cannot embed a common font type into an R graph. I did it successfully in
December 2014 with the previous R version. However, with R 3.2.1 in July
2015, the following sample codes do not work anymore.
pdf(file = "c:/testA.pdf", family = "serif")
plot(x = 1:10, y = rnorm(10))
dev.off(
Dear All,
I have a question of how to export S4 class specification to
clusters/workers in parallel computing. The package I used is snowfall. The
problem is reproducible as follows. Any hint is greatly appreciated.
Edwin Sun
=== begin ===
library(snowfall)
sfInit(parallel = TRUE, cpus
David - Thanks very much. That is a great hint. I believe that is the
solution.
Edwin Sun
--
View this message in context:
http://r.789695.n4.nabble.com/strange-problem-with-strptime-and-date-variable-tp3677178p3677205.html
Sent from the R help mailing list archive at Nabble.com
Hello all,
I am manipulating a large database with 70,000 records. "strptime" generates
a date variable but R treats some of the values as NA. I attach a simple
example below.
I have spent hours on this problem. Any hint would be greatly appreciated.
Many thanks,
Edwin Sun
# =
Thank you,
Edwin Sun
--
View this message in context:
http://r.789695.n4.nabble.com/Piecewise-distribution-function-estimation-with-Generalized-Pareto-for-tail-tp3649961p3649961.html
Sent from the R help mailing list archive at Nabble.com.
__
R-help@r-p
Thank you all the reply. The use of sys.call() as suggested by Ducan works
pretty well. This is good as the outputs from my function are large. The use
of apply family functions as suggested by Erik is good for small amounts of
outputs.
Edwin Sun
--
View this message in context:
http://r
Hello all,
I wrote a function with many arguments. Then I need to call it many times
with changes on some arguments only. Is there any way to write a function or
have a method to "update" it, like the relationship between lm() and
update()?
Many thanks,
Edwin Sun
T
Thank you all for the great help. I think the optimize function and approach
solves my problem well.
Edwin Sun
--
View this message in context:
http://r.789695.n4.nabble.com/dnorm-and-qnorm-tp3040427p3041962.html
Sent from the R help mailing list archive at Nabble.com
Hello all,
I have a question about basic statistics. Given a PDF value of 0.328161,
how can I find out the value of -0.625 in R? It is like reversing the dnorm
function but I do not know how to do it in R.
> pdf.xb <- dnorm(-0.625)
> pdf.xb
[1] 0.328161
> qnorm(pdf.xb)
[1] -0.444997
> pno
I have the same problem and I wonder if there is any answer from the
community. Thanks.
--
View this message in context:
http://r.789695.n4.nabble.com/ggplot2-How-to-change-font-of-labels-in-geom-text-tp991579p2286671.html
Sent from the R help mailing list archive at Nabble.com.
___
Hello,
I have the similar issue in estimating a GARCH model with exogenous
variables in the mean equation. Currently, to my understanding, the garch
function in tseries package can handle univariate model, and garchFit in
fGarch can handle ARMA specification.
I wonder if there is any R function
notice there is an index link at the bottom of the page.
By the way, I did not make any change on my browser.
Is this a change for this version? Thank you for your help.
Edwin Sun
--
View this message in context:
http://n4.nabble.com/navigation-panel-with-help-tp1395663p1395663.html
Sent from the R
Hello - Thank you so much for the help. It works perfectly. I guess that as
many have pointed out, ggplot is a great package but there is a lack of
documentation and examples.
Edwin Sun
baptiste auguie-5 wrote:
>
> Hi,
>
> I don't understand why you used scale_manual_colour
Hello All,
I am trying to create a legend for a black-white graph. The package I use is
ggplot2. It can add colors to the legend key but not line types. Can you
please help?
# example from Wickman (2009, ggplot2 – elegant graphics for data analysis,
page 109)
library(ggplot2)
huron <- data.fram
14 matches
Mail list logo