subset - How to replace values in a STFDF spacetime object in R -
I am going to fill an STFDF object from the spacetime package on a timely basis, and I'm having trouble changing the values Is the object. Here's an example of what I would like to do:
Transfer local data for the first time with Library (Spacetime) data # 100th Grameen [1] & lt; Error occurred in the last line:Pre>How should I reduce STFDF? Alternatively, should I substitute all the changes in the matrix then the matrix should be converted to STFDF?
Thank you!
Subscribing works, but this is subset - you are trying to do that, ST * The easiest way to apply for the object is to work with low-level structures ( data.frame or matrix ), and when it is complete, STFDF Build, either using the constructor function, STFDF () or stConstruct .
You can replace the full column, as
the rural $ PM10 = 10 * rural $ PM10 but you It should be known that with whom you change it (which is not particularly difficult for STFDF : the space cycle is the fastest)
Comments
Post a Comment