similar to: Converting a .txt file into a matrix

Displaying 7 results from an estimated 7 matches similar to: "Converting a .txt file into a matrix"

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 Apr 20
2
Error in from:to : NA/NaN argument
Hello R gurus, I am having difficulties running a chunk of code that I otherwise thought was correct.. > if (lower < max(length(IC_peaks),length(IC_valleys))) { + valley_index <- IC_valleys[lower+1] + for (i in seq(peak_index,valley_index-1)) { + IC_peaks_and_valleys <- c(IC_peaks_and_valleys, "v") + } + } Error in from:to : NA/NaN argument I can not pin point the issue
2009 Sep 22
1
Correlate two time series
I was wondering how to correlate two time series in R? I have to plotted waver files I need to correlate to one another to see how well they align.. Any guidance would be very much appreciated!
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)