I have time series observation on daily frequencies :
library(zoo)
SD=1
date1 = seq(as.Date("01/01/01", format = "%m/%d/%y"), as.Date("12/31/02",
format = "%m/%d/%y"), by = 1)
len1 = length(date1); data1 = zoo(matrix(rnorm(len1, mean=0, sd=SD*0.5), nrow =
len1), date1)
plot(data1)
Now I want
See ?aggregate.zoo, ?as.yearqtr and vignette("zoo-quickref") and
the other zoo vignettes.
library(zoo)
SD <- 1
date1 <- seq(as.Date("2001-01-01"), as.Date("2002-12-1"), by = "day")
len1 <- length(date1)
set.seed(1) # to make it reproducible
data1 <- zoo(rnorm(len1), date1)
plot(data1)
# quarterl
Hi,
I'd like to get an argument (I think it's the right term) dynamically from a
list, but cannot manage to do it.
Here is the code I use:
#output given by database
BOB <- c('A/A', 'C/C', '15/27')
MARY <- c('A/A', NA, '13/12')
JOHN <- c('A/A', 'C/A', '154/35')
CLIFF <- c('A/C', 'C/C', '15/12')
On 6/29/08, Ron Michael <[EMAIL PROTECTED]> wrote:
> Now I want to present the plot in some interactive manner. I want to put a
> slider in the plot where user move the slider for the 1st element of the
> vector "vary" and automatically this result will be reflected at the plot
> window.
>
play
x <- as.matrix(data.raw)
x[,2]
is this what you want?
BOBMARY JOHN CLIFF PAM
"C/C" NA "C/A""C/C""C/A"
On Sun, Jun 29, 2008 at 3:24 PM, Stephane Bourgeois <[EMAIL PROTECTED]>
wrote:
> Hi,
>
> I'd like to get an argument (I think it's the right term) dynamically from
> a li
whenever I try to load "playwith" package I get following error :
Â
> library(playwith)
Loading required package: lattice
Loading required package: grid
Error in inDL(x, as.logical(local), as.logical(now), ...) :
 unable to load shared library
'C:/PROGRA~1/R/R-27~1.1/library/RGtk2/libs/RGtk2.d
Install the GTK runtime:
http://www.ggobi.org/rgtk2/
On Sun, Jun 29, 2008 at 9:06 AM, Ron Michael <[EMAIL PROTECTED]> wrote:
> whenever I try to load "playwith" package I get following error :
>
>> library(playwith)
> Loading required package: lattice
> Loading required package: grid
> Error in i
Hi,
I have created a couple of plots in R and would like text in the plots
to be size 12 Arial or Helvetica font. Is this possible?
Thanks.
Kobby
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the p
Is this what you want:
you have to use data.raw[[polyList[2]]] to access the data. (see ?"[[")
> lapply(polyList, function(x) as.character(data.raw[[x]]))
[[1]]
[1] "A/A" "A/A" "A/A" "A/C" "A/C"
[[2]]
[1] "C/C" NA"C/A" "C/C" "C/A"
[[3]]
[1] "15/27" "13/12" "154/35" "15/12" "13/12"
On
Johannes Huesing <[EMAIL PROTECTED]> [Sun, Jun 29, 2008 at 08:13:27AM CEST]:
> Dear all,
> I am trying to understand how to access S4 methods after loading a
> package, using the online documentation of getMethod and friends.
>
I am just realizing that the lack of online documentation on S4 meth
Hi, whenever I try to load the playwith package I am getting following warning :
Â
> library(playwith)
Loading required package: lattice
Loading required package: grid
Warning message:
In namespaceImportFrom(self, asNamespace(ns)) :
 replacing previous import: addhandler
Can anyone please tell
Hi all R users. I already done through some of the examples given with playwith
packages and feel nowhere they are matching with my requirement. Can amyone
please suggest me how to create my desired interactive plot with "tkrplot" ?
Â
I want following. Let look at following codes :
Â
mat = cbin
In ?playwith the third example seems pretty close to what you
want. Here it is changed to correspond to your setup.
Remove the barplot line from calc since we don't want calc to do
any plotting and then try this:
library(lattice)
playwith(barchart(seq_along(result) ~ result,
data = data.
Kobby Essien seas.upenn.edu> writes:
>
> Hi,
>
> I have created a couple of plots in R and would like text in the plots
> to be size 12 Arial or Helvetica font. Is this possible?
>
> Thanks.
>
> Kobby
Well, 12 point Helvetica is actually the default for PDF and PostScript
files (see ?pdf
Hello all,
I am hoping to use survival analysis to examine whether parasite attack
increases nest death in a species of social wasp. I therefore have data for
1. Whether the nest "died" in the 6 week census period ("Status", where
1=died, 0=survived)
2. The day number of death/last recorded day
It is not working here. I am getting following errors [big list :( ]Â :
Â
> library(playwith)
Loading required package: grid
Warning message:
In namespaceImportFrom(self, asNamespace(ns)) :
 replacing previous import: addhandler
> library(lattice)
> playwith(barchart(seq_along(result) ~ result,
sickboyedd gmail.com> writes:
>
>
> Hello all,
>
> I am hoping to use survival analysis to examine whether parasite attack
> increases nest death in a species of social wasp. I therefore have data for
>
> 1. Whether the nest "died" in the 6 week census period ("Status", where
> 1=died, 0=surv
Johannes Huesing <[EMAIL PROTECTED]> [Sun, Jun 29, 2008 at 08:13:27AM CEST]:
> Dear all,
> I am trying to understand how to access S4 methods after loading a
> package, using the online documentation of getMethod and friends.
>
> This is what I have been trying:
> > library(coin)
> > findMethods(
I get those errors too but it works anyways.
On Sun, Jun 29, 2008 at 2:09 PM, Ron Michael <[EMAIL PROTECTED]> wrote:
> It is not working here. I am getting following errors [big list :( ] :
>
>
>
>> library(playwith)
>
> Loading required package: grid
> Warning message:
> In namespaceImportFrom(se
Hi,
Im trying to built a simple function that allows me to export
automatically some results to a text file. Ive tried the two following
approaches but none worked.
> exportdata<-function(x) {
+ dataexp<-summary(x)
+ export(dataexp,type="ascii",file="dataexp.txt")
+ }
> exportd
Dear :
I am a college student, one R beginner, now i am doing one exercise with
mclust
package.
I want to try one hierarchy cluster ananlysis on my data and my aim is to
find
out the clusters from the result and what are the members for each cluster?
So can you give me some advices
th
mclust is not doing the hierarchicial clustering, if I understand your
question correctly. Presumably you define certain distance measure,
hclust and cut funtions should do the job. On the other hand, if the
purpose is to extract the classification labels from mclust package, it
should be strai
Hi,
I first report the installing error to the r-sig-mac mailing list but
it seems
nobody ever encounter this annoying problem and I got no replies. so I
am trying to forward it to this list, hope it never bothers.
Anyone had the same problem, or what does the warning message mean ?
Thank you
Assuming that you have installed and loaded the mclust library, type ?Mclust
in the R-prompt. An example is provided there with the popular iris dataset.
It seems to be as simple as Mclust(yourdata), where "yourdata" contains the
dataset (data columns of your dataset) on which you want to perform c
Thanks!
It turned out that Rmpi was a good option for this problem after all.
Nevetheless, pnmath seems very promising, although it doesn't load in my system:
> library(pnmath)
Error in dyn.load(file, DLLpath = DLLpath, ...) :
unable to load shared library
'/home/jpablo/extra/R-271/lib/R/libr
25 matches
Mail list logo