Displaying 5 results from an estimated 5 matches for "ksub".
Did you mean:
gsub
2002 Mar 19
1
Catenating expressions in plotmath().
...dicates
that the 0 is a subscript. (A la LaTeX.)
But the values ``42'' and ``17'' are to be substituted in from the
numeric values of R objects.
After a bit of struggle I found that
> nn <- 42
> kk <- 17
> plot(1:10,1:10,
main=substitute(list(n==nsub~~k[0]==ksub),list(nsub=nn,ksub=kk)))
gets pretty close to what I want. But how do I fold in the text strings
``Sample size'', "; critical value", and "." (at the end)?
Is this simply impossible?
I'd like to be able to do something like form
e1 <- substitute(list(n==nsub...
2008 Jul 31
0
multiple comparison
Dear all,
I was trying to understand how "multcomp" package works by running the
examples given in the documentation.
However I still don't understand when it comes to multiple comparison set by
user (please refer to "Ksub" in the code). Therefore I run 2 other cases
along with the original example (case 1), with the expectation I'll get the
point from the output. The three cases only differ in the index I gave for
"Ksub".
### Script start####
library(mvtnorm)
library(multcomp)
data("chole...
2011 Apr 04
1
Problem using svm.tune
Dear Sir,
I am stuck with a nagging problem in using R for SVM regression. My data has 5
dimensions and 400 observations. The independent variables are :
Peb, Ksub, Sub, and Xtt.
The dependent variable is: Rexp.
I tried using the svm.tune function as well as <_tune(svm.....), to tune the
hyper parameters: gamma, epsilon and C.
Since I am new to R, I am probably not using the svm.tune function properly. I
am getting the following error message:
Error in...
2011 Apr 12
0
Help required
...owing error message.
> Error in predict.svm(ret, xhold, decision.values = TRUE) :
> ?Model is empty!
> 4) 10 random data as per your instructions are:
> structure(list(Peb = c(225.0282, 514.4835, 66.6346, 221.4287,
> 366.8782, 429.7749, 161.9826, 124.2772, 98.63578, 160.9544),
> ? Ksub = c(7.892368, 21.07559, 66.61676, 43.01224, 113.7249,
> ? 2.642293, 4.475745, 113.4638, 43.69712, 46.29462), Sub = c(50,
> ? 30, 98.96, 73.96, 77.43, 30, 100, 99.65, 100, 96.88), Xtt = c(6.632812,
> ? 0.751595, 5.664743, 1.630639, 1.49907, 26.39829, 11.07653,
> ? 3.319892, 8.356013, 4.4...
2011 Apr 04
2
Please help
Dear Sir/Madam,
I am stuck with a nagging problem in using R for SVM regression. My data has 5
dimensions and 400 observations. The independent variables are :
Peb, Ksub, Sub, and Xtt.
The dependent variable is: Rexp.
I tried using the svm.tune function to tune the hyper parameters: gamma, epsilon and C.
I am getting the following error message:
Error in predict.svm(ret, xhold, decision.values+TRUE): Model is empty!
May you please help me!
SADAF ZAIDI
Associate Pr...