Fie, knave, dost thou bid us do thine homework!
gsub("[^A-Za-z]", "", )
> On Apr 10, 2017, at 7:11 PM, Olu Ola via R-help wrote:
>
> Hello,I have a column of my data of the Following format
> 10. Arnold125. Jessica1. Romeo117. Juliet
> I need to eliminate the numbers, period, and the space be
Dear List
As I was working on a project, I realized that when I use dnearneigh
from spdep, two (or more) points that have the exact same coordinates
are not considered neighbours and thus are not linked (even when the
lower bound is put to 0 or even to -1). See below for an example.
Does the func
Hello,I have a column of my data of the Following format
10. Arnold125. Jessica1. Romeo117. Juliet
I need to eliminate the numbers, period, and the space before the names so that
I have the following:
ArnoldJessicaRomeoJuliet
I tried using the gsub function but my code came up with errors.
Any he
Hello,
How can one extract variance of the survival curve estimates from
Random survival forests.Thanks in advance.
[[alternative HTML version deleted]]
__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz
Dear Rolf Turner,
Thank you so much for your prompt and useful reply.
Regards
Elfatih
-Original Message-
From: Rolf Turner [mailto:r.tur...@auckland.ac.nz]
Sent: Monday, April 10, 2017 11:39 PM
To: Abdel-Rahman, Elfatih
Cc: r-h...@stat.math.ethz.ch
Subject: Re: [FORGED] [R] hier.part li
Dear Group,
I'd like to combine many grid::grid.raster plots into a single layout.
Here's my attempt, which does not work (i.e., does not combine the 9 images
into a single plot layout).
require(grid)
random_image <- function() {
r <- matrix(sample(1:255, 32 * 32, replace = TRUE), nrow = 32,
On 10/04/17 21:33, Abdel-Rahman, Elfatih wrote:
Dear all,
Does the package "hier.part" limited to only 12 predictor variables.
I was trying to use it to partition (select) the most relevant predictor
variables our of 30 ones, and I always get an error message says:
"Error: Number of variables m
> On Apr 10, 2017, at 1:06 PM, David Winsemius wrote:
>
>
>> On Apr 10, 2017, at 7:45 AM, g.maub...@weinwolf.de wrote:
>>
>> Hi Ulrik,
>>
>> many thanks for your reply. I had to take an unplanned break and was not
>> in the office during the last two weeks. Thus my late reply.
>>
>> I follo
> On Apr 10, 2017, at 7:45 AM, g.maub...@weinwolf.de wrote:
>
> Hi Ulrik,
>
> many thanks for your reply. I had to take an unplanned break and was not
> in the office during the last two weeks. Thus my late reply.
>
> I followed your advice and converted the variable in argument "fill" to
> f
Dear William:
Thank you for your informative reply.
I simply got lost in the forest, as I have indeed been reading several R books.
As I tell my students, "every bright mind has a dull spot."
Best Regards,
Bruce
__
Bruce Ratner PhD
The Significant Statistician™
(516) 791-3544
Statis
Since 2008, Microsoft (formerly Revolution Analytics) staff and guests
have written about R every weekday at the Revolutions blog
(http://blog.revolutionanalytics.com) and every month I post a summary
of articles from the previous month of particular interest to readers
of r-help.
In case you miss
For a base-R installation, you can print out multiple help pages
(function indices) like so:
> for(i in 1:length(sessionInfo()$basePkgs)) {
print(library(help = sessionInfo()$basePkgs[i], character.only = TRUE)) }
HTH,
Bill.
William Michels, Ph.D.
On Mon, Apr 10, 2017 at 11:15 AM, Doran, Har
Here's my crossword-puzzle for the day:
# A sample monotonous discontinuous function with a single root
# (vectorized)
F <- function(x) {
return((as.numeric(x >= 0.112233445566778899) * 2) - 1)
}
discRoot <- function(xL, xR, F, k = 10) {
# Return the interval containing a single root of
Yes. If the function f takes the value zero at some discontinuity point,
then the code gives the inf of the set I described.
Otherwise, it is an approximation since we need to worry about numerical
accuracy.
2017-04-10 14:08 GMT-04:00 Bert Gunter :
> Well, I haven't checked carefully, but of cou
I did answer this question quite a few weeks ago. You then continued to email
me directly off list asking the exact question you posted below and at that
time I gave you the answer on how to solve.
Your unwillingness to do even the basic study on R clogs this list
unnecessarily.
-Original
Dear Harold:
If you do not want to answer my questions, then do not reply.
Warmest Regards,
Bruce
__
Bruce Ratner PhD
The Significant Statistician™
(516) 791-3544
Statistical Predictive Analytics -- www.DMSTAT1.com
Machine-Learning Data Mining -- www.GenIQ.net
> On Apr 10, 2017, a
Well, I haven't checked carefully, but of course this does not find infs
or sups at all, just mins or maxes in the sample, which are not the same.
You'll have to do your own full testing and debugging, however. I do not
provide such a service.
-- Bert
[[alternative HTML version deleted
Thanks, Jacob.
Bruce
Simmering, Jacob E wrote:
Bruce,
`sample` doesn’t appear to be an R package. `resample` installed for me.
`apply` and `sapply` aren’t packages either.
`sample`, `apply` and `sapply` are all functions, however.
On Apr 10, 2017, at 12:08 PM, BR_email wrote:
Hi Rer
Analytically speaking. But we are (presumably) looking for a numerical
algorithm, and that is constrained by numerical accuracy, and in that realm we
have 0.148296 on the left, and 0.703408 on the
right.
And the left-side representable number is what gets return
Er, 1/3, of course? (assuming that F is f). The infimum of a set is not
necessarily a member of the set.
-pd
> On 10 Apr 2017, at 16:56 , Boris Steipe wrote:
>
> Well - the _procedure_ will give a result.
>
> But think of f(x) = {-1; x <= 1/3 and 1; x > 1/3
>
> What should inf{x| F(x) >= 0}
Bruce,
`sample` doesn’t appear to be an R package. `resample` installed for me.
`apply` and `sapply` aren’t packages either.
`sample`, `apply` and `sapply` are all functions, however.
> On Apr 10, 2017, at 12:08 PM, BR_email wrote:
>
> Hi Rers:
> Is there anything I can check for as to wh
You really need to stop spamming this list and take time to learn R basics. You
sent me emails directly on this and asked me this specific question before.
These are not packages, but are functions and you do not work with R this way.
-Original Message-
From: R-help [mailto:r-help-boun.
Hi Rers:
Is there anything I can check for as to why I cannot install several
packages, i.e., sample, resample, resample_bootstrap, apply, sapply, ...?
The error message I get is:
install.packages("sample") Installing package into
‘C:/Users/BruceRatner/Documents/R/win-library/3.3’ (as ‘lib’ i
Dear all,
Does the package "hier.part" limited to only 12 predictor variables. I was
trying to use it to partition (select) the most relevant predictor variables
our of 30 ones, and I always get an error message says:
"Error: Number of variables must be < 13 for current implementation"
Thanks
Hi Georg,
On 08.04.2017 09:04, g.maub...@gmx.de wrote:
Hi Joe,
I have read your question with great interest. I am a little bit astonished to
read about your project. There is a big national institute in Germany called
GESIS
(https://de.wikipedia.org/wiki/GESIS_%E2%80%93_Leibniz-Institut_f%
On 2017/4/10 10:06, Paul Murrell wrote:
Hi
I think you are hitting the limit of what R's PostScript device can do
with CID fonts (particularly with Latin characters).
Have you tried the cairo_ps() device ?
Paul
Thank you very much. It works very well. It's more simple than
postscript() with
Bert has already suggested that your code is too spaghetti to let us follow it.
I tried and got a msg that PKF isn't available for R 3.3.3.
Do you actually have a test that the function can be evaluated? That's often
the main issue.
And it does help to try a few parameter sets to see if you hav
Hannah - sorry if this is oblique.
The problem is that the question as given is ill-posed (in the mathematical
sense); all the more so since there is no guarantee that the numbers that
define your discontinuities can even be exactly represented in a computer. This
could both be fixed if you can
Yup, she can decide.
-- 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 Mon, Apr 10, 2017 at 7:56 AM, Boris Steipe wrote:
> Well - the _procedure_ will
Well - the _procedure_ will give a result.
But think of f(x) = {-1; x <= 1/3 and 1; x > 1/3
What should inf{x| F(x) >= 0} be?
What should the procedure return?
> On Apr 10, 2017, at 10:38 AM, Bert Gunter wrote:
>
> Given what she said, how does the procedure I suggested fail?
>
> (Always
Hi Ulrik,
many thanks for your reply. I had to take an unplanned break and was not
in the office during the last two weeks. Thus my late reply.
I followed your advice and converted the variable in argument "fill" to
factor. Now the color change works:
-- cut --
d_result <- structure(list("var
Given what she said, how does the procedure I suggested fail?
(Always happy to be corrected).
-- 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 Mon, Apr
Hello everybody.
I am using the GA package[1] in order to optimize the hyperparameter of
SVM like in this example is done:
http://stackoverflow.com/questions/32026436/how-to-optimize-parameters-using-genetic-algorithms
However, when I try to adapt the example for random forest, it takes very
ver
On 10/04/17 20:57, Boris Steipe wrote:
Are you sure this is trivial? I have the impression the combination
of an ill-posed problem and digital representation of numbers might
just create the illusion that is so.
Fortune nomination.
cheers,
Rolf
--
Technical Editor ANZJS
Department of Stat
Dear all,
Does the package “hier.part” limited to only 12 predictor variables. I was
trying to use it to partition (select) the most relevant predictor
variables our of 30 ones, and I always get an error message says:
“Error: Number of variables must be < 13 for current implementation”
Tha
Are you sure this is trivial? I have the impression the combination of an
ill-posed problem and digital representation of numbers might just create the
illusion that is so.
B.
> On Apr 10, 2017, at 12:34 AM, Bert Gunter wrote:
>
> Then it's trivial. Check values at the discontinuities and
36 matches
Mail list logo