[crawler notes] R language simple dynamic web crawler (rvest package) example

1. Reptile target It is generally believed that Python crawlers are powerful, but Python has some difficulties in solving dynamic loading or landing websites. Compared with some ordinary crawlers, using R language will be more convenient. with https://www.thepaper.cn/ For example, the httr package commonly used in dynamic web pages is mainly ...

Posted by michealholding on Tue, 08 Feb 2022 16:32:55 +0100

Topic 1. Meta for meta analysis in SCI articles

It's interesting to do meta analysis recently. Once you master these skills, you don't have to worry about publishing articles in the future. Meta analysis is also one of the very important methods in medicine. This issue analyzes several classic graphics based on existing data, including forest, vulnerability, radial, labe And Q-Q normal. 01 ...

Posted by s_r_elliott on Tue, 08 Feb 2022 14:14:43 +0100

Visualization of London spatial data

Spatial object data visualization In the process of spatial data processing and analysis, a main feature is to visualize spatial objects and make exquisite maps. This section introduces the method of spatial visualization. Load packages and data Spatial data visualization #example library(maptools) require(rgeos) LN.bou <- readSh ...

Posted by osti on Sun, 06 Feb 2022 03:44:48 +0100

Machine learning | R language | use random forest to evaluate the transaction price of second-hand cars

catalogue Using random forest to evaluate the transaction price of second-hand cars Random forest principle previously on data sources Data preprocessing Data completion and variable deletion Data outlier handling Establishment and optimization of Stochastic Forest Model Tree selection Selection of independent variables Adjustment ...

Posted by akop on Fri, 04 Feb 2022 09:52:15 +0100

RFM analysis of R language

catalogue 1, Definition of RFM analysis: II. Assumptions of RFM analysis 3, Steps of RFM analysis 4, RMF analysis example 4.1 data preparation 4.2 calculation of R/F/M 4.3 score and assign R, F and M in groups 4.4 calculate the comprehensive score of RFM 4.5 customer classification Note: personal study notes - who says rookies can ...

Posted by SoireeExtreme on Thu, 03 Feb 2022 01:52:03 +0100

Introduction to ISLR statistical learning: R language code practice of linear regression

Chapter 2 linear regression 2.1 simple linear regression The ISLR2 library contains the Boston dataset, which records medv (median house value) for 506 census districts in Boston. We will use 12 predictive variables, such as rmvar (average number of rooms per household), age (average house age), and lstat (percentage of households with low so ...

Posted by fleymingmasc on Fri, 28 Jan 2022 14:19:24 +0100

Introduction to hand R (learning notes)

0618 15:00 Story: eight green brothers of Slot Machine https://rstudio-education.github.io/hopr/programs.html People who have not experienced Vegas will have a little trouble understanding the story. Like myself. Three different icon combinations will be generated when a machine plays once. If the icon combination meets the winning ...

Posted by Double_M on Mon, 24 Jan 2022 13:41:57 +0100

R language apply series functions

apply series functions Hello, everyone. I want to be a big dinosaur 🦖 My birthday letter Xiaobai. Praise first and then see. Form a habit. Little friends who haven't paid attention don't get lost. Today, let's talk about the apply series functions in R language preface In R language, apply series functions can apply function operati ...

Posted by NickTyson on Wed, 19 Jan 2022 19:10:15 +0100

Basic R language tutorial 01 of essential skills of Shengxin - installation and loading of R, Rstudio and R package

R language is a mathematical programming language designed for mathematical researchers. It is mainly used for statistical analysis, drawing and data mining. R language is a language for interpretation and operation (different from the compilation and operation of C language). Its execution speed is much slower than C language, which is not con ...

Posted by MrCreeky on Mon, 17 Jan 2022 07:51:14 +0100

Stratified random sampling of sampling survey

1, Data description agpop data file introduction: the U.S. government conducts a general survey on agriculture every five years and collects relevant data on all farms in 50 states. The data file contains a total of 3041 U.S. county-level farms or farm data equivalent to county-level farms. There are 4 regions / rnum, 50 states / snum, and 304 ...

Posted by hessodreamy on Sun, 16 Jan 2022 04:21:09 +0100