Hi, Im using geoR and I'm trying to do some predictions, based on an external trend.
I'm having some problems specifying my model.control, specifically how do I define my model, and also the source of the covariate data at the prediction locations? I am assuming that the covariate data at the prediction locations should be imported to a geodata object along with the prediction location coordinates - this is what I have done, but I can't get the prediction to work. So my question is: How should the prediction location and covariate data at prediction locations be stored? And also how do I specify model.control so that it recognises where my covariate data is? Below is the error message that I am getting: krige.bayes: model with mean defined by covariates provided by the user Warning messages: 1: locations provided as a list with more than 2 components. Only the 2 first will be used as coordinates in: .check.locations(locations) 2: data length [507] is not a sub-multiple or multiple of the number of rows [254] in matrix Error in trend.spatial(trend = model$trend.l, geodata = list(coords = locations)) : trend elements not found Thanks, -- View this message in context: http://www.nabble.com/GeoR-model.control---defining-covariates-at-prediction-locations-tp19028273p19028273.html Sent from the R help mailing list archive at Nabble.com. ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.