New years greetings.
I have been setting up a function to generate multiple jpeg charts. When
the calls are issued at the interactive console, the jpeg files are
generated without an issue. When I try to issue the same calls from a
function, some chart files are empty. It appears to only be relate
If you just want a plot of the frequencies at each hour why not just call
barplot on the output of table? Histograms create bins and count in those,
which doesn't sound like what you're after.
Cheers,
Josh
On Dec 31, 2011, at 21:37, jim holtman wrote:
> Fast fingers; notice that there is s
Fast fingers; notice that there is still a problem in the counts; I
was only looking at the last.
Happy New Year -- up too late.
On Sun, Jan 1, 2012 at 12:33 AM, jim holtman wrote:
> Here is a test I ran and looks fine, but then I created the data, so
> it might have something to do with your d
Here is a test I ran and looks fine, but then I created the data, so
it might have something to do with your data:
> x <- sample(0:23, 10, TRUE)
> a <- hist(x, breaks = 24)
> a[1:5]
$breaks
[1] 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
$counts
[1] 8262 4114 418
Hi Tal
I think it might be an OS problem whether it is a
graphics as well I do not know.
I Just copied and pasted the line into R and it seems ok
OS win 7
version
platform i386-pc-mingw32
arch i386
os mingw32
system i386, mingw32
status
major 2
min
Hadley,
Presumably for fliplr you meant ncol(x)
fliplr <- function(x) x[, ncol(x):1]
Bill
On Dec 31, 2011, at 9:08 AM, Hadley Wickham wrote:
> Hi all,
>
> Are there base functions that do the equivalent of this?
>
> fliptb <- function(x) x[nrow(x):1, ]
> fliplr <- function(x) x[, nrow(x):1]
Hi,
I am trying to read in a large and highly sparse ARFF file into R which was
produced by WEKA. However the package 'RWeka' just chokes on this file. The
data set has about 40k observations and about 20k dimensions. Even after 1hr
read.arff method of RWeka is still trying to read in the file, w
Hadley:
Dunno.
But if not, it seems to me that it should be added as an array method
to ?rev with an argument specifying which indices to rev() over.
Cheers,
Bert
On Sat, Dec 31, 2011 at 7:08 AM, Hadley Wickham wrote:
> Hi all,
>
> Are there base functions that do the equivalent of this?
>
>
Respected Sir
The model I want to fit is logy= a + bt and then I want to do bai
perron test (2003) but i tried every command it didnt worked out
can you please tell me how to do it??? I know it is extremely
ridiculous to ask this question... But I shall be very much obliged if
you can help me
On 11-12-31 12:07 PM, Michael Friendly wrote:
On 12/30/2011 2:33 PM, Duncan Murdoch wrote:
Remember that that list is not exhaustive, since it is an open-ended
format. For example, the rgl package implements a driver that adds an
option "delay". (It also uses "resolution", but other drivers us
On 12/30/2011 2:33 PM, Duncan Murdoch wrote:
Remember that that list is not exhaustive, since it is an open-ended
format. For example, the rgl package implements a driver that adds an
option "delay". (It also uses "resolution", but other drivers use that
too.) I imagine odfWeave has its own op
On Dec 31, 2011, at 16:05 , Dennis Fisher wrote:
> R version: 2.13.1
> OS X
>
> Colleagues,
>
> I am working with a CSV file; for testing purposes, I created an XLS version
> of the file.
> When I read these files using read.xls (gdata) or read.csv, I encounter an
> error:
> Error in
On Sat, 31 Dec 2011, Ayanendu Sanyal wrote:
Respected Sir
Thank You for the ultra fast reply I changed the file and defined
my data as time series and then ran 'strucchange' i have attached
the lastsave1.txt file. but the lines (ci.ayan) is not working
Is the work ok please c
Respected Sir
Thank You for the ultra fast reply I changed the file and defined
my data as time series and then ran 'strucchange' i have attached
the lastsave1.txt file. but the lines (ci.ayan) is not working
Is the work ok please confirm I am not so much familar with
this
Hi,
I think you're not understanding quite what's going on with hist. Reread the
help, and take a look at this small example. The solution I'd use is the last
item.
> x <- rep(1:10, times=1:10)
> table(x)
x
1 2 3 4 5 6 7 8 9 10
1 2 3 4 5 6 7 8 9 10
>
>
> hist(x, plot=FALSE, righ
Hadley Wickham rice.edu> writes:
>
See functions flipud(), fliplr() in package 'matlab' (or 'pracma').
Those are the names of corresponding functions in MATLAB.
Hans Werner
> Hi all,
>
> Are there base functions that do the equivalent of this?
>
> fliptb <- function(x) x[nrow(x):1, ]
> fli
I have two large datasets (156K and 2.06M records). Each row has the
hour that an event happened, represented by an integer from 0 to 23.
R's histogram is combining some data.
Here's the command I ran to get the histogram:
> histinfo <- hist(crashes$hour, right=FALSE)
Here's histinfo:
> histinfo
Hi all,
Are there base functions that do the equivalent of this?
fliptb <- function(x) x[nrow(x):1, ]
fliplr <- function(x) x[, nrow(x):1]
Obviously not hard to implement (although it needs some more checks),
just wondering if it had already been implemented.
Hadley
--
Assistant Professor / D
R version: 2.13.1
OS X
Colleagues,
I am working with a CSV file; for testing purposes, I created an XLS version of
the file.
When I read these files using read.xls (gdata) or read.csv, I encounter an
error:
Error in type.convert(data[[i]], as.is = as.is[i], dec = dec,
na.strings = ch
On 31/12/2011 12:34, Israel Saeta Pérez wrote:
Hello list,
I'm trying to generate classifiers for a certain task using several
methods, one of them being decision trees. The doubts come when I want to
estimate the cross-validation error of the generated tree:
tree<- rpart(y~., data=data.frame(x
Hello list,
I'm trying to generate classifiers for a certain task using several
methods, one of them being decision trees. The doubts come when I want to
estimate the cross-validation error of the generated tree:
tree <- rpart(y~., data=data.frame(xsel, y), cp=0.1)
ptree <- prune(tree,
cp=tre
On 31/12/2011 10:27, Ronaldo Reis Júnior wrote:
Hi,
when I use the install.packages() function this make a download of
packages, try do compile/install packages and delete the downloaded
file. But if the compilation of package fail, I need to make the
download again because R delete all download
> Date: Fri, 30 Dec 2011 16:04:08 -0600
> From: xiuquan.w...@gmail.com
> To: r-help@r-project.org
> Subject: [R] HELP!! - PHP calling R to execute a r-code file (*.r)
>
> Hi,
>
> I have met a tough problem when using PHP to call R to generate some
What happened with "packages" directory?
http://cran.r-project.org/web/
Thanks
--
Pawel Matykiewicz
http://www.neuron.m4u.pl
http://www.linkedin.com/in/pawelmatykiewicz
___
R-packages mailing list
r-packa...@r-project.org
https://stat.ethz.ch/mailman/
Dear expeRts,
I would like to color a certain region in a levelplot. The region for z <= 0.02
should have a dark gray color. Below is a minimal example. It almost does what
I want, but The region between z=0.02 and z=1 is also colored in dark gray
(instead of just the region for z <= 0.02).
How
Dear R users,
I'd like to announce the PairedData package (version 0.5). This package
provides a set of graphical tools (based on ggplot2), statistics, effect sizes
and some classical and robust tests, confidence intervals and random simulation
functions for analysing paired data. Several datas
Hi,
when I use the install.packages() function this make a download of
packages, try do compile/install packages and delete the downloaded
file. But if the compilation of package fail, I need to make the
download again because R delete all downloaded file. How I can make
install.packages dont
Thank you very much. I will use 1.7.1 version. Have you had time to look at
the issue regarding a weird behaviour of multinomial glmnet when alpha=0? I
posted it to r-help more than two weeks ago and maybe you missed it. Damjan
Krstajic
Subject: Re: differences between 1.7 and 1.7.1 glmnet ve
28 matches
Mail list logo