On Fri, 21 Sep 2018 18:17:10 +
Thomas MacFarland wrote:
> Everyone:
>
> Using multiple resources I've been able to create a state (Kentucky)
> map that shows all 120 counties, with two selected counties
> highlighted in red.
>
> Fine, except - I also want to show the names of the two select
Everyone:
Using multiple resources I've been able to create a state (Kentucky) map that
shows all 120 counties, with two selected counties highlighted in red.
Fine, except - I also want to show the names of the two selected counties,
likely as labels.
Any ideas on how to achieve this aim would
Nice!
I didn’t realize you could do all that!
Thanks!
On Fri, Sep 21, 2018 at 10:32 AM William Dunlap wrote:
> Since you are using tibbles you may want to go whole-hog and use the dplyr
> package as well.
>
> > xt <-
> tibble(x=LETTERS[1:4],y=1:4,z=log2(1:4),a=c("dog","cat","tree","ferret"))
Since you are using tibbles you may want to go whole-hog and use the dplyr
package as well.
> xt <-
tibble(x=LETTERS[1:4],y=1:4,z=log2(1:4),a=c("dog","cat","tree","ferret"))
> xt %>% summarize(yMean=mean(y), zMean=mean(z), aLast=last(a))
# A tibble: 1 x 3
yMean zMean aLast
1 2.5 1.15 fer
This list doesn't do statistics -- it does R programming, though statistics
does occur incidentally sometimes in that context. Not in your post
though. You should post on a statistics site like stats.stackexchange.com
for statistics questions.
Cheers,
Bert
Bert Gunter
"The trouble with having an
Even more convincing than nchar is cat vs. print:
s <- "nchar(str)
>#[1] 15
>
>
>It is there just to escape the double quotes.
>if you want a backslash you would need to escape it, like in str1.
>
>
>str1 = 'nchar(str1)
>#[1] 16
>
>
>Now yes, you can remove it.
>
>str2 <- gsub("\\", "", str1, fixe
Smallest space analysis (SSA) is just the name given to software
developed by Guttman & Lingoes around the time the various versions
of multidimensional scaling were being developed. Call it Israeli MDS
or Falafel MDS if you prefer. The reason you encountered it in your
course is presumably that
Hello,
The backslash is not a character of the string str. test it with nchar:
str = '
Hi,
I have below string where I am trying to remove Backslash from. I tried
with gsub() function, however failed to remove that:
str = '
Error in gsub("\\", "", str) :
invalid regular expression '\', rea
Hi,
I have below string where I am trying to remove Backslash from. I tried
with gsub() function, however failed to remove that:
> str = ' gsub("\\", "", str)
Error in gsub("\\", "", str) :
invalid regular expression '\', reason 'Trailing backslash'
Any pointer to the right approach?
Thanks
On 21/09/2018 4:54 AM, Sigbert Klinke wrote:
Hi,
is it possible to make a link from a vignette to a (Rd) help files in my
own or other packages?
Only with some significant compromises. R normally acts as the web
server for Rd files, and the URL is not really predictable. So you
would need
Hi,
is it possible to make a link from a vignette to a (Rd) help files in my
own or other packages?
Best Sigbert
--
https://hu.berlin/sk
https://hu.berlin/mmstat3
__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.eth
Hi Martin
I was aware of the 'old' MDS package, thanks.
Hi Eric
I've now read the paper you referenced, thanks. Still didn't see
anything about SSA however, so will keep looking.
However, if anyone on this list comes across something specific to SSA,
could you kindly drop me a line to let m
12 matches
Mail list logo