search for: chschulz

Displaying 6 results from an estimated 6 matches for "chschulz".

2009 Dec 07
2
data.frame to "stacked frame"
Hi, have anybody a hint how i could avoid the cumbersome way (..especially the value part) change the data representation from n column data.frame to an stacked representation. many thanks Christian #example data dfw <- as.data.frame(matrix(runif(10*10),ncol=10)) dfw$group <- sample(c("X","Z"),nrow(dfw),replace=T,prob=c(0.75,0.25)) # change var <-
2010 Jan 18
2
ggplot2 histogramm
Hi, i get no success change the title of the "fill" (colour) legend and the defintion of "levels". Have anybody a hint how i can do this. df <- data.frame(variable=sample(c("A","B","C"),1000,replace=T,prob=c(0.22,0.28,0.5)),group=gl(2,500)) p <- ggplot(df, aes(x = variable)) p + geom_histogram(aes(y= ..count.. /
2010 Jan 26
1
[Fwd: Re: question on sqldf syntax]
...4 4 3 22.8 4 108.0 93 3.85 2.320 18.61 1 1 4 1 4 21.4 6 258.0 110 3.08 3.215 19.44 1 0 3 1 5 18.7 8 360.0 175 3.15 3.440 17.02 0 0 3 2 ..................... -------------- next part -------------- An embedded message was scrubbed... From: Christian Schulz <chschulz at email.de> Subject: Re: [R] question on sqldf syntax Date: Tue, 26 Jan 2010 10:34:54 +0100 Size: 1577 URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20100126/b2738483/attachment.eml>
2012 May 22
1
iterate over vector with "range vector" inside
Hello, Have anybody a hint, how I could iterate over the vector below. So I'll wish only 8 iterations. Put the "range vector" in c() didn't help. for(i in c(1,2,3,4,5,11:20,21:50,51:100)) { sum(dfc[i,"cnt"]) # or similar actions } Thanks in advance Christian
2009 Jun 18
0
RWeka memory problem
Hello, i get some memory problems using RWeka and i'm wondering because i have only ~ 400MB in RObjects without a high memory consuming operation when a crash occur. Look into hs_err_pid.log , it seems that the VM max heap size is only 512 mb. VM Arguments: jvm_args: -Xmx512m vfprintf exit java_command: <unknown> Launcher Type: generic I try to change with
2009 Jun 24
2
vertical label on x-axis
Hi, have anybody a hint how it's possible plot the labels in the x-axis vertical to get more space. dotplot( value ~ abbreviate(attribute,minlength=3),data=tabstat10,ylim=c(0,1),col="blue",ylab="Value",type="p",par.settings=my.theme) Many thanks, Christian