Description Usage Arguments Details Value Modeling Object PLS Parms To Do List
Function for running a full model.
1 2 |
rawdata |
A data.frame of the rawdata. See rawdata section for details. Failing to supply rawdata will terminate the function call. |
desc.vars |
A vector of ? |
pls.comps |
An integer between 1 and 5 indicating the number of PLS components. |
UK.varnames |
Defaults to NULL. This will? |
factr |
Defaults to 1e9. |
verbose |
Defaults to FALSE. This will? |
regional |
Defaults to TRUE. This will? |
This is one of the workhorse functions of this package. By default, distance variables are log-transformed. Geographic variables are screened for sufficient variability, etc. and other stuff I'll specify later. The function is expecting something like the following to be in the rawdata object:
location_id, native_id, latitude, longitude, monitor_type, lambert_x, lambert_y, state_plane, state, county
pollutant_conc
A list containing a lot of stuff?
Vector of ?. NOTE: this is hard-coded, can it be removed from the output?
List of vector of named strings, indicating which monitors are in which regions
List of vector of named strings, indicating which monitors are in which regions
Character indicating variogram type. Options include "reg" for regional, or "nat" for national.
Character indicating beta type. Options include "reg" for regional, or "nat" for national.
List of 2 objects: reg:function and nat:function. These are functions that have something to do with the variogram.
List of 2 objects: reg:function and nat:function. These are functions that have something to do with the betas.
List of 13. The modeling object, generated by make_modeling_object
List of string vector listing covariates
List of string vector listing covariates
List of Boolean vector indicating ?
List of integer indicating year of model
List of string indicating pollutant
List of string vector, listing all variables passed to modeling process. NOTE since this is just rownames(rawdata), can it be removed?
List of data.frame inluding all original data
List of string vector, listing ?
List of integer indicating number of PLS components
Stuff
List of ?
List of boolean; indicates?
List of boolean; if true then regional, if false then single region
The modeling object (model.obj) is a list of 13
Vector of named numbers (concentrations, I assume)
Stuff
A matrix of something ?
List of 19
An integer indicating the number of observations (I think)
A data.frame with x and y coordinates (lambert projection)
A data.frame with lat and long coordinates
String vector listing monitors
String vector listing monitors in the weco region
String vector listing monitors in the east region
String vector listing monitors in the west region
A matrix with rows equal to the number of monitors and columns?
List of 5, generated from my.likfit
The PLS object is a list of 19. In general below, m is the number of monitors.
List of 3-dimensional matrix (number of... monitors plus 32?, y, and 5 components?)
Matrix that is... monitors by 5 components
Matrix that is number of monitors plus 32 by 5
a similar matrix?
Matrix that is number of m x 5
Matrix 1 x 5 that?
366 by 5 matrix
numeric vector
Number indicating?
334 by 5 matrix
34x1x5 matrix
Vector of 5 named numbers
Number indicating?
Named number indicating?
Integer.... 5
"kernelpls"
language plsr(formula = y ~ covars.pls, ncomp = pls.comps, data = model.obj, validation = "none")
Classes 'terms', 'formula' length 3 y ~ covars.pls
data frame of y and covars.pls, which is 334 by 366?
The parms object is a list of 5, and is generated by my.likfit. In general below, m is the number of monitors.
List of vector of named numbers; includes tau, sigma and rho for each region (variogram parms?)
Matrix (instead of vector?) intercept and betas (b1 and b2?) for each region
A list of a number
A list of a boolean indicating whether the hessian was positive definite (?)
A matrix (9x9) which is the Hessian.
I'm adding this section as a place to track things we might want to do as improvements
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.