Questions tagged [pls]

Partial Least Squares regression is a statistical method used to find the fundamental relations between two matrices.

84 questions
0
votes
2 answers

How to export the summary of a plsr model to nice HTML table in R

I would like to export the summary of a plsr model (pls package) to a nice table (preferably HTML). I am aware of nice methods for lm models, but I am curious if someone out there knew of a quick way to extract the information from plsr and format…
andemexoax
  • 323
  • 3
  • 15
0
votes
0 answers

Using an R function that requires input within knitr, to generate a static report

I am trying to use the function rebus.pls in the plspm library. This function generates a dendrogram and then prompts for user input (number of desired classes) before proceeding. (Sorry, I cannot provide a code sample as using this function…
Ann
  • 1
  • 2
0
votes
1 answer

Component names in pls

I am using the pls package and the documentation is great and easy to follow, but everything is referred to and plotted in terms of "components", which are numbered. How do I know which predictor variables "components" 1-n refer to? It looks like my…
Nazer
  • 3,654
  • 8
  • 33
  • 47
0
votes
1 answer

Comparing all variables in PCR function from pls package, R

I am trying to conduct a Principal Components Regression Analysis (PCR) in R. Usually I would do a PCA (Principal Components Analysis), however I have multi-collinearity and have read that PCR can handle this. I am using the pcrfunction from the pls…
J.Con
  • 4,101
  • 4
  • 36
  • 64
0
votes
1 answer

PLS in R: Extracting PRESS statistic values

I'm relatively new to R and am currently in the process of constructing a PLS model using the pls package. I have two independent datasets of equal size, the first is used here for calibrating the model. The dataset comprises of multiple response…
-1
votes
1 answer

i have a problem with the importation of sql

i have a problem with the importation of sql import sqlite3 connection = sqlite3.connect('database.db') with open('crea_posts.sql') as f: connection.executescript(f.read()) connection.commit() connection.close() debug Traceback (most recent…
-1
votes
1 answer

How to activate some lights after a short delay in Unity?

I want the lights to be activated a little after "me" has been activated. public class LightsOut : MonoBehaviour { public GameObject NextTrigger; public GameObject Voiceline; public GameObject Me; public GameObject Lights; …
grippel
  • 11
-1
votes
1 answer

I am getting "await is only valid in async function" error my code is something like this

if(command === clear){ const amount = arg.join(" "); if(!amount) return message.reply('please provide an amount of messages for me to delete') if(amount > 100) return message.reply(`you cannot clear more than 100 messages at once`) …
-3
votes
3 answers

data type in struct c++

I'm new to programming and this is my first year of C++. All I've understood is that structures are variables with many different data types... I was wondering if it is like a container of data types. Or is it just data? Or both? For example…
Wildzaka02
  • 29
  • 4
1 2 3 4 5
6