search for: jd2

Displaying 2 results from an estimated 2 matches for "jd2".

Did you mean: d2
2023 Mar 16
3
Trying to learn how to write an "advanced" function
...ute(x)) cat("1\n") print(ds) eval(lm(quote(ds)),parent.frame()) } # define data that will be used in regression y <- 1:10 x <- y+rnorm(10) z <- c(rep(1,5),rep(2,5)) # Show what x, y and z look like rbind(x,y,z) # run formula y~x JD <- doit(y~x) JD # run formula y~x+z JD2 <- doit(y~x+z) JD2 ________________________________________ From: R-help <r-help-bounces at r-project.org> on behalf of Rasmus Liland <jral at posteo.no> Sent: Thursday, March 16, 2023 8:42 AM To: r-help Subject: Re: [R] Trying to learn how to write an "advanced" functio...
2013 Jan 21
2
How to read a file with two data sets in text format
Hello All, I have a data file in a text format and there are two data sets. The data set are continuous. For each data set there is a header which has the number of data rows and the name of data series. For example first data set has "6240 Terry Cove-Model". Then the data for that series follows upto 6240 rows. Then another data would start and it will have the header such as