It depends on what you want to check. There are a lot of things you can check
without looping.
For example, if you want to check whether all of the first letters of the
identifier names are "A", you could do
table( substr(idnames,1,1))
to show you all of the first letters, and how many there a
On Wed, 15 Aug 2018 07:21:55 -0700
Stats Student wrote:
> Hi, I am generating multiple charts with facet_wrap() and what what I
> see, R/ggplot sorts the panels by the facet variable. So adding an
> index to the facet variable (1 - bucket, 2 - bucket, etc) does solve
> the sorting issue but it's
Since I'm associated with a lot of nonlinear modeling software, including nlsr
and (now
deprecated) nlmrt, I'll perhaps seem an odd person to say that I calculate an
R^2 quite
regularly for all sorts of models. I find it useful to know if my nonlinear
models do
poorly compared to the model that
Many thanks! I will look into apply the advice given.
-Spencer Brackett
On Wed, Aug 15, 2018 at 3:03 PM Jeff Newmiller
wrote:
> a) Raw URL text is not legal in R code. URLs MUST ALWAYS be enclosed in
> single (') or double (") quotes in R.
>
> b) The source function expects to go where you tel
a) Raw URL text is not legal in R code. URLs MUST ALWAYS be enclosed in single
(') or double (") quotes in R.
b) The source function expects to go where you tell it to go and retrieve text
composed of R statements. A PDF is a binary file... even if it happened to
contain some R code that you co
Hi Spencer,
Please be sure to use reply-all to keep the thread on the list and in the list
archives for the future benefit of others. It also allows others to participate
with additional information, if needed.
You have already loaded the packages by using the two library() function calls
as y
Hi,
The ?source function is intended to read a plain text R source code file into
the R console, not a PDF file.
Even if source() could read in a PDF file, you have a typo in the URL, which is
CRAN, not BioConductor, and which should be:
https://cran.r-project.org/web/packages/cgdsr/vignette
Good afternoon,
I am trying to load the two R packages CGSDR and GAIA which I have
successfully installed onto my R program. Following installation of the two
packages, I proceeded upon recommendation to load both packages via the
library function. Therefore I inputed following...
library(cgdsr
Please note that R^2 for nonlinear models is nonsense.
Search on "R^2 in nonlinear models" for details, e.g.
http://statisticsbyjim.com/regression/r-squared-invalid-nonlinear-regression/
Cheers,
Bert
Bert Gunter
"The trouble with having an open mind is that people keep coming along and
sticki
Thanks Ellison, I will try it.
Francis
-Original Message-
From: S Ellison
Sent: Thursday, August 9, 2018 8:12 AM
To: Francis Boateng ; r-help@r-project.org
Subject: RE: exponential day
> Please, how can I determine parameters from exponential equation
> Example
> one: y = a*exp(-b*
1. Unless there is good reason to keep a reply private, always cc the list.
This allows more brains, possible corrections, etc.
2. Have you read ?factor and ?unique ? Always study the docs carefully.
They are generally terse but complete, especially the base docs, and you
can often find your answe
See ?factor.
You can either use ?ordered to create an ordered factor to sort the levels
as you desire or sort them with factor(). e.g.
> f <- factor(letters[3:1])
> f
[1] c b a
Levels: a b c ## default ordering
> f <- factor(f, levels = letters[3:1])
> f
[1] c b a
Levels: c b a ## explicit or
Hi, I am generating multiple charts with facet_wrap() and what what I see,
R/ggplot sorts the panels by the facet variable. So adding an index to the
facet variable (1 - bucket, 2 - bucket, etc) does solve the sorting issue but
it's ugly.
I also read this post which, if I understand correctly,
13 matches
Mail list logo