正在加载图片...
Naming Conventions in R R is case sensitive.Object names(data or functions)should only contain alpha-numeric characters (A-Z,a-z,0-9)or a period. Such names cannot start with a digit. Object names can start with a period,but they are hidden when you type 1s(). This is useful when you want to define hidden or background objects. You should avoid using object names that are already used by R,such as t,c,q,T,F,1s,pt,mean,var,pi,etc..Use descriptive names. Any object that you create using such system names would mask the built-in R object.For example,pi=3 would create a new object pi in your workspace, with value 3 and not 3.141593. You get the old pi back by removing the masking pi via rm(pi)from your workspace. 8Naming Conventions in R R is case sensitive. Object names (data or functions) should only contain alpha-numeric characters (A-Z, a-z, 0-9) or a period. Such names cannot start with a digit. Object names can start with a period, but they are hidden when you type ls(). This is useful when you want to define hidden or background objects. You should avoid using object names that are already used by R, such as t, c, q, T, F, ls, pt, mean, var, pi, etc.. Use descriptive names. Any object that you create using such system names would mask the built-in R object. For example, pi=3 would create a new object pi in your workspace, with value 3 and not 3.141593. You get the old pi back by removing the masking pi via rm(pi) from your workspace. 8
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有