Displaying 3 results from an estimated 3 matches for "syll".
Did you mean:
sell
2010 Jan 29
0
Help interpreting libarary(nnet) script output..URGENT
...o,
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)
heap_nnet <- nnet(syll ~ ., data=heap_lda, size=12,iter=100,MaxNWts=10000)
predict(heap_nnet,heap_lda,type = "class")
table(predict(heap_nnet,heap_lda,type = "class"),heap_lda$syll)
#...
2010 Jan 15
1
plotting in R
...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 <- data.frame(as.matrix(t(read.table(file="trial.txt"))),syll =
c(rep("one",3),rep("two",3),rep("three",3)))
table(lda(syll ~ ., example, CV =TRUE)$class,example$syll)
what is the best way to plot the example file?
sample "trial.txt" contents...
0.004764 -0.008445 0.015045 0.014658 0.004095 -0.001678 0.011231 -0.003...
2009 Jul 15
2
Differing Variable Length Inconsistencies in Random Effects/Regression Models
...,header=T)
>> attach(vc)
>
> family<-factor(family)
> colms<-(vc)[,4:13] ## this to assign the 10 columns containing marker
> data to a new variable, as column names are themselves not in any
> recognisable sequence
>
> vcdf<-data.frame(family,peg.no,ec.length,syll.length,colms)
> library(lme4)
>> for (c in levels(family))
> + { for (i in 1:length(colms))
> + { fit<-lmer(peg.no~1 + (1|c/i), vcdf)
> + }
> + summ<-summary(fit)
> + av<-anova(fit)
> + print(summ)
> + print(av)
> + }
>
>...