[R] interpretation of R output for exact permutation test

2019-06-07 Thread massimo bressan
given this reproucible example library(coin) independence_test(asat ~ group, data = asat, ## exact null distribution distribution = "exact") I'm wondering why the default results are reporting also the critical value Z by considering that this method is supposed to be "exact", i.e. computing the

Re: [R] interpretation of R output for exact permutation test

2019-06-07 Thread Duncan Murdoch
On 07/06/2019 3:08 a.m., massimo bressan wrote: given this reproucible example library(coin) independence_test(asat ~ group, data = asat, ## exact null distribution distribution = "exact") I'm wondering why the default results are reporting also the critical value Z by considering that this me

[R] Kernlab's ksvm class.weights level name error

2019-06-07 Thread Luigi Marongiu
Dear all, I would like to use KSVM with weighted classes. Thus I created a named vector as follows: > VECT = c(1.0, 0.5, 0.7) > names(VECT) = c("negative", "positive", "uncertain") > VECT negative positive uncertain 1.0 0.5 0.7 The data TRAIN contains the following levels: >

Re: [R] Pasting R code lines into labels

2019-06-07 Thread Marc Schwartz via R-help
Hi, Ok, some additional tweaks. Relative to Bert's pointing out the aesthetic issues, certainly, those are attributes that can be adjusted as Nick may require. I was focused more on the primary issue. Using "..." is an easy way to pass additional parameters to plot.default() as Bert indicated.

Re: [R] Pasting R code lines into labels

2019-06-07 Thread Martin Maechler
> Marc Schwartz via R-help > on Fri, 7 Jun 2019 09:07:21 -0400 writes: > Hi, Ok, some additional tweaks. > Relative to Bert's pointing out the aesthetic issues, > certainly, those are attributes that can be adjusted as > Nick may require. I was focused more on the pri

Re: [R] Pasting R code lines into labels

2019-06-07 Thread Nick Wray via R-help
Wow! I hadn't meant to set off such an email flurry... Tbh all I wanted to do was to label some plots for my own recording and notes so Bert's idea was more than adequate. On the other hand it's instructive to venture further into the R-universe in such distinguished company... Nick > On 07

Re: [R] Pasting R code lines into labels

2019-06-07 Thread Marc Schwartz via R-help
Hi Martin, See inline below... > On Jun 7, 2019, at 9:25 AM, Martin Maechler > wrote: > >> Marc Schwartz via R-help >>on Fri, 7 Jun 2019 09:07:21 -0400 writes: > >> Hi, Ok, some additional tweaks. > >> Relative to Bert's pointing out the aesthetic issues, >> certainly, those are

Re: [R] Open a file which name contains a tilde

2019-06-07 Thread Berry, Charles
> On Jun 6, 2019, at 2:04 PM, Richard O'Keefe wrote: > > How can expanding tildes anywhere but the beginning of a file name NOT be > considered a bug? > > I think that that IS what libreadline is doing if one allows a whitespace separated list of file names. As reported in R-help,

Re: [R] interpretation of R output for exact permutation test

2019-06-07 Thread Patrick (Malone Quantitative)
I suspect Massimo meant to refer to the output z as "critical ratio," vs. "critical value." But I agree with Massimo there's no interpretation of it with an exact test. The p-value is the meaningful output. Pat On Fri, Jun 7, 2019 at 5:40 AM Duncan Murdoch wrote: > > On 07/06/2019 3:08 a.m., ma

[R] gganimate: A Grammar of Animated Graphics

2019-06-07 Thread reichmanj
R-Help Forum I've been exploring the gganimate package and am wondering how one might adjust the animation speed? Jeff Reichman [[alternative HTML version deleted]] __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, se

Re: [R] gganimate: A Grammar of Animated Graphics

2019-06-07 Thread Roy Mendelssohn - NOAA Federal via R-help
There may be other ways but you can store the animation in an object and use the animate() function. -Roy > On Jun 7, 2019, at 7:31 PM, > wrote: > > R-Help Forum > > > > I've been exploring the gganimate package and am wondering how one might > adjust the animation speed? > > > > Jeff

Re: [R] Open a file which name contains a tilde

2019-06-07 Thread Richard O'Keefe
?path.expand Expand a path name, for example by replacing a leading tilde by the user's home directory (if defined on that platform). *A* path name. The argument is a character vector. If multiple path names are passed, they are passed On most builds of R *A LEADING* "~user" will be