View source: R/check_flatline.R
check_flatline | R Documentation |
Returns the max percentage of responses that are the same per row. The closer this return value is to 1, the more serious the flatline problem is for that row.
check_flatline(myvar)
myvar |
must be a numeric vector to operate on. |
mydf <- data.frame(col1=c(1,2,3),col2=c(1,3,2),col3=c(1,2,1)) check_flatline(mydf$col1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.