search for: 0b6

Displaying 3 results from an estimated 3 matches for "0b6".

Did you mean: 06
2013 Feb 13
2
e1071::skewness and psych::skew return NaN
Hello everyone, Does anyone know what would cause the skewness() function (from e1071), as well as skew() from psych, to return a value of NaN? I have a vector of positively-skewed data (https://docs.google.com/file/d/0B6-m45Jvl3ZmYzlHRVRHRURzbVk/edit?usp=sharing) which these functions return a value for like normal: > skewness( data ) # returns 1.400405 but when I instead give those functions the log-transformed data they return NaN > skewness( log( data ) ) #returns NaN The same occurs when I feed the fu...
2012 Dec 05
1
duplicated() with long vectors
Hello, duplicated() does not seem to work for a long vector. For example, if you download the data from https://docs.google.com/open?id=0B6-m45Jvl3ZmNmpaSlJWMXo5bmc (a vector with about 12,000 numbers) and then run the following code which does duplicated() over the whole vector but just shows the last 30 elements: data.frame( tail(verylong, 30), tail(duplicated(verylong), 30) ) you'll see that at the end of the very long vector...
2012 Dec 05
1
Using multcomp::glht() with Anova object
...repeated-measures-anova-using-r/(option 3) and http://languagescience.umd.edu/wiki/EEG#ERP_ANOVA_in_R. My ANOVA has two factors: Condition (3 levels) and Region (6 levels) and their interaction. Below is code to run the Anova and get the model object (the data are at https://docs.google.com/open?id=0B6-m45Jvl3ZmOVFTYVpZYV9sUUk). data <- as.matrix( read.table( file="EEGpriming.txt", header=T, sep="\t") ) Condition <- c( rep("Cond1", 6), rep("Cond2", 6), rep("Cond3", 6) ) Region <- factor( rep( c("la", "ma", "ra&...