It has isTRUE, but that is not vectorized, and in fact explicitly tests
length==1, so
> isTRUE(c(TRUE,FALSE,NA))
[1] FALSE
> isTRUE(c(TRUE,TRUE, TRUE)) # I thought I thaw a puddycat... ;-)
[1] FALSE
> Vectorize(isTRUE)(c(TRUE,FALSE,NA))
[1] TRUE FALSE FALSE
(The latter would be silly as an
Hi
your code is not reproducible.
I get error with
> setwd("C:/Users/PC/Documents")
Error in setwd("C:/Users/PC/Documents") : cannot change working directory
>
so probably any other line of your code gives me error too.
Use dput(d) or dput(head(d)) to provide your data
Cheers
Petr
>
On Fri, 21 Feb 2020 13:17:59 +0100
Martin Møller Skarbiniks Pedersen wrote:
> "[.,;\"-']"
Note that there is an - between " and ', which transforms your
regular expression into a range (all characters between " and ')
instead of a set. Move the - right in front of the closing bracket ] to
make
sessionInfo at end of message.
I have data that I was given as an Excel .xlsx file. It contains 96266
lines and 24 columns. I opened it in OpenOffice.org and saved it in .csv
format, using the pipe character as a field separator. This produced a
file with 96266 lines.
When I read it into R
On 21.02.2020 20:10, Christopher W. Ryan wrote:
sessionInfo at end of message.
I have data that I was given as an Excel .xlsx file. It contains 96266
lines and 24 columns. I opened it in OpenOffice.org and saved it in .csv
format, using the pipe character as a field separator. This produced
Ah, Uwe, you are a lifesaver. Although there should not have been, there
were some lines with entries like this in the 6th field:
medical alarm - unk problem "B"
I would have thought that my effort to read just the first field of each
line, uniformly an integer,
> all.equal(y, ave(d, cumsum(c(TRUE,is_true(diff(a)!=0))),
FUN=function(di)1L+cumsum(is_true(di>15
[1] TRUE
Bill Dunlap
TIBCO Software
wdunlap tibco.com
On Wed, Feb 19, 2020 at 7:20 PM Lijun Zhao
wrote:
> Dear William,
>
> Thank you so much.
>
>
>
> I am quiet new in R. I would like to do
[ Please keep me in CC as I'm not subscribed to the list]
Hi all,
I’m new to R programming.
Can someone help me , how to plot the “y” for the following equations in “R”?
푦= 푒−5(푥−0.3)2+0.5 푒−100(푥−0.5)2+0.5 푒−100(푥−0.75)2
푦=28−푥+10푥4−5푥9+6푥11
Also, I want to extract 50 random points from the
Oh ... and don't cross post.
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 Fri, Feb 21, 2020 at 9:08 AM Bert Gunter wrote:
> This looks like homework. This
This looks like homework. There is a clearly-stated no-homework policy in the
Posting Guide.
Some hints though (typing a question mark before a function name in the console
shows the help file for that function):
- Generate some x values (?seq)
- Calculate y values using x
- plot x against y
We do just use the package if it's installed. No demanding anywhere.
Alex
On Thu, Feb 20, 2020, 9:36 PM Dirk Eddelbuettel wrote:
>
> On 20 February 2020 at 17:51, Alex Branham via ESS-help wrote:
> | On Wed 19 Feb 2020 at 18:20, Shreyas Ragavan
> wrote:
> |
> | >> You need to install the
> To display python documentation, I recently installed company-quickhelp.
> While it works well for python, my emacs now has an annoying feature in ess-r
> mode.
If you are not using company mode in general - you could try pydoc and
elpy-mode for python documentation. This may be faster
12 matches
Mail list logo