Skip to content

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.

262 results for “from:Steven Yen”

Rprofile.site
Steven Yen · Nov 27, 2011 · r-help

An embedded and charset-unspecified text was scrubbed... Name: not available URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20111128/9cca2f3f/attachment.pl>

Read text file
Steven Yen · Jun 17, 2015 · r-help

How do I read a block of space-delimited numbers into a column vector using the read.table command? Thank you. -- Steven Yen

apply
Steven Yen · Oct 4, 2024 · r-help

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.

Reading data/variables
Steven Yen · Nov 15, 2011 · r-help

An embedded and charset-unspecified text was scrubbed... Name: not available URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20111115/eead98cb/attachment.pl>

Reading data/variables
Steven Yen · Nov 17, 2011 · r-help

An embedded and charset-unspecified text was scrubbed... Name: not available URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20111117/cf8c86c4/attachment.pl>

Reading data/variables
Steven Yen · Nov 15, 2011 · r-help

An embedded and charset-unspecified text was scrubbed... Name: not available URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20111115/9cda38be/attachment.pl>

MLE in R
Steven Yen · Dec 6, 2009 · r-help

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>

Matrix element-by-element multiplication
Steven Yen · Nov 6, 2011 · r-help

An embedded and charset-unspecified text was scrubbed... Name: not available URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20111106/272d35fe/attachment.pl>

Matrix element-by-element multiplication
Steven Yen · Nov 4, 2011 · r-help

An embedded and charset-unspecified text was scrubbed... Name: not available URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20111104/97476086/attachment.pl>

boa package
Steven Yen · Aug 14, 2011 · r-help

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.

Looping
Steven Yen · Feb 18, 2024 · r-help

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...

Random seed
Steven Yen · Dec 22, 2018 · r-help

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...

Construct a lower-triangular matrix
Steven Yen · Oct 9, 2015 · r-help

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...

Using apply
Steven Yen · Oct 30, 2018 · r-help

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...

cannot print a list with cat
Steven Yen · Oct 24, 2022 · r-help

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...

Printing matrix/table in a procedure
Steven Yen · May 15, 2019 · r-help

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...

gls procedure in nlme
Steven Yen · Jan 4, 2017 · r-help

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...

Renaming multiple objects
Steven Yen · Nov 20, 2021 · r-help

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...

Writing .csv file
Steven Yen · Sep 24, 2014 · r-help

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...

Including an external set of coded
Steven Yen · Feb 20, 2024 · r-help

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 .