Hi all,
I am generally quite fond of the unix commandline keystrokes (e.g. searching
back in your history with [CTRL]-R, and cutting/pasting with [CTRL]-K/Y)
which work in the R commandline in *nix. Does anyone know if there's any
way to get similar functionality in the Windows RGUI?
I know
, Adai
mfrumin wrote:
Hi all,
I am generally quite fond of the unix commandline keystrokes (e.g.
searching
back in your history with [CTRL]-R, and cutting/pasting with [CTRL]-K/Y)
which work in the R commandline in *nix. Does anyone know if there's any
way to get similar
sounds great. there are often times I'd like to use reshape on data frames
of hundreds of thousands or millions of rows, but I have found that it is
just too slow at this point to be convenient.
thanks again for everything,
Mike
hadley wrote:
On Thu, Jul 31, 2008 at 4:59 AM, Michael
according to the documentation of the cast function in the reshape function,
I would expect this bit of code from the examples to calculate marginal
means over only the 'diet' variable.
#Chick weight example
names(ChickWeight) - tolower(names(ChickWeight))
chick_m - melt(ChickWeight, id=2:4,
,
margins=diet)$diet) #returns TRUE
does that make sense? the way it works now, it totally screws things up
when the column for which you get margins is not a factor. in my case, a
date column.
thanks,
Mike
hadley wrote:
On Wed, Jul 30, 2008 at 11:47 AM, mfrumin [EMAIL PROTECTED] wrote
I'm running into some problems with the spacing of some faceted ggplot plots.
I have a number of time series faceted to be one above another, but the
scale labels of the y axes all clobber each other at the bottom/top of each.
for example, try:
qplot(x, y, data = data.frame(x = 1:10, y = 1:10,
try this:
scores.melt = data.frame(grade = floor(runif(100, 1,10)), variable =
'score', value = rnorm(100));
cast(scores.melt, grade ~ variable, fun.aggregate = c(mean, length))
it has the nice column names of:
grade score_mean score_length
1 1 0.087885358
2 2
Dear all,
With normal plotting, one can size a set of points in a plot using a vector
argument to cex in the points() function. This works whether you are using
one of the standard R symbols (i.e. 19+) or some ascii symbol, such as '/'
eg:
plot(1:10, 1:10, type='n');
points(1:10, 1:10, cex =
8 matches
Mail list logo