由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Statistics版 - histogram in R
相关主题
怎样用R除掉DUPLICATED RECORD推荐R cookbook
被这个题搞死了,学统计的高手进来帮助一下关于SAS,SPSS,R,Python
want ggplot2 draft books各位大侠帮帮忙,R问题求助
问一个R画图的问题R一问
What is the equivalent of par(mfrow=c()) function in ggplot2?怎样用R定位变量的位置
What is the equivalent of par(mfrow=c()) function in ggplot2?一个令人不解的R问题
如何画出这样的heatmap这个R LOOP错在那里了
[R]ggplot2能换底色吗?如何找出没有duplicate的数字[done]
相关话题的讨论汇总
话题: histogram话题: patient话题: related话题: using
进入Statistics版参与讨论
1 (共1页)
l*****k
发帖数: 587
1
newbie question:
I read in a dataframe using R
some characteristics are related to sample
some characteristics are related patient, since patients have multiple
samples taken, patient_ID column has duplicates.
I wonder if there is an easy way to plot certain characteristics by
patient_ids, using histogram...
l*****k
发帖数: 587
2
got an answer.
library(ggplot2) [if not installed, install.packages("ggplot2")]
# subset and remove NA values
result <- remove_missing(unique(df[,c("patient_id","clinical name")]))

【在 l*****k 的大作中提到】
: newbie question:
: I read in a dataframe using R
: some characteristics are related to sample
: some characteristics are related patient, since patients have multiple
: samples taken, patient_ID column has duplicates.
: I wonder if there is an easy way to plot certain characteristics by
: patient_ids, using histogram...

1 (共1页)
进入Statistics版参与讨论
相关主题
如何找出没有duplicate的数字[done]What is the equivalent of par(mfrow=c()) function in ggplot2?
如何用DATAFRAME里的数字作为参数去产生随即数做SIMULATIONWhat is the equivalent of par(mfrow=c()) function in ggplot2?
怎样在R LOOP里生成名字不同的DATAFRAME如何画出这样的heatmap
如何给一个matrix的rownames起个名字name?R问题求教![R]ggplot2能换底色吗?
怎样用R除掉DUPLICATED RECORD推荐R cookbook
被这个题搞死了,学统计的高手进来帮助一下关于SAS,SPSS,R,Python
want ggplot2 draft books各位大侠帮帮忙,R问题求助
问一个R画图的问题R一问
相关话题的讨论汇总
话题: histogram话题: patient话题: related话题: using