jeffreyevans / spatialEco

R package for spatial analysis and modelling of ecological systems
GNU General Public License v3.0
108 stars 29 forks source link

x and y comment flipped in VRM #52

Closed ailich closed 1 year ago

ailich commented 1 year ago

This does not affect results, but in the VRM function, the lines commented as xraster and yraster are switched. sin.asp should be "#xraster" and cos.asp should be "#yraster". They are used correctly in subsequent lines that use x.sum and y.sum (i.e. x.sum is calculated using sin.asp which is xrast even though it is commented as yrast).