Hi,
this is my R-script
I need to make a confusion matrix
but the last row return me an error
require(mixOmics)
require(SDMTools)
file <- "C:\\data.txt"
d <- read.table(file, header=T, row.names = NULL)
X <- as.matrix(d[,2:11])
Y <- as.factor(d[,1])
i <- 1
samp <- sample(1:3, nrow(X), replace
Hi,
this is my R-Script
library(pls)
file <- "C:\\TXT\\brix.txt"
d <- as.matrix(read.table(file, header=T, sep=",", row.names = NULL))
plsdata <- data.frame(NIR=c(1:nrow(X)))
plsdata$NIR <- I(d[,3:603])
plsdata$Brix <- d[,2]
results <- plsr(Brix ~ NIR, data=plsdata)
after the last string i have t
Thank you all for the precious help.
Finally i could start the writing of a first part of my script, but now i
have a new question for you.
Need i to repeat the write.table portion for all the 15 lines or can i use a
"short cut"?
Example:
file.open <- "C:\\test.txt"
file.save <- "C:\\results.t
Hi, i have that table
Thesis Day A B C
1 0 83.43 90.15 22.97
1 0 85.50 94.97 16.62
1 0 83.36 95.38 20.70
1 0 84.47 92.16 23.58
1 0 83.98 95.33 19.39
1 0 82.86 93.78 24.55
1 0
If i insert \u2264 inside the text, like this
lsd_label <- "LSD (P \u2264 0.05) = "
the result is
"LSD (P = 0.05) = "
instead
"LSD (P ≤ 0.05) = "
how can i solve this problem?
Thanks.
--
View this message in context:
http://r.789695.n4.nabble.com/less-than-or-equal-to-glyph-tp3073557p3073
Q1: How can i draw LSD (Least significant difference) on a plot?
Like this...
http://r.789695.n4.nabble.com/file/n3053430/LSD.jpg
Q2: How can i draw the axis secondary scale?
Thanks for help.
--
View this message in context:
http://r.789695.n4.nabble.com/Some-questione-about-plot-tp3053430
Can i use "readLines" to extract only the linees with a specific word within?
If yes, how?
Tnx for help.
--
View this message in context:
http://r.789695.n4.nabble.com/Question-about-readLines-tp3044701p3044701.html
Sent from the R help mailing list archive at Nabble.com.
Perfect.
Thank you Joshua.
--
View this message in context:
http://r.789695.n4.nabble.com/mean-on-a-plot-tp3031068p3031267.html
Sent from the R help mailing list archive at Nabble.com.
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/
Hi, i need to draw a plot with means of values, reading a table from
datafile.
Example of datafile:
DaysWeight
0 178.00
0 250.00
0 242.00
0 239.00
0 223.00
0 188.00
0 237.00
0 212.00
0 273.00
0 191.00
0 173.00
0 233.00
0
9 matches
Mail list logo