<div dir="ltr">Thank you Sir<div><br></div><div>Regards<br><div><br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jul 24, 2018 at 1:00 PM,  <span dir="ltr"><<a href="mailto:rs-ecology-request@lists.uni-wuerzburg.de" target="_blank">rs-ecology-request@lists.uni-wuerzburg.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Send RS-ecology mailing list submissions to<br>
        <a href="mailto:rs-ecology@lists.uni-wuerzburg.de">rs-ecology@lists.uni-<wbr>wuerzburg.de</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
        <a href="https://lists.uni-wuerzburg.de/mailman/listinfo/rs-ecology" rel="noreferrer" target="_blank">https://lists.uni-wuerzburg.<wbr>de/mailman/listinfo/rs-ecology</a><br>
or, via email, send a message with subject or body 'help' to<br>
        <a href="mailto:rs-ecology-request@lists.uni-wuerzburg.de">rs-ecology-request@lists.uni-<wbr>wuerzburg.de</a><br>
<br>
You can reach the person managing the list at<br>
        <a href="mailto:rs-ecology-owner@lists.uni-wuerzburg.de">rs-ecology-owner@lists.uni-<wbr>wuerzburg.de</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of RS-ecology digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
   1. PLS COMMAND ERROR (Rop Willy)<br>
   2. Re: PLS COMMAND ERROR (Benjamin Leutner)<br>
<br>
<br>
------------------------------<wbr>------------------------------<wbr>----------<br>
<br>
Message: 1<br>
Date: Tue, 24 Jul 2018 00:47:30 +0300<br>
From: Rop Willy <<a href="mailto:ropcwillies@gmail.com">ropcwillies@gmail.com</a>><br>
To: <a href="mailto:rs-ecology@lists.uni-wuerzburg.de">rs-ecology@lists.uni-<wbr>wuerzburg.de</a><br>
Subject: [RS-ecology] PLS COMMAND ERROR<br>
Message-ID:<br>
        <<a href="mailto:CAHwAZ_QOXM-Gmby2mAu2G1Y%2Bi_z1tiq5JKY650tXEo1YYtVytA@mail.gmail.com">CAHwAZ_QOXM-Gmby2mAu2G1Y+i_<wbr>z1tiq5JKY650tXEo1YYtVytA@mail.<wbr>gmail.com</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
