search for: jobstat

Displaying 1 result from an estimated 1 matches for "jobstat".

Did you mean: jobsat
2011 Aug 27
2
Placing a column name in a variable XXXX
...) 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 Instead, I am getting: x mean alpha [1,] -1.07694997 0.02844131 0.05 [2,] -1.13910850 0.02844131 0.05 [3,] -0.21922026 0.02844131 0.05 [4,] 0.38618008 0.02844131 0.05 [5,] -1.24303799 0.02844131 0.05 [6,] -0.74903752 0.02844131 0.05 [7,] 0.9613...