文章目录
带出外部连接的方式

点击这个黄色的按钮就可以弹出外部链接的方式
添加列的方式
创建一个数据框的方式
我们创建一个三行三列的数据方式
shell
df <- data.frame(name = c("Alice","box","Che"),age = c(123,213,34),height = c(123,234,43))

r语言数据方式必须创建的这个方式
我们在这个表中添加一个 bmi 数据方式,写好数据格式就可以了
shell
df <- df %>% mutate(weight = c(234,123,234),bmi =weight / (height /100)^2)
bmi 我们也可以写成公式的方式
从列表中选出对应的数据信息
我们可以从数据表格中选出需要的数据方式
shell
qq <- select(df,name,age)

查看变量信息
shell
head(qq)
在后面可以加入 n 到参数