I suck at math, so I can\'t figure this out: how many combinatio开发者_JAVA百科ns of k neighboring pixels are there in an image? Combinations of k pixels out of n * n total pixels in the image, but wi
My apologies if this is more of a statistics question than an R question. I am trying to estimate the following model in R.
Could anybody explain to me why simulatedCase <- rbinom(100,1,0.5) simDf <- data.frame(CASE = simulatedCase)