View source: R/userFunctions.R
bright | R Documentation |
Using a logistic regression to find coefficients, uses the result to compute a probability of the imageMatrix being #'bright (392 observations) with McFadden Pseudo- $R^2$ Value 0.2573778
bright(
imageMatrix,
beta0 = -2.774327,
beta1 = 51.91687,
cutoffProbability = 0.5,
NADefault = 0
)
imageMatrix |
imageMatrix points representing the brightness of that pixel |
beta0 |
The intercept of a logistic regression default is for magnetograms |
beta1 |
The slope of the logistic regression default is for magnetograms |
cutoffProbability |
The probability cut off for the decision of an imageMatrix being bright |
NADefault |
The default value set to NA's in the matrix |
The decision of the image being bright (based off of the cutoffProbability)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.