Hello,<br>
------------------------------<br>
<br>
I have been practicing with the book and it?s been great so far. However,<br>
there seems to be a problem with *Partial Least Squares Regression* in<br>
superClass() function. When I run the following code:<br>
<br>
sc <- superClass(p224r63_2011, trainData = training_2011, responseCol<br>
= "class_name", model = "pls*<br>
<br>
I get the following error:<br>
<br>
*Error: Required package is missing in addition: Warning message: package<br>
?caret? was built under R version 3.4.4.*<br>
<br>
When I first encountered this problem, I run *superClass()* using different<br>
models without *lapply ()* in order to identify where the problem was. It<br>
occurred to me that Random Forest and Support Vector Machines with radial<br>
basis kernel work as required while when I include ?model = ?pls?? it<br>
produces that error.<br>
<br>
NB: I thought maybe it was because of caret package, so I installed it but<br>
it seems it was not.<br>
<br>
Which package is missing?<br>
<br>
Thank you,<br>
<br>
Rop<br>
?<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://lists.uni-wuerzburg.de/pipermail/rs-ecology/attachments/20180724/99ef906e/attachment-0001.html" rel="noreferrer" target="_blank">http://lists.uni-wuerzburg.<wbr>de/pipermail/rs-ecology/<wbr>attachments/20180724/99ef906e/<wbr>attachment-0001.html</a>><br>
<br>
------------------------------<br>
<br>
Message: 2<br>
Date: Tue, 24 Jul 2018 07:57:24 +0200<br>
From: Benjamin Leutner <<a href="mailto:benjamin.leutner@uni-wuerzburg.de">benjamin.leutner@uni-<wbr>wuerzburg.de</a>><br>
To: <a href="mailto:rs-ecology@lists.uni-wuerzburg.de">rs-ecology@lists.uni-<wbr>wuerzburg.de</a><br>
Subject: Re: [RS-ecology] PLS COMMAND ERROR<br>
Message-ID: <<a href="mailto:736be0a5-280b-3f4e-8fe8-cdce7ef1db9e@uni-wuerzburg.de">736be0a5-280b-3f4e-8fe8-<wbr>cdce7ef1db9e@uni-wuerzburg.de</a>><br>
Content-Type: text/plain; charset="utf-8"; Format="flowed"<br>
<br>
Hi,<br>
<br>
install.packages("pls") should do the trick.<br>
<br>
cheers,<br>
Benjamin<br>
<br>
On 23.07.2018 23:47, Rop Willy wrote:<br>
><br>
> Hello,<br>
><br>
> ------------------------------<wbr>------------------------------<wbr>------------<br>
><br>
> I have been practicing with the book and it?s been great so far. <br>
> However, there seems to be a problem with *Partial Least Squares <br>
> Regression* in superClass() function. When I run the following code:<br>
><br>
> |sc <- superClass(p224r63_2011, trainData = training_2011, responseCol <br>
> = "class_name", model = "pls* |<br>
><br>
> I get the following error:<br>
><br>
> *Error: Required package is missing in addition: Warning message: <br>
> package ?caret? was built under R version 3.4.4.*<br>
><br>
> When I first encountered this problem, I run *superClass()* using <br>
> different models without *lapply ()* in order to identify where the <br>
> problem was. It occurred to me that Random Forest and Support Vector <br>
> Machines with radial basis kernel work as required while when I <br>
> include ?model = ?pls?? it produces that error.<br>
><br>
> NB: I thought maybe it was because of caret package, so I installed it <br>
> but it seems it was not.<br>
><br>
> Which package is missing?<br>
><br>
> Thank you,<br>
><br>
> Rop<br>
><br>
> ?<br>
><br>
><br>
> ______________________________<wbr>_________________<br>
> RS-ecology mailing list<br>
> <a href="mailto:RS-ecology@lists.uni-wuerzburg.de">RS-ecology@lists.uni-<wbr>wuerzburg.de</a><br>
> <a href="https://lists.uni-wuerzburg.de/mailman/listinfo/rs-ecology" rel="noreferrer" target="_blank">https://lists.uni-wuerzburg.<wbr>de/mailman/listinfo/rs-ecology</a><br>
<br>
-- <br>
Benjamin Leutner<br>
<br>
Department of Remote Sensing<br>
University of Wuerzburg<br>
Campus Hubland Nord 86<br>
97074 Wuerzburg, Germany<br>
<br>
Tel: +49-(0)931-31 89594<br>
Email: <a href="mailto:benjamin.leutner@uni-wuerzburg.de">benjamin.leutner@uni-<wbr>wuerzburg.de</a><br>
Web: <a href="http://www.fernerkundung.uni-wuerzburg.de" rel="noreferrer" target="_blank">http://www.fernerkundung.uni-<wbr>wuerzburg.de</a><br>
<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://lists.uni-wuerzburg.de/pipermail/rs-ecology/attachments/20180724/50c416c5/attachment-0001.html" rel="noreferrer" target="_blank">http://lists.uni-wuerzburg.<wbr>de/pipermail/rs-ecology/<wbr>attachments/20180724/50c416c5/<wbr>attachment-0001.html</a>><br>
<br>
------------------------------<br>
<br>
Subject: Digest Footer<br>
<br>
______________________________<wbr>_________________<br>
RS-ecology mailing list<br>
<a href="mailto:RS-ecology@lists.uni-wuerzburg.de">RS-ecology@lists.uni-<wbr>wuerzburg.de</a><br>
<a href="https://lists.uni-wuerzburg.de/mailman/listinfo/rs-ecology" rel="noreferrer" target="_blank">https://lists.uni-wuerzburg.<wbr>de/mailman/listinfo/rs-ecology</a><br>
<br>
<br>
------------------------------<br>
<br>
End of RS-ecology Digest, Vol 29, Issue 4<br>
******************************<wbr>***********<br>
</blockquote></div><br></div>