Description Usage Arguments Author(s) Examples
This function allows to quickly assign bound on polar angles estimates.
1 | bound.assign(sc.names,v.names,lower,upper)
|
sc.names |
character string containing the names of the variables to be matched in the given character vector |
v.names |
a character vector where matches are sought (e.g. the variables (or items) names). |
lower |
a vector of lower bounds. |
upper |
a vector of upper bounds. |
Michele Grassi grassi.mic@gmail.com
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | data(SELF5)
v.names=names(SELF5)
v.names
sc.names=c("LM","NO","PA","BC","DE","FG","HI","JK")
lower<-c(-22.5,292.5,247.5,202.5,157.5,112.5,67.5,22.5)
upper<-c(22.5,337.5,292.5,247.5,202.5,157.5,112.5,67.5)
B<-bound.assign(sc.names=sc.names,v.names=v.names,lower=lower,upper=upper)
B$upper
B$lower
# Each one of the 48 items (v.names) is provided with an upper and lower bound:
bounds<-data.frame(v.names,B$upper,B$lower)
bounds[order(B$upper),]
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.