Description Usage Arguments Details Value Author(s) See Also Examples
This function estimates the confidence intervals of the phenotypic integration index controlling by a third variable using jackknife resampling.
1 | pintsc.jack(traits, control=NA, n.remove = 1, verbose=FALSE)
|
traits |
a dataframe or a matrix object containing traits as columns and individuals as rows |
control |
a vector containing the variable to control by size. |
n.remove |
a numeric, the number of individuals to remove on every jackknife iteration |
verbose |
a logic, if TRUE, values obtained during the jackknife resampling are also reported. |
For every iteration, this function removes a given number of individuals before estimating phenotypic integration indices. Then, the process is repeated until all the possible combinations of this number of individuals have been removed. Rows containing missing values are removed.
A matrix with two columns and nine rows. Columns contain information for the uncorrected and corrected indices whereas rows contain mean, median, standard deviation (SD), standard error (SE), lower and higher confidence interval at 99%, lower and higher confidence interval at 95%, and the number of randomizations.
A.J. Muñoz-Pajares, R. Torices
1 2 3 4 5 6 7 8 9 10 11 12 | # Dataset from Torices & Méndez (2014)
# This data set represents the dry mass (in grams) of inflorescence components of the sunflower
# species Tussilago farfara. The inflorescences were dissected in 'SCAPE', 'RECEPTACLE', 'MALEFL'
# (male flowers), 'OVAR' (reproductive part of female flowers), and 'RAYS' (the petaloid ray of
# female flower). Furthermore in the last column the total weight of the inflorescence is added
# 'TOTALSIZE'
data(tussilago)
# Iit is mandatory to define the "control" variable. Otherwise, it gives an error:
# pintsc.jack(tussilago, 1)
pintsc.jack(traits=tussilago[,1:5], control=tussilago[,6], 1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.