Displaying 3 results from an estimated 3 matches for "lyricsplayground".
2017 Jun 04
0
nmax parameter in factor function
...with the hash
table error message; and sometimes you just apparently get the nmax
argument ignored:
> identical(factor(letters,nmax = 25), factor(letters,nmax=26))
[1] TRUE
and that, to paraphrase what Roger Hammerstein said about Kansas City,
is about "as fer as I can go."
(http://lyricsplayground.com/alpha/songs/e/everythingsuptodateinkansascity.shtml)
Cheers,
Bert
Bert Gunter
"The trouble with having an open mind is that people keep coming along
and sticking things into it."
-- Opus (aka Berkeley Breathed in his "Bloom County" comic strip )
On Sat, Jun 3, 2017 at...
2017 Jun 04
2
nmax parameter in factor function
I have been trying to understand how the argument 'nmax' works in
'factor' function. R-Documentation states - "Since factors typically
have quite a small number of levels, for large vectors x it is helpful
to supply nmax as an upper bound on the number of unique values."
In the code below what is the reason for error when value of nmax is
24. Why did the same error not
2017 Jun 04
1
nmax parameter in factor function
...ometimes you just apparently get the nmax
> argument ignored:
>
>> identical(factor(letters,nmax = 25), factor(letters,nmax=26))
> [1] TRUE
>
> and that, to paraphrase what Roger Hammerstein said about Kansas City,
> is about "as fer as I can go."
>
> (http://lyricsplayground.com/alpha/songs/e/everythingsuptodateinkansascity.shtml)
>
> Cheers,
> Bert
>
>
>
> Bert Gunter
>
> "The trouble with having an open mind is that people keep coming along
> and sticking things into it."
> -- Opus (aka Berkeley Breathed in his "Bloom C...