Displaying 1 result from an estimated 1 matches for "cinew".
Did you mean:
c_new
2011 Aug 27
2
Placing a column name in a variable XXXX
Hi everyone,
How does one place an object name (in this case a vector name) into another
object (while essentially masking the values of the first object?
For example:
> JOBSAT<-rnorm(40)
>
> CI<-function(x,alpha){
+ result<-cbind(x,mean=mean(x),alpha)
+ print(result)
+ }
> CI(JOBSAT,.05)
I want this to return:
Variable mean alpha
JOBSTAT 0.02844131 0.05