Hi Ana,
This is a very common question about ggplot.
A quick search turns up lots of hits that answer your question. Here
are a couple
https://community.rstudio.com/t/trouble-scaling-y-axis-to-percentages-from-counts/42999
https://stackoverflow.com/questions/3695497/show-instead-of-counts-in-charts
Hi Ana,
Just noticed a typo from a hasty cut-paste. Two lines should read:
casehist<-table(cut(aafd$HBAIC[aafd$pheno=="case"],breaks=0:15))
controlhist<-table(cut(aafd$HBAIC[aafd$pheno=="control"],breaks=0:15))
Jim
On Fri, May 22, 2020 at 2:08 PM Jim Lemon wrote:
>
> Hi Ana,
> My apologies for
Hi Ana,
My apologies for the pedestrian graphics, but it may help.
# a bit of fake data
aafd<-data.frame(FID=paste0("fam",1000:2739),
IID=paste0("G",1000,2739),FLASER=rep(1,1740),
PLASER=c(rep(1,892),rep(2,848)),
DIABDUR=sample(10:50,1740,TRUE),
HBAIC=rnorm(1740,mean=7.45,sd=2),ESRD=rep(1,1740
R does not exactly "open R files" the way you phrased it... on most platforms
you use a text editor for that. R App is a bit of a special case... ergo, you
should probably be asking on the specialized list.
On May 21, 2020 3:47:18 PM PDT, John Helly wrote:
>MacOSX R App. Am I missing something
Ok. Thanks. I will do that. Sorry for the confusion.
J.
On 5/21/20 15:53, Jeff Newmiller wrote:
> R does not exactly "open R files" the way you phrased it... on most platforms
> you use a text editor for that. R App is a bit of a special case... ergo, you
> should probably be asking on the spec
the result would basically look something like this on in attach or
the overlay of those two plots
On Thu, May 21, 2020 at 5:23 PM Ana Marija wrote:
>
> Hello,
>
> I have a data frame like this:
> > head(a)
> FID IID FLASER PLASER DIABDUR HBA1C ESRD pheno
> 1 fam1000-03 G1000 1
MacOSX R App. Am I missing something about using that GUI?
J.
On 5/21/20 15:43, Jeff Newmiller wrote:
> What do you mean by "open an existing R file"... did you try to load it with
> the source function or the MacOSX R App? If the latter you may be better off
> reading the archives of and/or a
What do you mean by "open an existing R file"... did you try to load it with
the source function or the MacOSX R App? If the latter you may be better off
reading the archives of and/or asking in R-sig-mac...
On May 21, 2020 3:35:13 PM PDT, John Helly via R-help
wrote:
>Aloha.
>
>Just installed
Aloha.
Just installed 'Arbor day' and what was an occasional problem is now
preventing me from loading even a script I was routinely running the day
before.
Anyone have any idea what might be wrong now? I just get a beachball
and Force Quit tells me R is not responding.
Thank you.
J.
--
John
Hello,
I have a data frame like this:
> head(a)
FID IID FLASER PLASER DIABDUR HBA1C ESRD pheno
1 fam1000-03 G1000 1 1 38 10.21 control
2 fam1001-03 G1001 1 1 15 7.31 control
3 fam1003-03 G1003 1 2 17 7.01case
4 fam1005-
More specifically, read the vignettes. Actually, always start with the package
vignettes if any are available.
On May 21, 2020 1:51:48 PM PDT, Ista Zahn wrote:
>Hi Ravi,
>
>Please read the ?future documentation, the answers to all your
>questions are explained there.
>
>Best,
>Ista
>
>On Thu, Ma
On 5/21/20 9:24 AM, YANJUN CHEN via R-help wrote:
Dear R community,
I am new to R—did some online tutorials and exercises in R playground. I was
wondering if I could seek guidance on the following matter.
I have a set of 403 .csv files. Each.csv file contains the same layouts and
distinguis
Hi Ravi,
Please read the ?future documentation, the answers to all your
questions are explained there.
Best,
Ista
On Thu, May 21, 2020 at 3:20 PM Ravi Jeyaraman wrote:
>
> Dear Friends,
>
>
>
> I'm trying to run a bunch of tasks in parallel using 'Future' package and
> for some reason, it's not
Do read the Posting Guide... you are on the wrong mailing list for this
question.
On May 20, 2020 6:46:01 PM PDT, Simon Michnowicz via R-help
wrote:
>Dear R Group,
>I can build a simple R/4.0.0 OK using gcc/8.1.0, but when I tried to
>link
>it with the Intel MKL, 'make check' produced this
Dear R community,
I am new to R—did some online tutorials and exercises in R playground. I was
wondering if I could seek guidance on the following matter.
I have a set of 403 .csv files. Each.csv file contains the same layouts and
distinguished by subject ID and date in the file name. The datas
Dear R Group,
I can build a simple R/4.0.0 OK using gcc/8.1.0, but when I tried to link
it with the Intel MKL, 'make check' produced this error
tail tests/reg-tests-1d.Rout.fail
> (m <- cbind(0, c(NA, 0), 0:-1))
[,1] [,2] [,3]
[1,]0 NA0
[2,]00 -1
> nTypes <- eval(form
Dear Friends,
I'm trying to run a bunch of tasks in parallel using 'Future' package and
for some reason, it's not able to find the data frames that I want it to
find. I've created the below sample program to show what I'm doing. Should
I be exporting the Global data to each child process? I
Another one just for fun:
prop.table(table(interaction(x)))
or possibly
prop.table(table(droplevels(interaction(x
Best,
Ista
On Thu, May 21, 2020 at 1:22 PM Jeff Reichman wrote:
>
> R-help forum
>
>
>
> Looking for a function or some guidance for obtaining the percentage of
> attribute c
One possible way
library(tidyr)
dat1 <- structure(list(V1 = c("A", "A", "A", "A", "A", "A", "A", "A",
"A", "A"), V2 = c("A", "B", "A", "A", "A", "B", "C", "C", "B",
"C"), V3 = c("B", "C", "D", "B", "B", "C", "B", "B", "C", "C"
)), class = "data.frame", row.names = c(NA, -10L))
dat2 <- unite(d
# assuming your data frame is named "x", you can get the counts of each combo:
table(do.call(paste0, x))
# and to get the proportions:
table(do.call(paste0, x))/nrow(x)
-Original Message-
From: R-help On Behalf Of Jeff Reichman
Sent: Thursday, May 21, 2020 10:22 AM
To: R-help@r-proje
R-help forum
Looking for a function or some guidance for obtaining the percentage of
attribute combinations, for example
V1 V2 V3
A A B
A B C
A A D
A A B
A
Dear All,
The statespacer package is now on CRAN (
https://cran.r-project.org/package=statespacer). This package provides
functionality for modelling and forecasting time series using state space
techniques. For more info, please see
https://dylanb95.github.io/statespacer/
Best,
Dylan Beijers
http://adv-r.had.co.nz/Reproducibility.html
http://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example
On Thu, 21 May 2020 at 09:16, PIKAL Petr wrote:
> Hallo
>
> I am not private consultant so please keep your messages on help list.
>
> From help page I understand
Hallo
I am not private consultant so please keep your messages on help list.
>From help page I understand that the function survtab_ag needs to have
>**specially prepared** data as input. We could only guess if your data are in
>correct format and most probably they are not.
Without knowing de
Hi
I am not an expert and cannot give you canned solution, but here are few
comments:
Without knowing data structure it is hard to decipher where is the problem.
So posting result of
str(yourata) or at least part of it hardly anybody could help.
Cuntry is typo?
The error could by result of typo
25 matches
Mail list logo