similar to: Error in from:to : NA/NaN argument

Displaying 6 results from an estimated 6 matches similar to: "Error in from:to : NA/NaN argument"

2010 Apr 13
1
Converting a .txt file into a matrix
I need to convert foo.txt file into as.matrix .txt file is a single column of numbers (i.e. -0.303904 -0.889965 -0.0270313 -0.387125 0.189837 -0.14858 -0.651178 -0.162632 0.449309 ) and I need to find out the correct syntax to read in this table as.matrix I tried as.matrix(read.table(foo.txt)), but unfortunately this just spits the table back out.. Any of your pointers would
2010 May 25
1
File normalization
Dear all, I have a file with 57 columns (671 time points in each column) File looks like this: 1 0.279191 -1.203200e-02 -0.166772 6.12080e-02 0.196379 4.591900e-02 0.293689 2 0.267017 -1.150700e-02 -0.159463 5.85400e-02 0.187775 4.392200e-02 0.280854 3 0.053778 -2.322000e-03 -0.032103 1.18490e-02 0.037921 8.867000e-03 0.056571 4 0.035469 -1.531000e-03
2010 Jan 15
1
plotting in R
Hello, As a result of running linear discriminant analysis, I need to be able to plot the resulting file. I am not sure what the best way to do this is. So far I have tried regular plot("insert_file_name_here") command but the error it gives me is Error in plot.new() : figure margins too large here is sample LDA code I am working with .... library(MASS) example <-
2010 May 26
1
Linear Discriminant Analysis in R
Dear R gurus, Thank you all for continuous support and guidance -- learning without you would not be efficient. I have a question regarding LD analysis and how to best code it up in R. I have a file of (V52 and 671 time points across all columns) and another file of phonetic features (each vowel is aligned with a distinct binary sequence, i.e. E 0 0 0 0 0 0 0 0 0 0 0 0 1 1 0 0 0 1 0 0 0 0 0 0
2010 Jun 02
1
nnet: cannot coerce class c("terms", "formula") into a data.frame
Dearest all, Objective: I am now learning neural networks. I want to see how well can train an artificial neural network model to discriminate between the two files I am attaching with this message. http://r.789695.n4.nabble.com/file/n2240582/3dMaskDump.txt 3dMaskDump.txt http://r.789695.n4.nabble.com/file/n2240582/test_vowels.txt test_vowels.txt Question: when I am attempting to run
2010 Jan 29
0
Help interpreting libarary(nnet) script output..URGENT
Hello, I am pretty new to R. I am working on neural network classifiers and I am feeding the nnet input from different regions of interest (fMRI data). The script that I am using is this: library (MASS) heap_lda <- data.frame(as.matrix(t(read.table(file="R_10_5runs_matrix9.txt")))*100000,syll = c(rep("heap",3),rep("hoop",3),rep("hop",3))) library(nnet)