Hi Jim,
Yes, it seems to work. Thanks.
Regards,
Pascal
On Sat, Jun 14, 2014 at 2:03 PM, Jim Lemon wrote:
> On Sat, 14 Jun 2014 12:57:12 PM you wrote:
>> Hi Jim,
>>
>> I tried your fix.
>>
>> This one works:
>> barp(c(2,3,4,5,6,7,8), ylim=c(-10,10))
>>
>> This one fails:
>> barp(c(2,3,4,5,6,7,8)
On Sat, 14 Jun 2014 10:59:07 AM 오건희 wrote:
> Hi
>
> I got a wrong graph when I typed "
qplot(names(termFrequency),termFrequency,
> geom="bar", xlab="Terms",stat="bin")+coord_flip() "
>
> The frequency weren't displayed on the graph. what's the problem?
>
> I attached the screen shot to this e-m
On Sat, 14 Jun 2014 12:57:12 PM you wrote:
> Hi Jim,
>
> I tried your fix.
>
> This one works:
> barp(c(2,3,4,5,6,7,8), ylim=c(-10,10))
>
> This one fails:
> barp(c(2,3,4,5,6,7,8))
>
> Regards,
> Pascal
>
Hi Pascal,
Right again. This seems to work for both and I think handles the problem
corr
Hi Eliza
To me it seems like that you're not thinking before you messing about with the
data before an analysis.
The years with data for 366 days is leap years. It happens every fourth year
and the extra day falls on the 29th of februar. I guess it is the results from
the dcast function that s
Hi Jim,
I tried your fix.
This one works:
barp(c(2,3,4,5,6,7,8), ylim=c(-10,10))
This one fails:
barp(c(2,3,4,5,6,7,8))
Regards,
Pascal
On Fri, Jun 13, 2014 at 7:09 PM, Jim Lemon wrote:
> On Fri, 13 Jun 2014 06:50:59 PM Pascal Oettli wrote:
>> Dear list,
>>
>> Please consider the following ex
On Fri, 13 Jun 2014 12:02:34 PM Luca Cerone wrote:
> Thanks David,
> I already did this, but in case the code gets updated I will have to
> re-add the annotation, which I do not think it is ideal.
>
> I was just wondering if there is an easy solution to this.
> Thanks a lot for the help,
>
Hi Luc
Dates are a problem in any language because they are irregular
As you have not provided a reproducible example
here are 2 solutions
totaldays <- seq.Date(as.Date("2013-11-01"), by = 7, length = 10)
str(totaldays)
Date[1:10], format: "2013-11-01" "2013-11-08" "2013-11-15" "2013-11-22"
"2013-11-2
As always, you are requested to post in plain text and to provide a
reproducible example. "Messed things up" is quite vague.
FWIW: In general, processing in sequence is best done BEFORE you cast your data
to wide format.
---
Dear R community,
Iâm trying to use the âpartyâ package to view variables that are
important in my data frame (FIM_RS4). My data has a combination of ordinal,
nominal, categorical, and continuous data. Iâve written my code below, with
my predictor variables being 2:36, and my response
Thanks dennis,
It worked but I had to do some simple modifications to get to the ultimate
format.
Now I have a list in the following format
$A
2004200520062007200820092010
..
...
...
..
...
$AY
196719682000...
some columns had 365 rows and some 36
I'd suggest a different strategy for calculating your axis. You may also
be using the axis.Date() function incorrectly. See this example:
tmpd <- data.frame(dt=seq.Date( as.Date('2014-1-7'),
as.Date('2014-08-13'), len=15),
y=runif(15)
)
xax <- seq.Date(min(tmp
?sort,
?unique, and
subset come to mind.
Clint BowmanINTERNET: cl...@ecy.wa.gov
Air Quality Modeler INTERNET: cl...@math.utah.edu
Department of Ecology VOICE: (360) 407-6815
PO Box 47600FAX:(360) 407-75
Dear R family,
I hope you all be doing great. I have a dataset of following format. The data
file is of the following format.
st year month day discharge
1 A 2004 1 1 6.752828
2 A 2004 1 2 7.602053
3 A 2004 1 3 5.583619
4 A 2004 1 4 5.019562
I don't know if you can get the information from the plot, but you can
certainly get it from the density() function directly. For example,
# fake data
TestVar <- rnorm(60)
type <- rep(c("Bottom", "Other", "Top"), 20)
# density of TestVar for each type, estimated at 100 points along range of
Test
Just a quick notice that we intend to have a patch release on July 10. Nickname
is still undecided.
Due to calendar conflicts, the binaries for some platforms may be delayed by a
week or so.
-pd
--
Peter Dalgaard, Professor
Center for Statistics, Copenhagen Business School
Solbjerg Plads 3,
Hadley,
You are a genius.
Stephen B
-Original Message-
From: Hadley Wickham [mailto:h.wick...@gmail.com]
Sent: Thursday, June 12, 2014 5:18 PM
To: Bond, Stephen
Cc: r-help@r-project.org
Subject: Re: [R] Rscript fails where Rterm works
Explicitly load the methods package: library(methods
Dear all,
I am writing a script implementing a pipeline to analyze some of the
data we receive.
One of the steps in this pipeline involves clustering the data, and I
am interested
in studying the effects of different clustering algorithms on the final results.
I am having issues making my code g
Hi Jorge,
It is in order to have different barplots with the same range of
limits, to keep them easily comparable. Some have negative values,
some others no.
Pascal
On Fri, Jun 13, 2014 at 7:11 PM, Jorge I Velez wrote:
> Hi Pascal,
>
> Perhaps I am missing something, but what about changing pas
Hi Jim,
Thank you for the suggestion. I will try it.
Pascal
On Fri, Jun 13, 2014 at 7:09 PM, Jim Lemon wrote:
> On Fri, 13 Jun 2014 06:50:59 PM Pascal Oettli wrote:
>> Dear list,
>>
>> Please consider the following example:
>>
>> library(plotrix)
>> barp(c(2,3,4,5,6,7,8), ylim=c(-10,10))
>>
>>
Hi Pascal,
Perhaps I am missing something, but what about changing passing ylim = c(0,
10) to barp()?
Best,
Jorge.-
On Fri, Jun 13, 2014 at 7:50 PM, Pascal Oettli wrote:
> Dear list,
>
> Please consider the following example:
>
> library(plotrix)
> barp(c(2,3,4,5,6,7,8), ylim=c(-10,10))
>
> H
On Fri, 13 Jun 2014 06:50:59 PM Pascal Oettli wrote:
> Dear list,
>
> Please consider the following example:
>
> library(plotrix)
> barp(c(2,3,4,5,6,7,8), ylim=c(-10,10))
>
> How to force the bars to start at 0? I could not find the way to do it.
>
Hi Pascal,
You are right, I had not considered
Thanks David,
I already did this, but in case the code gets updated I will have to
re-add the annotation, which I do not think it is ideal.
I was just wondering if there is an easy solution to this.
Thanks a lot for the help,
Cheers,
Luca
2014-06-13 3:12 GMT+02:00 David Winsemius :
>
> On Jun 12
Dear list,
Please consider the following example:
library(plotrix)
barp(c(2,3,4,5,6,7,8), ylim=c(-10,10))
How to force the bars to start at 0? I could not find the way to do it.
Regards,
Pascal
__
R-help@r-project.org mailing list
https://stat.ethz.c
I have a dataframe
âdf â
with 3 columns. Details
âof df are â
as follows
> summary(df)
DateTestVartype
Min. :2002-05-10 00:00:00 Min. :-3.8531 Bottom: 313
1st Qu.:2005-05-09 12:00:00 1st Qu.:-0.7773 Other :2501
Median :2008-05-07 00:
I have tried multiple different methods to figure out how to get a date axis
of my preference (start date of each month). Any assistance would be
appreciated.
The below section is not producing a date axis:
plot(totaldays$totaldays,totaldays$y,type="n",ylim=c(0,Emax),xaxt="n")
*xlabels<-(strptime(
Hello all
I am searching for a package or code that is used for generating data for
spatio-temporal marked ETAS processes. I saw that spatial ETAS function in
"PtProcess" package doesn't work with "simulate" function...
Thank you in advance,
Ferra
[[alternative HTML version deleted]]
I guessed you mean 2 treatment groups, N=18 and 3 blocks (so n=6 per block):
blocks <- 3
ngroups <- 2
groupsize <- 3
group <- NULL;
block <- NULL;
set.seed(911)
for (i in 1:blocks){
foo <- sample(rep(c('A', 'B'), groupsize))
group <- c(group, foo)
block <- c(block, rep(i, groupsize*ng
Thanks for the comments.
I think i phrased my question incorrectly but the following gave me what I
wanted. 18 treatments(plants) , 3 blocks, a total of 54 plots. I could not
figure out exac
> library(agricolae)
> trt<-
> c("1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17
28 matches
Mail list logo