Displaying 20 results from an estimated 4000 matches similar to: "Citing Package Contributing Authors"
2013 Mar 02
2
caret pls model statistics
Greetings,
I have been exploring the use of the caret package to conduct some plsda
modeling. Previously, I have come across methods that result in a R2 and
Q2 for the model. Using the 'iris' data set, I wanted to see if I could
accomplish this with the caret package. I use the following code:
library(caret)
data(iris)
#needed to convert to numeric in order to do regression
#I
2012 May 25
3
count number of groups
Hello,
Simple question that I am stuck on and can't seem to find an answer in the
help files currently. I have a list which contains repeated ID's. I would
like to have R count the number of ID's. For example:
ID=c(1,1,1,1,2,2,2,2,3,3,3,3)
as.data.frame(ID)
Clearly, there are 3 groups. How would I have R give me the summary:
ID
3
Many thanks,
Charles
[[alternative HTML
2012 Nov 22
2
BibTeX entries in CITATION file
Dear List,
While trying to define a customised CITATION file for a package,
following R-exts, I realised that if I use only one 'citEntry' I got
both a text description and a BibTex entry for the package, as for the
'nlme' package:
--------------------------
citation('nlme')
To cite package 'nlme' in publications use:
Jose Pinheiro, Douglas Bates, Saikat
2012 Oct 26
4
Merge matrices with different column names
A general question that I have been pursuing for some time but have set
aside. When finishing some analysis, I can have multiple matrices that
have specific column names. Ideally, I would like to combine these
separate matrices for a final output as a csv file.
A generic example:
Matrix 1
var1A var1B var1C
x x x
x x
2020 Oct 28
2
Reference to cite stats package
Hi,
I?m using the R package stats for some analysis, I would like to know if
there is any special reference paper to cite this package or just the R
paper itself.
Thank you very much for your answer,
Iriel Joerin
[[alternative HTML version deleted]]
2012 Dec 04
3
reformatting some data
Hello,
I am trying to reformat some data so that it is organized by group in the
columns. The data currently looks like this:
group X3.Hydroxybutyrate X3.Hydroxyisovalerate ADP
347 4 4e-04 3e-04 5e-04
353 3 5e-04 3e-04 6e-04
359 4 4e-04 3e-04
2012 Sep 28
3
Better way of Grouping?
Hello R users,
This is more of a convenience question that I hope others might find useful
if there is a better answer. I work with large datasets that requires
multiple parsing stages for different analysis. For example, compare group
3 vs. group 4. A more complicated comparison would be time B in group 3 of
group L with B in group 4 of group L. I normally subset each group with
the
2015 May 13
4
example fails during R CMD CHECK but works interactively?
Thank you Dan but it isn't my tests that are failing (all of them pass
without problem) but one of the examples from the inst/examples directory.
I did try, however, to start R with the environmental variables as you
suggest but it had no effect on my tests.
Charles
On Wed, May 13, 2015 at 1:51 PM, Dan Tenenbaum <dtenenba at fredhutch.org>
wrote:
>
>
> ----- Original Message
2013 Oct 02
5
Interpreting the result of a Wilcoxon (Mann-Whitney U) test
Hello everyone,
I'm having some trouble interpreting the results of a Wilcoxon
(Mann-Whitney U) test. Hope you can help.
This is the R script that I am running:
a <- c(1, 1, 1, 1, 1, 1, 1, 1, 3, 1, 1, 1, 2, 1, 5, 1, 1, 1, 3, 1, 1,
1, 1, 1, 1, 3, 1, 1)
b <- c(1, 2, 1, 1, 2, 3, 2, 2, 1, 2, 1, 1, 1, 2)
wilcox.test(a, b, alternative="t", mu=0, exact=FALSE, paired=FALSE) #1st
2013 Mar 07
2
Multivariate Power Test?
Generic question... I am familiar with generic power calculations in R,
however a lot of the data I primarily work with is multivariate. Is there
any package/function that you would recommend to conduct such power
analysis? Any recommendations would be appreciated.
Thank you for your time,
Charles
[[alternative HTML version deleted]]
2012 Oct 17
2
cut2 error
To R users,
I am trying to use cut2 function from the 'Hmisc' library. However, when I
try and run the function on the following variable, I get an error message
(displayed below). I suspect it is because of the NA but I have no idea
how to address the error. Many thanks to any insights.
structure(list(var1 = c(97, 97, 98, 98, 97, 99, 97,
98, 99, 98, 99, 98, 98, 97, 97, 98, 99, 98,
2008 Oct 23
1
Automating citations in Sweave
Dear all,
Is there an elegant way to add citations of packages when using Sweave?
Ideally I'd like a function which creates a Bibtex-file with the
packagenames as keys. The idea is to use \cite{packagename} or \cite{R}
in LaTeX.
I know you can get the Bibtex entry with
toBibtex(citation("packagename")). But after updating R or a package one
needs to update the bib-file too. When
2016 May 12
1
Single-threaded aspect
Charles,
1. Perhaps this question is better directed at the R-help or
R-pacakge-devel mailinglist.
2. It basically means that R itself can only evaluate one R expression at
the time.
The parallel package circumvents this by starting multiple R-sessions and
dividing workload.
Compiled code called by R (such as C++ code through RCpp or C-code through
base R's interface) can execute
2013 Apr 14
2
[LLVMdev] Citing LLVM
Dear LLVM devs,
If one were to (academically) cite the LLVM project in the general
sense, what would be the recommended reference - ie. one that gives a
recent and complete overview of the system?
Thanks!
Vesa
2013 Jan 07
3
renumber a list of numbers
Greetings R users,
I am trying to renumber my groups within the file shown below. The groups
are currently set as 8,9,10,etc. I would like to renumber this as
1,2,3,etc. I have searched the help files and only come across using the
rownames to renumber the values but I need to match values. Any assistance
is always appreciated,
Regards,
Charles
structure(list(Group = structure(c(1L, 1L, 1L,
2008 Nov 11
1
Citing R in journal articles (or the failure to)
Hi all
I was reading a paper recently in which I was surprised to see an R package of mine obviously used, without acknowledgement. Indeed, R itself was used without any acknowledgment. So I contact the author about these issues, who said (in part):
Regarding the R packages, I used the "tweedie" and "statmod" for my
analyses as you pointed out.
The referee of this paper
2012 Apr 20
1
Numbers not numeric?
Greetings R users,
I have a curious problem. I read in a csv file (subset shown below) as
normal
data=read.table("C:/Users/Chaz/Desktop/test.csv",sep=",",header=TRUE,
na.strings=".")
However, the numbers from the dataset are not registered as numeric:
is.numeric(data$Mesh)
[1] FALSE
When I try as.numeric, it converts all the values to different integers.
This
2012 Oct 24
2
Kaplan Meier Post Hoc?
This is more of a general question without data. After doing 'survdiff',
from the 'survival' package, on strata including four groups (so 4 curves
on a Kaplan Meier curve) you get a chi squared p-value whether to reject
the null hypothesis or not. Is there a method to followup with pairwise
testing on the respective groups? I have searched the library but have
come up with
2009 May 08
1
Citing R/Packages Question
I used R and the quantreg package in a manuscript that is currently in
the proofs stage. I cited both R and quantreg as suggested by
citation() and noted the version of R and quantreg that I used in the
main text as
"All tests were computed with the R v2.9.0 statistical programming
language (R Development Core 2008). Quantile regressions were conducted
with the quantreg v4.27 package
2004 Feb 09
3
citing a package?
How do I cite a package (not R itself - I know how to do that)? Any
thoughts or links?
Many thanks in advance?
Hank Stevens
Dr. Martin Henry H. Stevens, Assistant Professor
338 Pearson Hall
Botany Department
Miami University
Oxford, OH 45056
Office: (513) 529-4206
Lab: (513) 529-4262
FAX: (513) 529-4243
http://www.cas.muohio.edu/botany/bot/henry.html
http://www.muohio.edu/ecology/