Description Usage Arguments Details Value Examples
Extract the covariate value from the train model. The values are shuffled randomly for security purpose
1 | getTrainCov(flag, acov)
|
flag |
project flag, saved as sub path name on the server side. |
acov |
the covariate name |
Extract the covariate value from the train model. The values are shuffled randomly for security purpose
Numeric vector for the covariate from the train datasetm shuffled randonly.
1 2 3 4 5 6 7 8 | # This function is provided to check the data consistency of the new prediction dataset before prediction.
# The following example is to check the boxplot for the train datasets and prediction dataset
data(sc_sample)
acov="min_temp";xlab="Minimum temperature (oC)"
colnames(sc_sample@data)[which(colnames(sc_sample@data)=="tmmn")]=acov
tr_acov=getTrainCov("sc_sample",acov)
boxplot(sc_sample@data[,acov],tr_acov,names=c("Prediction","Training"),xlab=xlab)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.