We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
library(prospectr)
size=100 d <- matrix(rnorm(size * 2, 1, 0.1), nc = 2)
I1 <- duplex(d, k = size * 0.5, metric = "euclid")$model cat(length(I1))
I2 <- duplex(d, k = size * 0.6, metric = "euclid")$model cat("\n") cat(length(I2))
I3 <- duplex(d, k = size * 0.4, metric = "euclid")$model cat("\n") cat(length(I3))
Pay attention to the second one,when the "k" value of function duplex is greater than half,the result is just the same as the first
The text was updated successfully, but these errors were encountered:
No branches or pull requests
library(prospectr)
size=100
d <- matrix(rnorm(size * 2, 1, 0.1), nc = 2)
I1 <- duplex(d, k = size * 0.5, metric = "euclid")$model
cat(length(I1))
I2 <- duplex(d, k = size * 0.6, metric = "euclid")$model
cat("\n")
cat(length(I2))
I3 <- duplex(d, k = size * 0.4, metric = "euclid")$model
cat("\n")
cat(length(I3))
Pay attention to the second one,when the "k" value of function duplex is greater than half,the result is just the same as the first
The text was updated successfully, but these errors were encountered: