Search Archives
Search tips
from:Name
Search by author name, e.g. from:Duncan Murdoch
"exact phrase"
Match an exact phrase
word1 word2
Match messages containing both words
Date range
Use the date pickers to filter results to a time period
Use the list dropdown to narrow results to a specific mailing list. Combine from: with other terms to filter by author and content.
An embedded and charset-unspecified text was scrubbed... Name: not available URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20111128/9cca2f3f/attachment.pl>
How do I read a block of space-delimited numbers into a column vector using the read.table command? Thank you. -- Steven Yen
The following line calculates standard deviations of a column vector: se<-apply(dd,1,sd) How can I calculate the covariance matrix using apply? Thanks.
An embedded and charset-unspecified text was scrubbed... Name: not available URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20111115/eead98cb/attachment.pl>
An embedded and charset-unspecified text was scrubbed... Name: not available URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20111117/cf8c86c4/attachment.pl>
An embedded and charset-unspecified text was scrubbed... Name: not available URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20111115/9cda38be/attachment.pl>
An embedded and charset-unspecified text was scrubbed... Name: not available URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20091206/9bf19522/attachment-0001.pl>
An embedded and charset-unspecified text was scrubbed... Name: not available URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20111106/272d35fe/attachment.pl>
An embedded and charset-unspecified text was scrubbed... Name: not available URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20111104/97476086/attachment.pl>
I am new to R. Have a naive question about the boa package. I loaded the package as instructed, and after entering R > boa.menu() I could never got the ready prompt (R hung). >Can someone help? Thanks.
I need to read csv files repeatedly, named data1.csv, data2.csv,? data24.csv, 24 altogether. That is, data<-read.csv(?data1.csv?) ? data<-read.csv(?data24.csv?) ? Is there a way to do this in a loop? Thank you...
I have known from the old days to set a random seed of a LARGE ODD NUMBER. Now I read instructions of set.seed and it requires ANY INTEGER. Any idea? Or, does it matter. Thanks. -- styen at ntu.edu...
Dear How do you construct a lower triangular matrix from a vector. I want to make vector a <- 1:10 into a triangular matrix 1 0 0 0 2 3 0 0 4 5 6 0 7 8 9 10...
I need help with "apply". Below, I have no problem getting the column sums. 1. How do I get the sum of squares? 2. In general, where do I look up these functions? Thanks. x<-matrix(1:10,nrow=5...
I have a "list" containing four elements, as shown below: > t(mycontrol) ???? tol reltol steptol gradtol [1,] 0?? 0????? 1e-08?? 1e-12 Printing this in a main program causes no problem (as shown above). But, using the command t...
Dear All, I would like to get a matrix (table) printed in a procedure, as attempted below. Please help. Thanks. test<-function(x){ ? table<-matrix(x,nrow=4) ? cat("\nTable:\n",table) invisible(list(table=table)) } x<-1:20 test...
I need help with gls{nlme}. Specifically, I am estimating an equation with AR(1) using maximum-likelihood. I am not understanding the correlationoption below. Help appreciated. === library(nlme) eq1<-log(chnimp)~log(chempi)+log(gas)+log(rtwex)+befile6+ affile6...
I have named NUMEROUS objects (each containing, e.g., 48 obs. of 5 variables), such as ? mec1.p.emb ? mec2.p.emb ? meb1.p.emb ? meb2.p.emb ? mej12.p.emb ? mej22.p.emb How would I rename these objects...
I use the following command to write data to a .csv file: write.csv(yxz,file="foo.csv") And I get the following in the file, with one column appended to the file: "","fsp","fsec","cincome", "1",0,3,2...
How can I call and include an external set of R codes, not necessarily a complete procedure (which can be include with a ?source? command). Example: #I like to include and run the following lines residing in a file outside...
Can't find what you're looking for? Try searching with Google .