search for: fsiq

Displaying 6 results from an estimated 6 matches for "fsiq".

Did you mean: fsid
2016 Apr 16
2
Bug in by() function which works for some FUN argument and does not work for others
...according to my requirement as follows, which is working for my 'brain' data set, whose output is reproduced below for your information please: > by(brain[,-1], INDICES=list(Gender=brain$Gender), FUN=function(x, na.rm=FALSE) sapply(x, mean, na.rm=na.rm), na.rm=TRUE) Gender: Female FSIQ VIQ PIQ Weight Height MRI_Count 111.900 109.450 110.450 137.200 65.765 862654.600 -------------------------------------------------------------------------------------------------- Gender: Male FSIQ VIQ PIQ Weight Height...
2016 Apr 17
0
Bug in by() function which works for some FUN argument and does not work for others
...irement as follows, which is working for my 'brain' data set, whose output is reproduced below for your information please: > > > by(brain[,-1], INDICES=list(Gender=brain$Gender), FUN=function(x, na.rm=FALSE) sapply(x, mean, na.rm=na.rm), na.rm=TRUE) > Gender: Female > FSIQ VIQ PIQ Weight Height MRI_Count > 111.900 109.450 110.450 137.200 65.765 862654.600 > -------------------------------------------------------------------------------------------------- > Gender: Male > FSIQ VIQ PIQ...
2016 Apr 15
4
Bug in by() function which works for some FUN argument and does not work for others
...quot; written by "Jim Albert and Maria Rizzo" published in Springers (2012) in a Use R! Series. The output of the by() function printed in the book is being reproduced below for information to all: > by(data=brain[, -1], INDICES=brain$Gender, FUN=mean, na.rm=TRUE) brain$Gender: Female FSIQ VIQ PIQ Weight Height MRI_Count 111.900 109.450 110.450 137.200 65.765 862654.600 ------------------------------------------------------------ brain$Gender: Male FSIQ VIQ PIQ Weight Height MRI_Count 115.00000 115.25000 111.60000 166.44444 71.43158 954855.40000 I do not know how cou...
2016 Apr 15
0
Bug in by() function which works for some FUN argument and does not work for others
...and Maria Rizzo" > published in Springers (2012) in a Use R! Series. The output of the by() > function printed in the book is being reproduced below for information to > all: > >> by(data=brain[, -1], INDICES=brain$Gender, FUN=mean, na.rm=TRUE) > brain$Gender: Female > FSIQ VIQ PIQ Weight Height MRI_Count > 111.900 109.450 110.450 137.200 65.765 862654.600 > ------------------------------------------------------------ > brain$Gender: Male > FSIQ VIQ PIQ Weight Height MRI_Count > 115.00000 115.25000 111.60000 166.44444 71.43158 954855.4000...
2016 Apr 14
0
Bug in by() function which works for some FUN argument and does not work for others
I think you are not using the best function for what your intentions are. Try: > by(data=mtcars, INDICES=list(as.factor(mtcars$am)), FUN=colMeans) : 0 mpg cyl disp hp drat wt qsec vs 17.1473684 6.9473684 290.3789474 160.2631579 3.2863158 3.7688947 18.1831579 0.3684211 am gear carb 0.0000000
2016 Apr 14
4
Bug in by() function which works for some FUN argument and does not work for others
Dear Sirs, I am Professor at Indira Gandhi Krishi Vishwavidyalaya, Raipur, Chhattisgarh, India. While taking classes, I found the *by() *function producing following error when I use FUN=mean or median and some other functions, however, FUN=summary works. Given below is the output of the example I used on a built-in dataset "mtcars", along with error message reproduced herewith: >