Displaying 20 results from an estimated 100 matches similar to: "how to write symbol (nabla) in R graph"
2007 Nov 16
1
monthplot () - axis change color
Hi,
When I run this code a part of my x-axis and y-axis changes color. Can
somebody tell me what is wrong? Also, is there a way to control the color of
the average lines?
monthplot(AirPassengers+500, ylim=c(min(AirPassengers),
max(AirPassengers+500)), ylab="")
par(new=T)
monthplot(AirPassengers, col="blue", ylim=c(min(AirPassengers),
max(AirPassengers+500)),
2008 Mar 27
6
help! - spectral analysis - spec.pgram
Can someone explain me this spec.pgram effect?
Code:
period.6<-c(0,0,0,0,0,10,0,0,0,0,0,10,0,0,0,0,0,10,0,0,0,0,0,10,0,0,0,0,0,10
,0,0,0,0,0,10,0,0,0,0,0,10,0,0,0,0,0,10,0,0,0,0,0,10,0,0,0,0,0,10)
period.5<-c(0,0,0,0,0,10,0,0,0,0,10,0,0,0,0,0,0,10,0,0,0,0,10,0,0,0,0,0,0,10
,0,0,0,0,10,0,0,0,0,0,0,10,0,0,0,0,10,0,0,0,0,0,0,10,0,0,0,0,10,0)
par(mfrow=c(2,1))
2008 May 16
2
Box.test degrees of freedom
Dear colleagues,
I am new to R and statistics so please keep that in mind.
I have doubts on the df calculation of Ljung-Box test (Box.test). The
function seems to use always the df=lag=m and not df=m-p-q like suggested in
Ljung and Box (1978) paper (that is referenced).
Do you agree with this? If so, is there an R package function that computes
Ljung-Box test with the degrees of
2008 Oct 18
1
ARIMA - h-step ahead errors
Dear colleagues,
?arima? returns directly the 1-step ahead errors but I am interested in
obtaining other h-step ahead errors for several ARIMA models I have
fitted. Is there any way I can obtain this with R? Any help would be
appreciated.
Sincerely,
Nuno Prista
_________________________
CO - FCUL, Lisboa, Portugal
CQFE - ODU, Norfolk, USA
2011 Feb 21
3
assign value to multiple objects with a given ls pattern
Dear R colleagues,
This seems pretty straight forward but I have been banging my head on this for some time and can't seem to find a solution
suppose I have something like
a1<-1; a2<-2; a3<-3; a4<-4; b1<-3; b2<-4
I would like to quickly assign to objects with a certain pattern, e.g., those in
ls(pattern="a")
a specific value, e.g., "99", without
2001 Nov 19
1
Symbol escape sequence in xlab
I would like to label an x-axis with the nabla symbol. I have tried this
with the following symbol escape sequence
plot(1:5, 1:5, xlab=""); title(xlab="\\dl", vfont=c("serif symbol",
"plain"))
but I got the warning message
parameter "vfont" couldn't be set in high-level plot() function
Is it possible to use a symbol escape
2007 Dec 14
1
Quadratic Programming
Hi all!
I have a little question concerning quadprog. To make it simple I'll start by stating the problem:
I want to minimize
h(d,delta)=0.5d^T B d +nabla(f(x))^T d +rho*delta^2
With respect to d\in R^n and delta \in R. I obviously have constraints (depending on both d and delta).
Solve.QP does give me a good result for d but I cannot obtain anything for delta. Simce dim(Dmat)=n and
2000 Oct 04
1
Hershey Fonts, PNG, SVG, .. graphics formats
I wonder if we couldn't just use the PNG , SVG, support from the
GNU plotutils
from which we already have the Hershey scalable vector fonts [-> help(Hershey)]
The new plotutils (July 2000) do support these (and will probably even
better in the future, i.e., we can build on others people free software.
Paul [who built "Hershey" into R], do you think this path is worth pursuing?
2008 Oct 24
0
unstable MA results in ARIMA?
Dear colleagues,
I am relatively new to R and time series and so I am experiencing
difficulties in interpreting the output of "arima" in MA models (but not
in AR models). I cannot make sense of the 1st innovations returned by
"arima".
In an AR(1) model I expect data[t]=phi1*data[t-1]+a[t] and in a MA(1)
model data[t]=a[t]+theta1*a[t-1]. My interpretation from R-help is
2007 Nov 25
1
spec.pgram() - circularity of kernel
Hi,
I am far from experienced in both R and time series hence the question.
The code for spec.pgram() seems to involve a circularity of the kernel (see
below) yielding new power estimates to all frequencies computed by FFT.
"
if (!is.null(kernel)) {
for (i in 1:ncol(x)) for (j in 1:ncol(x)) pgram[, i,
j] <- kernapply(pgram[, i, j], kernel, circular = TRUE)
2007 Dec 10
1
function centralm - does it exist
Hi,
James S. Clark - Statistical computation for environmental sciences in R -
mentions a function centralm (pg25) that I believe should be present in the
base package but I can't find it. It is supposed to calculate means,
variances, skewness, kurtosis of arrays. Does it exist in some other
package?
Thanks,
Nuno Prista
[[alternative HTML version deleted]]
2008 Dec 31
3
Plotmath with values?
I hope to use the plotmath facility to print titles that mix
math and values of R variables.
The help for "plotmath" has an example, which after repeated
reading, I find baffling. Likewise, I have read the help file
for "substitute" (wqhich seems to be needed) without ever
understanding what it does, other than being used in some magic
incantations.
I would like to do
2008 Oct 23
1
[R-SIG-Finance] forecasting earnings, sales and gross margin of a company...
Sender: r-help-bounces at r-project.org
On-Behalf-Of: comtech.usa at gmail.com
Subject: Re: [R] [R-SIG-Finance] forecasting earnings, sales and gross margin of a company...
Message-Id: <b1f16d9d0810231239k506d582i7ecb908b84bc1642 at mail.gmail.com>
Recipient: ngottlieb at marinercapital.com
--------------------------------------------------------
This information is being sent at the
2002 Jul 23
2
Converting dates?
Dear R-users
I have some doubts about with converting dates...
e.g.
dates data
23/12/1975 0.8678
03/01/1976 0.8736
28/01/1976 0.765
13/03/1976 0,9654
...
I think that converting these dates can easily my plots...
is there a R function to convert these dates to
a julian dates and so plot that variables??
The help files as.POSIXlt, POSIXt and others
don't aswer my doubts...
2002 Aug 20
1
About lm()
Dear Mr. and Mrs.
I'm very grateful for these software and this list.
My question is:
when a use linear multiple regression (lm()) for my data,
abundance ichthyoplankton ~ salinity + temperature + month of the
year(f1 is a factor: 1 for january, 2 for february, ..., 12 for december),
the summary() of results is
...
Coefficients:
Estimate Std. Error t value Pr(>|t|)
2003 Apr 15
1
About kruskal.test
Hi,
I'm newbie in R package,
but i'm extremely gratefull for these list!
is there possible to make kruskal.test
summarize the sum of ranks??
e.g
#####
z<-c(1.2,3.4,0,0,0,0,0)
ranks(z) # like in octave package
ans=
6 7 3 3 3 3 3
sum(ranks(z))
ans= 28
###
then apply multiple comparisions for many other data
SE<-sqrt(n*(n*k)*(n*k+1)/12) # according Zar,JH. Bioestatistical
2002 May 17
1
Spectral Analysis
Dear R users
Is there a function in R to make a peridogram for
a spectral analysis of unevenlly sampled data??
something like spec.lomb() for S-Plus??
How to plot a vector with unequally spaced time series??
e.g
day/month/year V1
03/08/82 0.34
28/08/82 1.42
12/09/82 0.28
20/09/82 0.56
03/10/82 0.85
21/10/82 1.45
thanks
--
Marcelo Alexandre Bruno - Pos-graduacao Oceanografia Biologica
2008 Jun 12
10
Ajax.Updater not working in IE, tried everything
hi,
i am basically using a button, Prototype/AJAX, and PHP to update a
user''s location. something simple as typing ''Chicago, IL''. After the
script, it rewrites the result in a div tag.
here is the form i''m using:
<div id="hometown_result">Aurora, IL</div>
<form action="" method="post"
2023 Jul 25
2
Seeking Assistance: Plotting Sea Current Vectors in R
Dear Rcommunity,
I hope this email finds you well. I am writing to seek your assistance with
a data visualization problem I am facing while working with R.
Problem Description:
I have a dataframe named "df" containing the following columns:
"longitude", "latitude", "sea_currents_mag", and "sea_currents_direction".
The dataframe includes sea
2003 May 28
0
(no subject)
Subject: [ANN] Quantian: A Knoppix remastering for Scientific Computing
X-Mailer: VM 7.03 under 21.4 (patch 6) "Common Lisp" XEmacs Lucid
FCC: /home/edd/mail/out/mail
From: Dirk Eddelbuettel <edd at debian.org>
--text follows this line--
[ Apologies for cross-postings; however, this message is being sent only to
lists to which I am personally subscribed and overlap should be