<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Have a look at fCover from RStoolbox. It does just that.<br>
    <br>
    <div class="moz-cite-prefix">On 11/16/2017 06:25 AM, heng huang
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAA89BkZBV2AfnGEt-DVebQoCuwW2032HaC3We9sZmU6sr_b54A@mail.gmail.com">
      <div dir="ltr">Dear All,<br>
        <br>
        <p class="MsoNormal"><span lang="EN-US">I am trying to look at
            the
            differences in land surface temperature between different
            vegetation types. For
            example, I have a Landsat land cover map with 30-m
            resolution and I want to
            calculate the fractional cover for each vegetation class
            (forests, grasslands
            and croplands etc.) matching MODIS swath and do a linear
            regression analysis
            linking land cover percentage with the corresponding MODIS
            LST for each 1-km
            resolution pixel. Therefore, the fractional changes will be
            calculated by
            computing at 30m the proportion of each vegetation class
            (e.g. forest) that
            occupy each MODIS 1km grid cell, but I hardly found any
            practical tutorial
            using R to achieve this, so any advice on it will be
            appreciated!</span></p>
        <p class="MsoNormal"><span lang="EN-US"> </span></p>
        <p class="MsoNormal"><span lang="EN-US">Further, after
            calculating the fractional
            change in vegetation with analogous changes in MODIS LST, I
            want
            to do the linear regression for LST as a function of the
            fractional changes but
            also I haven't found an effective way to process it in R. I
            would also be grateful if you
            can give some practical advice on it.</span></p>
        <p class="MsoNormal"><span lang="EN-US"><br>
          </span></p>
        <p class="MsoNormal"><span lang="EN-US">Thanks so much!</span></p>
        <p class="MsoNormal"><span lang="EN-US"><br>
          </span></p>
        <p class="MsoNormal"><span lang="EN-US">Henry<br>
          </span></p>
        <br>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
RS-ecology mailing list
<a class="moz-txt-link-abbreviated" href="mailto:RS-ecology@lists.uni-wuerzburg.de">RS-ecology@lists.uni-wuerzburg.de</a>
<a class="moz-txt-link-freetext" href="https://lists.uni-wuerzburg.de/mailman/listinfo/rs-ecology">https://lists.uni-wuerzburg.de/mailman/listinfo/rs-ecology</a>
</pre>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
Benjamin Leutner 

Department of Remote Sensing
University of Wuerzburg
Campus Hubland Nord 86
97074 Wuerzburg, Germany

Tel: +49-(0)931-31 89594
Fax: +49-(0)931-31 89594-0
Email: <a class="moz-txt-link-abbreviated" href="mailto:benjamin.leutner@uni-wuerzburg.de">benjamin.leutner@uni-wuerzburg.de</a>
Web: <a class="moz-txt-link-freetext" href="http://www.fernerkundung.uni-wuerzburg.de">http://www.fernerkundung.uni-wuerzburg.de</a>
</pre>
  </body>
</html>