I suspect you have a rather old version of the fCalendar package (or
possibly of one of the packages it loads). The current version is 262.73
and does not use putenv or Sys.putenv.
(Packages really should not be using global system settings but the
current version does
> .currentYear
function
Dear R users,
I am trying to figure out the control parameter in "optim," especially,
"fnscale" and "parscale."
In the R docu.,
--
fnscale
An overall scaling to be applied to the value of fn and gr during
optimization. If negative, turns
Hi Gabor and Greg,
I thought there might be a more ?intuitive way to it, but any of those
will just work fine.
Thanks a lot,
TL
On Sat, Mar 22, 2008 at 3:06 PM, Greg Snow <[EMAIL PROTECTED]> wrote:
>
>
>
> > sweep( rawdata, 2, sens, '/' )
>
> hope this helps,
>
>
>
Levi Waldron wrote:
> I am creating a timeline plot, but running into a problem in positions
> where the values to plot are too close together to print the text
> without overlap...
Hi Levi,
This may not be what you want, but spread.labels in the plotrix package
tries to evenly space labels for u
kathie wrote:
> Dear R users,
>
> I am trying to figure out the control parameter in "optim," especially,
> "fnscale" and "parscale."
>
> In the R docu.,
>
> --
> fnscale
>
> An overall scaling to be applied to the value of fn and gr during
>
Thank you very much for the help!!!
Felix Andrews wrote:
>
> help.search("circle")
>
> should point you to grid.circle in the grid package, at least in my
> R version 2.6.1 (grid package version 2.6.1).
>
>
> On Sun, Mar 23, 2008 at 8:44 AM, Gabor Grothendieck
> <[EMAIL PROTECTED]> wrote:
>>
May i ask what was the problem with symbols()?
G.
On Sun, Mar 23, 2008 at 04:10:38AM -0700, ermimi wrote:
>
> Thank you very much for the help!!!
>
> Felix Andrews wrote:
> >
> > help.search("circle")
> >
> > should point you to grid.circle in the grid package, at least in my
> > R version 2.
Dear All,
I am trying to build a stacked bar plot, where I define the colours to use.
I have asked this before, and I was using a solution in
http://thread.gmane.org/gmane.comp.lang.r.general/100649/focus=100673
(thanks, Thierry).
However, it looks this works only when the data are in the sequ
My data look like this:
Col1
1
2
3
4
5
6
...
My questions are:
(1) How do I get it in the following format?
Col1 Col2
12
34
56
...
(2) How do I transform the data in 2 column format above back to the single
column format?
Thanks in advance for your reply!
Here are some examples of the transformations that you can do:
> x <- 1:6
> x
[1] 1 2 3 4 5 6
> (z <- matrix(x, ncol=2, byrow=TRUE))
[,1] [,2]
[1,]12
[2,]34
[3,]56
> as.vector(z)
[1] 1 3 5 2 4 6
> as.vector(t(z))
[1] 1 2 3 4 5 6
>
On Sun, Mar 23, 2008 at 8:12 AM, jen
Dear list
I am having trouble with handling a downloaded R Code. I tried to run the
code using File\Source R Code...\ after loading values for the variables
mentioned in the argument. Now I am getting the error message as follows:
"Repeated formal argument". Kindly help me solve this problem. It i
Dear Gabor and Jeff,
thanks for your hint! I tried it out and played around but could not
succeed completely:
> library(quantmod)
> raw=read.table(file="eurusd-id.csv",sep="\t",dec=",",header =T)
> date.d=as.POSIXct(raw$Date..GMT)
> z=zoo(cbind(raw$Open,raw$High,raw$Low,raw$Close),order.by=date.d
Dear R-users,
I would like to use Cluster 3.0 for my data because of its zooming, link out
and copy (gene)labels into clipboard options. Unfortunately the program
doesnt allow use of the distance metrics I would like to use. I would like
to ask if there is some library, that allows saving dendrog
In an earlier post, a person wanted to divide each of the rows of
rawdata by the row vector sens so he did below but didn't like it and
asked if there was a better solution.
rawdata <- data.frame(rbind(c(1,2,2), c(4,5,6))) sens <- c(2,4,6)
temp <- t(rawdata)/sens
temp <- t(temp)
print
On Sun, Mar 23, 2008 at 11:06:05AM -0400, Mark Leeds wrote:
> In an earlier post, a person wanted to divide each of the rows of
>
> rawdata by the row vector sens so he did below but didn't like it and
>
> asked if there was a better solution.
>
>
>
> rawdata <- data.frame(rbind(c(1,2,2), c
Hello, the problem is that... in my plot there are other things as text...
and when I change the size of the windows (for example I do more big the
width) the circle is done more big in the width and in the heigth, but I
only need change the width of the circle to the text is well situated.
I hop
Use plot(..., asp = 1) to get an aspect ratio of 1.
On Sun, Mar 23, 2008 at 11:57 AM, ermimi <[EMAIL PROTECTED]> wrote:
>
> Hello, the problem is that... in my plot there are other things as text...
> and when I change the size of the windows (for example I do more big the
> width) the circle is d
Hi Thomas,
The issue is probably the quantmod package being outdated. Try to
install this version:
http://r-forge.r-project.org/R/?group_id=125
The second issue is that xlab and ylab are no longer being applied -
they had some issue, and I haven't settled on a way to address yet. I
will make t
Hi everyone,
Is there a way to include both mean and median in a bwplot? And what
should I do to convert the median dots into lines?
Thanks!
Plantky
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the po
ALL:
Can anyone explain why optim returns c(0.75, 2) for what I think
should be the maximum of a bivariate normal density with mean = 1:2?
KATHIE:
Apart from 'optim' giving an answer I don't understand, the
following should illustrate the use of 'fnscale' and 'parscale' -- whil
I was able to figure it out. I used
daysSamp<- na.omit(weekly)
daysSamp<- nrow(daysSamp)
daysSamp
>4
I ommited the NA's and then counted the number of
rows. Thanks for your time Mark
> I'm not an R expert but if you show me the
> str(weekly) output, i think I can answer your
> question.
>
>
p.s. With proper scaling, 'optim' gives the correct answer in this case:
(mle2 <- optim(rep(0, 2), dmvnorm, method='CG',
control=list(fnscale=-10, trace=9),
mean=1:2, hessian=TRUE, log=TRUE))
$par
[1] 0.917 1.833
However, as noted below, with parscale
On Mar 23, 2008, at 11:31 AM, Plantky wrote:
> Hi everyone,
>
> Is there a way to include both mean and median in a bwplot? And what
> should I do to convert the median dots into lines?
Did you look at the documentation for bwplot and panel.bwplot?
This should do it , adjust at will:
ex <- data
Dear Prof Brian Ripley and other R guru:
Very happy to receive your help. Actually what I use is 262.73. In
detail, what I have been doing is the following:
First I have a not-up-to-dated R 2.4.0 under ubuntu 7.04, then I tried
to install fCalendar(what I really want to use is fGarch, but i
On Mar 23, 2008, at 1:37 PM, Charilaos Skiadas wrote:
> panel.points(mean(x), y, col="red", ...)
Correction, this should have probably been:
panel.points(tapply(x, y, mean), y, col="red", ...)
All this assuming you want horizontal boxplots.
Haris Skiadas
Department of Mathematics and
Hello All,
I'm new to R, but I can't account for the results from the simple script
below and it looks simple enough.
Description: When A is generated by seq(), A[A==x] incorrectly returns
numeric(0) for some values of x (in A) but not others.
##
A<-seq(0,1,by=.05)
#Thes
See the R-FAQ 7.31 Why doesn't R think these numbers
are equal? for the likely reason.
--- SET Eric Brendan <[EMAIL PROTECTED]> wrote:
> Hello All,
>
> I'm new to R, but I can't account for the results
> from the simple script
> below and it looks simple enough.
>
> Description: When A is gener
hello
what is the function for multidimensional scaling in R?
cheers
manju
[[alternative HTML version deleted]]
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-p
On 3/23/2008 2:28 PM, Sharma, Manju wrote:
> hello
> what is the function for multidimensional scaling in R?
>
> cheers
> manju
Here are two ways to search for specific functionality in R:
RSiteSearch("multidimensional scaling", restrict="functions")
help.search("multidimensional scaling")
Thankyou Martin Morgan, i will post this question in Bioconductor mailing
list <[EMAIL PROTECTED]>
Suprabhath wrote:
>
> Hello Everyone,
>
> I am writing programs in R from 7 months and I am able to solve most of
> the errors/issues except for this current post.
>
> My Task is to read a Micro
Is there any way to use more than one color or shape in the same plot. I would
like to make the points different colors for various levels of a variable. I
have tried a simple 'if' statement in the plot command, but I get an error
message. Here is what I have tried and the error message I ge
As you have not given us a reproducible example (namely we don't
really know what "test" is), there are likely better ways to do this
than what I am about to suggest, and you can find examples in the
relevant plot functions likely, but I think what you want can be
achieved using ifelse:
Hello all,
I am having a problem using augPred after I have created an nlme object. My
data is 3933 rows long with no NA's, and is grouped with this function:
vanfem<-groupedData(mass~age.years|name, data=av.mex, labels=list(x="Age",
y="Mass"), units=list(x="(years)", y="(kg)"))
Under the grou
Hi
You can try using the ctc package to export your dendrogram objects and use
Cluster to open them.
This package is part of biocondutor.
>>source("http://bioconductor.org/biocLite.R";)
>>biocLite('ctc')
regards
Julian Lee
- Original Message -
From: Jiří Voller <[EMAIL PROTECTED]>
To:
Hello all:
Is there a function in R to estimate the Inverse
t-distribution(tif in Systat).If so how can I see an
example on how is used? Thanks
Felipe D. Carrillo
Fishery Biologist
Department of the Interior
US Fish & Wildlife Service
California, USA
_
Yes. And, amazingly, one can find out about it by typing
help.search("t distribution") .
Why don't you try it for yourself?
-- Bert Gunter
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Felipe Carrillo
Sent: Sunday, March 23, 2008 6:18 PM
To: [EMAIL
Dear R People:
I have an interactive menu via an Rcmdr extension package which asks
for lower and upper limit to evaluate.
Typically, I use:
assign("a",as.numeric(tclvalue(lowlim)),envir=.GlobalEnv)
and that's fine.
However, if I try to use pi or Inf or -Inf, I get either coerced NAs or NaN.
Hello,
Referring to your email, I attaced a rar file containing a sample data file
and the R script for clustering the data.
After I finished the clustering process, I write the clustering result into
a csv file.
To partition the data, I open the csv file in Excel, sort the data according
to cl
I can't actually tell which function in R is the
equivalent to TINV function in Excel.
Anyone familiar with that function? Thanks
> Yes. And, amazingly, one can find out about it by
> typing
>
> help.search("t distribution") .
>
> Why don't you try it for yourself?
>
> -- Bert Gunter
>
>
>
Hi all,
I feel there is a incompleteness in mAr.est function in mAr package for VAR
estimation. I does not cheak whether there is multicolinearity in data set.
Here I used mAr.est function for following dataset :
> head(log(data1)
+ )
V1 V2 V3 V4 V5
Felipe Carrillo wrote:
>
>
> I can't actually tell which function in R is the
> equivalent to TINV function in Excel.
> Anyone familiar with that function? Thanks
>
>
help.search("t distribution")
I think the quantile function is what you are looking for: qt
Try
qt(pt(5,10),10)
Berend
--
41 matches
Mail list logo