To quote Homer Simpson "Doh!".
Thank you Jeff. ?grid::`grid-package` works perfectly.
Thanks
Will
-Original Message-
From: Jeff Newmiller [mailto:jdnew...@dcn.davis.ca.us]
Sent: 18 March 2019 17:01
To: r-help@r-project.org; William Sones ;
r-help@R-project.org
Subject: Re: [R] ?grid:
On 18/03/2019 1:00 p.m., Jeff Newmiller wrote:
Try
?grid::`grid-package`
The "-" is not a legal character in a bare symbol.
Or
package?grid::grid
which makes use of the rarely used "type" argument to "?".
Duncan Murdoch
On March 18, 2019 9:35:17 AM PDT, William Sones
wrote:
Hi
I've
Try
?grid::`grid-package`
The "-" is not a legal character in a bare symbol.
On March 18, 2019 9:35:17 AM PDT, William Sones
wrote:
>Hi
>
>I've entered the command "?grid::grid-package" on two computers over
>here and they both direct me to the Arithmetic {base} site
>(http://127.0.0.1:30753/l
Hi
I've entered the command "?grid::grid-package" on two computers over here and
they both direct me to the Arithmetic {base} site
(http://127.0.0.1:30753/library/base/html/Arithmetic.html).
Shouldn't this command direct me to the grid-package {grid} site (something
like https://stat.ethz.ch/R
Hi,
Might you replaced 'T' with a numeric value that signals the TRUE case without
rumpling your matrix? 0 might be a good choice as it is never an index for a
1-based indexing system.
hold=apply(test,1,which.max)
hold[apply(test,1,isUnique)==FALSE] <- 0
hold
[1] 1 2 0
> On Mar 17, 2019, a
Solved --
hold=apply(test,1,which.max)
hold[apply(test,1,isUnique)==FALSE] <- 'T'
Now, all I need to do is figure out how to get <- 'T' from turning
everything in the matrix to a string.
On 3/17/2019 8:00 PM, Evan Cooch wrote:
Got relatively close - below:
On 3/17/2019 7:39 PM, Evan Co
Got relatively close - below:
On 3/17/2019 7:39 PM, Evan Cooch wrote:
Suppose I have the following sort of structure:
test <- matrix(c(2,1,1,2,2,2),3,2,byrow=T)
What I need to be able to do is (i) find the maximum value for each
row, (ii) find the column containing the max, but (iii) if the m
Suppose I have the following sort of structure:
test <- matrix(c(2,1,1,2,2,2),3,2,byrow=T)
What I need to be able to do is (i) find the maximum value for each row,
(ii) find the column containing the max, but (iii) if the maximum value
is a tie (in this case, all numbers of the row are the sam
Good morning Steve. Terrific, so kind of you to follow-up.
I will add that to my ever growing R bag of tips and tricks.
Cheers.
WHP
William H. Poling, Ph.D., MPH | Manager, Revenue Development
Data Intelligence & Analytics
Zelis Healthcare
-Original Message-
From: S Ellison
Sent: Mon
> tb2a$TID2 <- gsub(tb2a$TID, pattern="-[0-0]{0,7}", replacement = "")
Just to add something on why this didn't work ...
It looks like you were trying to match a hyphen followed by a number up to
seven digits. by mistake(?) you gave the digit range as [0-0] so it would
repmatch a hyphen followe
Hi there,
I am currently working on a project that involves climate model data stored in
a NetCDF file. I am currently trying to calculate "weighted" spatial annual
"global" averages for precipitation. I need to do this for each of the 95 years
of global precipitation data that I have. The idea
11 matches
Mail list logo