Displaying 20 results from an estimated 2000 matches similar to: "using table and tapply? solved"
2010 Jun 21
1
using table and tapply?
Dear R People:
Here is a little section of a data frame:
> zzz[1:10,]
DATE GENDER AGE Co DEATH1
3945 2009-04-16 M 24 Botulinic 23
3851 2009-04-16 M 35 Constitutional 23
8495 2009-04-16 F 49 Constitutional 27
10967 2009-04-16 F 47 Constitutional 28
11164 2009-04-16 F 26 Constitutional 28
15220
2010 Jun 22
2
constructing a data frame from ftable
Dear R People:
I have the following data set with the columns DATE, GENDER, and Co.
Co has 8 possible options.
> a.df[1:10,]
DATE GENDER Co
1 2009-04-16 F Rash
2 2009-04-16 F Other
3 2009-04-16 M Botulinic
4 2009-04-16 M Other
5 2009-04-16 M Constitutional
6 2009-04-16 F Other
7 2009-04-16
2010 Jun 21
2
difference in dates
Dear R People:
I have a data frame with the two following date columns:
> a.df[1:10,c(1,6)]
DATE DEATH
1207 2009-04-16 2009-05-06
1514 2009-04-16 2009-05-06
2548 2009-04-16 2009-05-08
3430 2009-04-16 2009-05-09
3851 2009-04-16 2009-05-09
3945 2009-04-16 2009-05-09
7274 2009-04-16 2009-05-12
7532 2009-04-16 2009-05-12
7651 2009-04-16 2009-05-12
8495 2009-04-16 2009-05-13
>
2006 Jul 04
1
using weights in lrm
Dear all,
just a quick question regarding weights in logistic regression. I do
results <- lrm(y.js ~
h.hhsize
+ h.death1
+ h.ill1
+ h.ljob1
+ h.fin1
+ h.div1
+ h.fail1
+ h.sex
+ h.ch.1
2009 Mar 10
2
simple question beginner
Hi there,
I am beginner in R and I have some basic question. Suppose I run a common procedure such as a t test or cox model like below:
out<-coxph( Surv(tstart,tstop, death1) ~ x1+x1:log(tstop+1) , test1,method=c("breslow"))
Which yields the following result:
Call:
coxph(formula = Surv(tstart, tstop, death1) ~ x1 + x1:log(tstop +
1), data = test1, method =
2009 Sep 21
2
cox memory
Hi there,
I have a rather large data set and perform the following cox model:
test1 <- list(tstart,tstop,death1,chemo1,radio1,horm1)
out1<-coxph( Surv(tstart,tstop, death1) ~ chemo1+chemo1:log(tstop+1)+horm1+horm1:log(tstop+1)+age1+grade1+grade1:log(tstop+1)+positive1+positive1:log(tstop+1)+size1+size1:log(tstop+1), test1)
out1
Up to here everything works fine (with each covariate
2009 Jan 26
1
Sweave'ing Danish characters
Hi,
I am writing an Sweave document and am using 'xtable' to make frequency tables of diagnoses of people undergoing cholecystectomy. Some of these diagnoses contain Danish characters ("?", "?", and "?"), and these characters are all garbled in the Latex document after I run Sweave. The odd thing is, everything looks absolutely right in the R console, and if
2019 Mar 01
0
Problem with compiling OpenBLAS to work with R
Yay! I re-installed everything and got through "Make distribution"!
I have one more question, please: I am running the make check-all. I have
an error at reg-1d. It stops the process. However, the mean difference
(as per the file) is 2.0e-12. I'm ok with that. How do I bypass this,
please?
Thanks,
Erin
Erin Hodgess, PhD
mailto: erinm.hodgess at gmail.com
On Wed, Feb 27,
2013 Jan 09
1
R2html and Blackboard LMS : solved
Everything is ok on Firefox, IE, and iPad.
Thanks,
Erin
On Tue, Jan 8, 2013 at 7:58 PM, Erin Hodgess <erinm.hodgess at gmail.com> wrote:
> Dear R People:
>
> Has anyone used R2HTML in web files that were on the Blackboard LMS, please?
>
> I'm starting to do these but wanted to know if there were any
> potential pitfalls.
>
> Thanks,
> Erin
>
>
> --
2019 Feb 28
0
Problem with compiling OpenBLAS to work with R
This person has had apparent success - you could follow what they did or
just download their product (with appropriate caution downloading a random
.exe).
https://github.com/thequackdaddy/R-OpenBLAS
On Thu, Feb 28, 2019 at 6:28 AM Erin Hodgess <erinm.hodgess at gmail.com>
wrote:
> Hello!
>
> I'm not sure if this is the right place to post this, so apologies
> in advance if
2011 Jul 06
2
wgcna
Hi,
I'm running a tutorial ("Meta-analyses of data from two (or more) microarray data sets"), which use wgcna package. I have an error in the function modulePreservation (it is below).
I'm using R2.13
Can you help me? Do you know, what is happens?
Thanks
Raquel
multiExpr = list(A = list(data=t(badea)),B = list(data=t(mayo)))
# two independent datasets (dim = 13447 x 36)
mp =
2017 Nov 07
0
Fwd: FW: Time Series
[Please send replies to r-help, not individual responders]
Emre,
In R, when you call a function defined via something like
f <- function( foo, bar )
then you can call it as, for, example
a <- f(x,y)
or
a <- f(foo=x, bar=y)
or even
a <- f( bar=y, foo=x) # notice I switched the order!
The first approach requires you to pass the arguments in the same order as
the function is
2017 Aug 17
1
really dumb question with building/creating a new package.
Thank you!
On Thu, Aug 17, 2017 at 4:55 PM, Bert Gunter <bgunter.4567 at gmail.com> wrote:
> r-package-devel is probably a better place to post this, especially if
> you do not get a satisfactory reply here. This list is about R
> programming, as you presumably know; your query is not.
>
> Cheers,
> Bert
>
>
> Bert Gunter
>
> "The trouble with having
2019 Mar 04
1
Problem with compiling OpenBLAS to work with R
>>>>> Erin Hodgess
>>>>> on Fri, 1 Mar 2019 12:30:35 -0700 writes:
> Yay! I re-installed everything and got through "Make
> distribution"! I have one more question, please: I am
> running the make check-all. I have an error at reg-1d.
> It stops the process. However, the mean difference (as
> per the file) is
2024 Aug 12
1
Determining the Correct Help List
As lattice is a core R package, I'd say right here, R-Help.
-- Bert
On Mon, Aug 12, 2024 at 1:07?PM Erin Hodgess <erinm.hodgess at gmail.com> wrote:
>
> Hello everyone:
>
> I have a few questions about using rgl, lattice, and latticeExtra.
>
> I was searching for the correct list to post these to.
>
> I saw r-sig-gR, but that seems to be more directed to
2010 Jan 13
1
plotting moving range control chart
I have been having the same problem as poster Hodgess, below. It appears
that her question was never answered, so I would like to share a solution
with the community.
The problem is the (apparent?) inability to produce moving range process
behavior (a.k.a. "control") charts with individuals data in the package
"qcc" (v. 2.0). I have also struggled with the same limitation in
2017 Aug 17
0
really dumb question with building/creating a new package.
r-package-devel is probably a better place to post this, especially if
you do not get a satisfactory reply here. This list is about R
programming, as you presumably know; your query is not.
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
2017 Dec 16
0
Generating help files for a function
Hi,
If you are using roxygen-style function documentation then why not use devtools::document()?
Ben
> On Dec 16, 2017, at 9:00 AM, Erin Hodgess <erinm.hodgess at gmail.com> wrote:
>
> Hello everyone!
>
> I'm in the process of writing a package, and I'm using the lovely "R
> Package" book as a guideline.
>
> However, in the midst of my
2019 Feb 28
3
Problem with compiling OpenBLAS to work with R
I believe that repo just follows the directions on my blog. Without seeing
Dr. Hodges?s code, my initial concern is the many references to Cygwin. My
method specifically does not use Cygwin but MSYS2 and Mingw64/Rtools35.
That will likely change to solely Rtools40 once R3.6 is released due to the
Msys system being built in to it.
There may be some library conflicts between Cygwin and
2019 Feb 27
2
Problem with compiling OpenBLAS to work with R
Hello!
I'm not sure if this is the right place to post this, so apologies
in advance if I'm not in the right list.
I downloaded the OpenBLAS and am following Avraham Adler's great
instructions. However, when I run make, things go well to a certain point,
and then go bad:
make
[snip]
touch cygopenblas_haswellp-r0.3.5.a
make -j 1 -C test all
make[1]: Entering directory