Dear R users,
I recently stumbled upon problems of reproducibility while running GAM analyses
in different R and gam package versions. In the example below, a small dataset
is created in which the y and x1 variables are 100% correlated. The intents of
this example were primarily for regression
You are constructing the equivalent of a two-line data file, and complaining
that it is not treating it like it was one line. If it did used to accept this
silently [skeptical] then I for one am glad it produces a warning now.
--
Sent from my phone. Please excuse my brevity.
On October 23, 201
To be specific, the effect of loading packages with the "library" function is
NOT saved when you save the workspace... and if you come back much later after
you have updated some packages the old saved objects may not work well with
those new packages. At the very least you have to re-load all n
This doesn't make sense to me:
On Mon, Oct 23, 2017 at 2:09 PM, Ed Siefker wrote:
> I have a list of file names, and a list of data frames contained in those
> files.
>
> mynames <- list.files()
>
## a character vector of file names
mydata <- lapply(mynames, read.delim)
>
# A list of data fra
Suggestion:
Read the "Intro to R tutorial" that ships with R. Alternatively, there are
also many good online tutorials, some free, some not. You'll need to spend
some time and effort to learn R's basic data structures and paradigms even
if you don't get involved in any serious programming.
If thi
Hi Jon,
Saving your workspace doesn't mean that everything will be rerun when
you start a new R session. I just means that persistent objects like
data frames will be there. If you type:
objects()
you will see all of those things that were there when you ended in the
last session. Things like com
Hello,
I recently downloaded R in hopes of learning to use it for statistics.
I have promptly run into a problem, as I am unable to save, and later recover,
a workspace so I can resume work where I left off.
I am using Windows.
I indicate "yes" to the pop up after q(). Then when I later reopen
Hello
I noticed that starting with R version 3.3.0 onward, this generates a
warning:
> txt <- c("a", "3.14")
> read.table(file = textConnection(txt), header = FALSE, colClasses
= c(x = "character", y = "numeric"))
the warning is "not all columns named in 'colClasses' exist" and I gues
Before going to stackexchange you should consider if a square root
transformation is appropriate for the model that you are trying to
estimate. If you do so, you may be able to interpret the coefficients
yourself. If no explanation is obvious you probably should not be using a
square root transform
Hello,
I think that your code is simple enough to be considered "nice". If you
are worried about the for loop, don't, were loops worrying they wouldn't
exist.
Hope this helps,
Rui Barradas
Em 23-10-2017 22:09, Ed Siefker escreveu:
I have a list of file names, and a list of data frames cont
This will give you a list of the current base packages:
priority <- installed.packages()[,"Priority"]
names(priority)[priority %in% "base"]
Change "base" to "recommended" to see the current recommended packages.
The base packages are part of R, they are not available separately. If you try
to i
I have a list of file names, and a list of data frames contained in those files.
mynames <- list.files()
mydata <- lapply(mynames, read.delim)
Every file contains two columns.
> colnames(mydata[[1]])
[1] "Name" "NumReads"
> colnames(mydata[[2]])
[1] "Name" "NumReads"
I can set the colna
?library
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 Mon, Oct 23, 2017 at 11:36 AM, Rene J Suarez-Soto <
rene.j.sua...@gmail.com> wrote:
> I
Hello,
R-Help answers questions on R code, your question is about statistics.
You should try posting the question to
https://stats.stackexchange.com/
Hope this helps,
Rui Barradas
Em 23-10-2017 18:54, kende jan via R-help escreveu:
Dear all, I am trying to fit a multiple linear regression
Dear all, I am trying to fit a multiple linear regression model with a
transformed dependant variable (the normality assumption was not verified...).
I have realised a sqrt(variable) transformation... The results are great, but I
don't know how to interprete the beta coefficients... Is it possib
I installed R 3.4.2 (Windows) and noticed that 30 folders are under my
R_HOME/library folder. I assume all of these are R base packages. Is this
correct? Where can I see a list of current R base packages? Also; are R
base packages also in CRAN? and are these packages updated only when a new
version
> Sorkin, John
> on Sun, 22 Oct 2017 22:56:16 + writes:
> David,
> Thank you for responding to my post.
> Please consider the following output (typeregional is a factor having two
levels, "regional" vs. "general"):
> Call:
> glm(formula = events ~ type, fam
Using quantiles does not imply assumption of normality, unless you drag that
assumption in separately. Please go review statistics again, offlist, and come
back when you need help with R.
--
Sent from my phone. Please excuse my brevity.
On October 22, 2017 10:02:57 PM PDT, Hemant Sain wrote:
>
18 matches
Mail list logo