摘要: 阅读全文
posted @ 2018-10-06 21:07 aoru45 阅读(799) 评论(0) 推荐(0) 编辑
摘要: 今天第一次参加c++讨论课,记录下了各组同学的展示的问题或者解决方法,也有一些知识点上的内容,供以后复习参考。 1.常量指针和指针常量问题 常量指针:指向常量的指针,例如const int *p = &a,可以改变p的指向,但是指向的必须是常量。 指针常量:就是常指针,例如int * const p 阅读全文
posted @ 2018-10-06 21:06 aoru45 阅读(453) 评论(0) 推荐(0) 编辑
摘要: 1 library(lattice) 2 3 xyplot(Petal.Length~Petal.Width,data=iris,goups = Species)//画分类图 4 5 6 7 plot(model,subdata,Petal.Length~Petal.Width)//画模型预测图 8 9 hist(x,col="light blue") //直方图 ... 阅读全文
posted @ 2018-10-06 21:04 aoru45 阅读(218) 评论(0) 推荐(0) 编辑