Giter Club home page Giter Club logo

forluziqiao's People

Stargazers

 avatar

Watchers

SeaSideSeer avatar

forluziqiao's Issues

统计词频的问题QAQ

今天想用R统计一个txt文本中的词频,安装了dplyr和jiebaR然后文本也顺利读取了
image

data=read.table("作者.txt",header=F,sep="\t")
data
这个是截图:image
然后就
wordfreqs<-jiebaR::freq(data)#好像是这么用的啊怎么就报错了
Error in jiebaR::freq(data) : Please give me a character vector.
救救孩子呜呜呜

Answer20230912

Q1:
qplot和ggplot是什么关系,谁是谁的名字?
qplot是ggplot里面的一个函数。
Q2:
这是在统出现的频率吗,1个1,3个2,2个3。
是的,可以了解一下柱形图。

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.