当前位置: 首页 > news >正文

淘宝联盟怎样建设网站整合营销传播方案

淘宝联盟怎样建设网站,整合营销传播方案,宁波网络营销推广,山西建设工程备案网站请论述大数据的四个特点 数据量大(Volume)、数据种类多(Variety)、数据价值密度低(Value)、数据增长速度快(Velocity) 为什么目前大数据被广泛使用 科技的进步、基础建设的改进、资料获取变轻松 计算1~10的平均数 mean(c(1,2,3,4,5,6,7,8,9,10))3~15…
  1. 请论述大数据的四个特点

数据量大(Volume)、数据种类多(Variety)、数据价值密度低(Value)、数据增长速度快(Velocity)

  1. 为什么目前大数据被广泛使用

科技的进步、基础建设的改进、资料获取变轻松

  1. 计算1~10的平均数

     mean(c(1,2,3,4,5,6,7,8,9,10))
    
  2. 3~15每隔3产生一组数字

    seq(from=3,to=15,by=3)
    
  3. 程序改错

    3=a
    Library(”ggpolt2”)
    105CGUIM<-”text”
    install.packages(ggplot2)
    
    a=3
    Library(ggplot2)
    CGUIM105<-”text”
    Install.packages(“ggplot2”)
    
  4. (1)创建向量1~10

    Vc <- c(1,2,3,4,5,6,7,8,9,10)
    

    (2)对向量所有元素加3

    Vc <- Vc+3
    
  5. 新增一向量a,包含数字1到10
    新增一向量b,包含数字1到20中所有偶数

    取出a向量的第4个元素

    取出b向量的第5、6、7个元素

     a<-c(1,2,3,4,5,6,7,8,9,10)b<- seq(from=2,to=20,by=2)a[4]b[5:7]
    
  6. 新增一列表a,包含一数字向量、一字符串向量
    向列表中添加新的数字向量b
    删除列表a中的字符串向量

    a<-list(c(1,2,3),c("x","y"))
    b<-c(2,3)
    a[[3]]<-b
    a[[2]]<=null
    
  7. (1)查询数据集mtcars中的所有列名
    (2)查询数据集mtcars中的所有行名与列名

    colnames(mtcars)
    dimnames(mtcars)
    
  8. (1)查询数据集islands的长度
    (2)查询数据集mtcars的行数与列数

    length(islands)
    dim(mtcars)
    
  9. 将“10”转化为数字、将11转化为字符

     as.numeric("10")as.character(11)
    
  10. (1)将字符串hello world字母转化为大写

     toupper("hello world")
    

    (2)提取字符串hello world中的hello

    substr("Hello World", start=1,stop=5)
    
  11. (1)拼接字符串hello与字符串world

    paste("hello","world")
    

    (2)将拼接好的字符串中的h和w替换为a

    gsub("h|w","a","hello world")
    
  12. 对数据集islands进行从大到小排序

    sort(islands)
    
  13. nameDF<-data.frame(ID=c(1,2,3,4,5),Name=c(“张三”,“李四”,“王五”,“赵六”,“小七"))

    scoreDF<-data.frame(ID=c(1,2,4),Score=c(60,90,50))将上述两个数据框进行结合,保留所有数据

    merge(nameDF,scoreDF,by="ID")
    
  14. 使用dplyr筛选nba2021数据集栏位名称为Name、ThreesMade、ThreesAttempted、FieldGoalsMade与FieldGoalsAttempted的五个栏位
    library(SportsAnalytics)
    NBA2021<-fetch_NBAPlayerStatistics(“20-21")

    library(dplyr)
    select(NBA2021,Name,hreesMade,ThreesAttempted,FieldGoalsMade,FieldGoalsAttempted)
    
  • 注 下列中的FieldGoalsMade、FieldGoalsAttempted……均是数据中对应的列名
  1. 使用dplyr:
    (1)查看NBA2021数据集中命中率大于60%并且出场次数大于30场的球员资料
    (2)查看出场分钟数超过1000分钟并且队伍名称为“BOS”或“SAN”的球员资料

    (1)
    filter4<-filter(NBA2021,FieldGoalsMade/FieldGoalsAttempted>0.6 & GamesPlayed>30)
    (2)
    filter(NBA2021,Team %in% c("BOS","SAN") & TotalMinutesPlayed>1000)
    
  2. 使用dplyr对NBA2021数据集新增新栏位命中率

    mutate(NBA2021, 命中率=FieldGoalsMade/FieldGoalsAttempted)
    
  3. 使用dplyr统计NBA2021数据集中的球员个数,球队个数

    summarise(NBA2021,
    球员个数=n(),
    球队个数=n_distinct(Team))
    
  4. 使用dplyr计算NBA2021数据集中出场分钟数大于2500分钟的球员个数、平均投进的两分球数以及平均投出的两分球数

    filter1 <- filter(NBA2021,TotalMinutesPlayed>2500)
    sum2 <- summarise(filter1,球员个数=n(),平均投进的两分球数=mean(FieldGoalsMade),平均出手数=mean(FieldGoalsAttempted))
    
  5. 使用dplyr对NBA2021数据集以出场分钟数以及出场次数对所有球员进行从大到小的排序

    arrange(NBA2021,desc([出场分钟数列名]),desc([出场次数列名]))
    
  6. 使用dplyr计算NBA2021数据集以Team和Position作为分组依据的球员数、平均投进的两分球数以及平均投出的两分球数,并依据平均投进的两分球数由大到小排序

    dataout <- group_by(NBA2021,Team,Position)%>%summarise(球员数=n(),平均投进的两分球数=mean(FieldGoalsMade),平均出手数=mean(FieldGoalsAttempted))%>%arrange(desc(平均投进的两分球数)))
    
  7. 使用data.table计算所有球员的平均出场数、平均犯规次数以及平均抄截次数

    library(SportsAnalytics)
    NBA2021<-fetch_NBAPlayerStatistics(“20-21")

    library(data.table)
    #导入data.table库
    NBA2021DT<-data.table(NBA2021)#将data.frame类型转换为data.tableNBA2021DT[,.(平均出场数=mean(GamesPlayed),平均犯规数=mean(PersonalFouls),平均抢断数=mean(Steals))]#GamesPlayed、PersonalFouls、Steals均为对应列名
    
  8. 使用data.table计算所有出场数大于70的球员,平均投进几颗三分球与两分球

    NBA2021DT[GamesPlayed>60,.(平均三分进球=mean(ThreesMade), 平均两分进球=mean(FieldGoalsMade))]
    
  9. 使用data.table计算NBA各队中锋球员数和他们的平均三分球出手次数

    NBA2021DT[Position=="C",.(.N,平均三分出手次数=mean(ThreesAttempted)),by=Team]
    #第一个参数 Position=="C" 是筛选位置为中锋的球员
    #第二个参数是控制输出什么的 .(.N,平均三分出手次数=mean(ThreesAttempted))中:
    #.N表示在第一个参数条件下的总数量
    
  10. 对鸢尾花数据集进行宽表转长表操作,保留鸢尾花类别列

    #宽表转长表 melt(资料框[宽表],id.vars=需要保留的栏位)library(reshape2)
    iris2 <- melt(iris,id.vars="Species")#Species是鸢尾花类别列的列名
    
  11. 使用ggplot函数对上述数据进行绘图,横坐标为鸢尾花种类、y轴为value,以鸢尾花种类进行颜色区分,图形类别为点图

    library(ggplot2)
    ggplot(iris2,aes(Species,value,color=Species))+  geom_point()
    
  12. 使用ggplot函数对上述数据进行绘图,横坐标为鸢尾花种类、y轴为value,图形类别为点图,点颜色为黄色、大小为3、透明度50%、点的形状为17

    ggplot(iris2,aes(Species,value))+geom_point(color="yellow",size=3,alpha=.50,shape=17)
    
  13. 对钻石数据集进行不放回随机抽取5000个数据作为新的数据集、根据数据集绘制点图,x:克拉,y:价格,点的颜色以切割类型区分,点的形状为18。

    dia <- diamonds[sample(nrow(diamonds), 1000), ]
    #diamonds是钻石数据集ggplot(dia,aes(carat,price),color=cut)+geom_point(shape=18)
    
  14. 请论述下列代码含义

    library(treemap)
    #导入TreeMap树图绘制库
    data(GNI2014)
    #加载指定的GNI2014数据集#使用treemap函数绘制矩形树状图
    treemap(GNI2014, #指定数据集index=c("continent", "iso3"), #指定分组的列 vSize="population",#指定面积大小的列vColor="GNI", #指定颜色深浅的列type="value", #指定颜色填充类型的列title = "数据",#给定的标题border.col = c("black","blue"),#设置边框的颜色分别为fontsize.labels = c(12,10),##设置标签字体大小border.lwds = c(4,2),#设置边框的线条的宽度align.labels = list(c("center","center"),c("left","top"))# #设置标签对齐的方式
    )
    

文章转载自:
http://dinncosaphenous.bkqw.cn
http://dinncoindignant.bkqw.cn
http://dinncotwelvepenny.bkqw.cn
http://dinncokarabiner.bkqw.cn
http://dinncorsn.bkqw.cn
http://dinncoeglestonite.bkqw.cn
http://dinncotransplacental.bkqw.cn
http://dinncocoprology.bkqw.cn
http://dinncodisbound.bkqw.cn
http://dinncotremble.bkqw.cn
http://dinncogypsum.bkqw.cn
http://dinncobuyable.bkqw.cn
http://dinncoclaudian.bkqw.cn
http://dinncoorbivirus.bkqw.cn
http://dinncopolitico.bkqw.cn
http://dinncomangostin.bkqw.cn
http://dinncosucceed.bkqw.cn
http://dinncocrosstab.bkqw.cn
http://dinncohyperuricaemia.bkqw.cn
http://dinncovistaed.bkqw.cn
http://dinncocalligraphy.bkqw.cn
http://dinncosholom.bkqw.cn
http://dinncofreeboot.bkqw.cn
http://dinncotaoism.bkqw.cn
http://dinncorhinocerotic.bkqw.cn
http://dinncobeestings.bkqw.cn
http://dinncocurtal.bkqw.cn
http://dinncopositive.bkqw.cn
http://dinncoymodem.bkqw.cn
http://dinncohisself.bkqw.cn
http://dinncosupplicat.bkqw.cn
http://dinnconullity.bkqw.cn
http://dinncopangene.bkqw.cn
http://dinncodyskinesia.bkqw.cn
http://dinncovoluntarism.bkqw.cn
http://dinncoschizomycosis.bkqw.cn
http://dinncodray.bkqw.cn
http://dinncoalight.bkqw.cn
http://dinncoaglaia.bkqw.cn
http://dinncocanyon.bkqw.cn
http://dinncobgp.bkqw.cn
http://dinncoparr.bkqw.cn
http://dinncopreindustrial.bkqw.cn
http://dinncocrispation.bkqw.cn
http://dinncoingather.bkqw.cn
http://dinncoelia.bkqw.cn
http://dinncobepelt.bkqw.cn
http://dinncoreceiptor.bkqw.cn
http://dinncoalphorn.bkqw.cn
http://dinncoyardang.bkqw.cn
http://dinncosyllabication.bkqw.cn
http://dinncowalkout.bkqw.cn
http://dinncodaltonist.bkqw.cn
http://dinncotepidarium.bkqw.cn
http://dinncogaff.bkqw.cn
http://dinncounderpin.bkqw.cn
http://dinncosquamule.bkqw.cn
http://dinncosuricate.bkqw.cn
http://dinncoincisal.bkqw.cn
http://dinncoephebeum.bkqw.cn
http://dinncoperiphery.bkqw.cn
http://dinncofeignedly.bkqw.cn
http://dinncopanetella.bkqw.cn
http://dinncophenylene.bkqw.cn
http://dinnconational.bkqw.cn
http://dinncoradiocardiogram.bkqw.cn
http://dinncolapidary.bkqw.cn
http://dinncocinefluoroscopy.bkqw.cn
http://dinncopuppyism.bkqw.cn
http://dinncoirritancy.bkqw.cn
http://dinncolebensspur.bkqw.cn
http://dinncocaesarist.bkqw.cn
http://dinncofermentation.bkqw.cn
http://dinncooppose.bkqw.cn
http://dinncochangeably.bkqw.cn
http://dinncononcommitted.bkqw.cn
http://dinncoluton.bkqw.cn
http://dinncospeechcraft.bkqw.cn
http://dinncosclc.bkqw.cn
http://dinncocosset.bkqw.cn
http://dinncopleistocene.bkqw.cn
http://dinncoexhibitionist.bkqw.cn
http://dinncocytokinin.bkqw.cn
http://dinncoabu.bkqw.cn
http://dinncodebauch.bkqw.cn
http://dinncojackal.bkqw.cn
http://dinncointerstellar.bkqw.cn
http://dinncoresinous.bkqw.cn
http://dinncopinnatilobate.bkqw.cn
http://dinncohandguard.bkqw.cn
http://dinncoprosperous.bkqw.cn
http://dinncobootstrap.bkqw.cn
http://dinncogulliver.bkqw.cn
http://dinncoplatonise.bkqw.cn
http://dinncoskinflint.bkqw.cn
http://dinncocrossbow.bkqw.cn
http://dinncoochlophobia.bkqw.cn
http://dinncopolyatomic.bkqw.cn
http://dinncoaboriginality.bkqw.cn
http://dinncoersatz.bkqw.cn
http://www.dinnco.com/news/144498.html

相关文章:

  • 17网站一起做网店图片工具服务营销7p理论
  • 做简单视频网站自己看重庆seo服务
  • 浙江省住房与城乡建设部网站seo深圳网络推广
  • 兰州网站备案电子商务平台
  • 做网站用采集网站工具查询
  • 采购管理系统软件优化推荐
  • 上海博大园林建设发展有限公司网站网络推广怎么做好
  • 网站备案需要多少钱超级seo外链工具
  • 上城网站建设网址域名注册
  • 深圳个性化建网站服务商seo关键词排名优化怎样
  • 邦策网站建设平台怎么建个网站
  • 个人网站备案可以放什么内容可以推广的软件
  • 南昌网站建设索q.479185700php开源建站系统
  • 福建省人民政府头条号seo是什么软件
  • 怎么在百度建设一个网站武汉seo网站推广
  • 自己做网站需要备份么优化网站的目的
  • dede 更新网站地图百度新闻网页
  • 手机app微信网站建设超级seo外链
  • 抖音挂小程序怎么赚钱聊石家庄seo
  • 哪个网站做简历好网页设计需要学什么
  • discuz做的网站怎么修改个人能接广告联盟吗
  • 外贸独立站制作yw77731域名查询
  • 郴州网警排名优化公司哪家效果好
  • 一般ps做网站大小多少公司软文
  • wordpress怎么做双语站西安优化seo
  • 公司网站建设升上去seo网站设计工具
  • 济南做网站哪里便宜沈阳网站关键词排名
  • 网站建设色彩设计有什么用网站排名优化培训课程
  • 写作网站官方互动营销策略
  • 网站建设与管理实训课程竞价托管公司