基礎外部スクリプトの読み込みRコンソールに一行ずつコマンドを入力してもいいけど、実際に使うにはテキストファイルにコマンドを書いて(ソースコード)一気に実行させる方が楽。 source('hogehoge.R') hogehoge.Rというのがソースコードを書いたファイル(ソースファイル)の名前。 ライブラリの追加CRANという、CPANのパクリがある。膨大な数のライブラリがあるので、好きなものをインストールするには、 install.packages('hoge',dependencies=TRUE) とするのが楽。 変数宣言不要。変数に使える文字も結構多い。日本語でもOK。 > あ<-1 > あ [1] 1 代入a<-1 b=2 1->a どれでもいい。但し推奨されてるのは一番上。Rの人は「束縛」という言葉を使いたがる傾向があるけど、どっちでもいいと思う。 余談だけど、関数の引数の中で代
XKCD and the xkcd package XKCD is a webcomic of romance, sarcasm, math, and language created by Randall Munroe. This package tries to give a satisfactory answer to the question How can we make xkcd style graphs in R?. The xkcd package provides a set of functions for plotting data in a XKCD style using ggplot2. Some examples of Scatterplots and Bar Charts: Scatterplots Bar charts Maps Miscellany Th
Details The format and as.character methods and strftime convert objects from the classes "POSIXlt" and "POSIXct" to character vectors. strptime converts character vectors to class "POSIXlt": its input x is first converted by as.character. Each input string is processed as far as necessary for the format specified: any trailing characters are ignored. strftime is a wrapper for format.POSIXlt, and
recommenderlab: Lab for Developing and Testing Recommender Algorithms Provides a research infrastructure to develop and evaluate collaborative filtering recommender algorithms. This includes a sparse representation for user-item matrices, many popular algorithms, top-N recommendations, and cross-validation. Hahsler (2022) <doi:10.48550/arXiv.2205.12371>.
Focus for books on R tend to be highly focused on either statisticians or programmers. There is a dearth of material to assist those in typically less quantitative field access the powerful tools in the R ecosystem. Enter Text Analysis with R for Students of Literature. I haven’t done a deep read of the book, but the goal of opening up R to the Literature community is a laudable one. Plus the word
First, you have to build R to run on the Heroku platform. This gets a little tricky because the version of gccthat's available on the platform doesn't include gfortran, and none of the needed libraries are available. The full steps to build from source are in bin/installR.sh. After installing and setting up your Heroku account: mkdir myproject && cd myproject mkdir bin # Need to make Heroku think
roxygen2: In-Line Documentation for R Generate your Rd documentation, 'NAMESPACE' file, and collation field using specially formatted comments. Writing documentation in-line with code makes it easier to keep your documentation up-to-date as your requirements change. 'roxygen2' is inspired by the 'Doxygen' system for C++.
Short courses Effective visualisation. September 2012. Applied Statistics 2012, Rigno, Slovenia. Data science in R. July 2012. OSCON, Portland, OR. R development master class. June 2012. Bay Area/New York City. Big data summer institute @ Rice University, Houston, TX. June 2012. Package development @ CSIRO, Canberra. October 2011. Data visualisation in R with ggplot2 and plyr @ Rice University. Se
2. 実は • Tokyo.R#05ですでにアソシエーション分析は取り上げられて いる! • http://www.slideshare.net/hamadakoichi/r-r-4219052 3. アソシエーション分析とは? • POSデータやECサイトの取引データから一緒に買われやす い商品の組み合わせを探す探索的データ分析の手法。 • 商品同士の組み合わせだけでなく、顧客の属性や購買時間帯などとの 組み合わせも分析可能。 • 「おむつとビール」の事例で有名。 • 「商品Aを買うと商品Bも買う確率が高い」というようなルール を見つけ出すための手法。 • もちろん、そこにそのようなルールがなければ何も出てこない。 4. アソシエーション分析とは? • いわゆるデータマイニングの代表的な手法の一つで、単に 「データマイニング」と言って、アソシエーション分析を指してい るケースも散見される
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く