search for: tmt

Displaying 20 results from an estimated 35 matches for "tmt".

Did you mean: fmt
2009 Oct 04
2
Row to Column help
...tempting to transpose a dataset from rows to columns but am stuck. I have tried using reshape() with little luck, possibly due to the categorical nature of the data. For example: id<-c(1,2,2,3,3,3) author<-c("j","k","k","l","l","l") tmt<-c("cbt","act","dbt","act","act","cbt") alliance<-c("wai","other","calpas","wai","itas","other") data<-as.data.frame(cbind(id,author,tmt,alliance)) > data id author...
2008 Sep 08
1
nested ANOVA with fixed and random variables missing data
I have a nested ANOVA, with a fixed factor "tmt" nested within "site" (random). There are missing values in the data set. aeucs, tmt and site have been defined as objects I have tried: model1=lme(aeucs~tmt,random=~1|tmt/site) I get the following error message Error in na.fail.default(list(aeucs = c(0.833333333, 1, 1, 1, 1, 1,...
2011 Oct 27
1
Proc Mixed to R
Hi All, I'm working with some SAS code to analyze an experiment set up as follows: 66 subjects (colonies) treated with a random treatment (1-8) and measured at three time points. The data structure looks like: input colony tmt y1 y2 y3; y=y1; date=*1*; output; y=y2; date=*2*; output; y=y3; date=*3*; output; datalines; 1 3 6725 6750 925 2 8 6950 5800 11275 3 4 4200 6100 6475 Procedure: *proc* *mixed*...
2009 Oct 21
1
Question on mixed effect models with LME
Good afternoon Using R 2.9.2 on a machine running Windows XP I have a longitudinal data set, with data on schools and their test scores over a four year period. I have centered year, and run the following m1.mod1 <- lme(fixed = math_1 ~ I(year-2007.5)*TFC_, data = long, random = ~I(year-2007.5)|schoolnum, na.action = "na.omit") where
2017 Feb 08
2
R CMD check error
...ry is loaded into my personal space and I have the environment variable R_LIBS_USER set appropriately. The command "library(expm)" works just fine from the command line, and in fact the package works if I do the source() and dyn.load() commands by hand. The following sequence works: tmt% R CMD build --no-build-vignettes hmm tmt% R CMD INSTALL hmm*gz tmt% R > library(hmm) > run some commands from the hmm library But "R CMD check hmm.gz" fails with ERROR: dependency ?expm? is not available for package ?hmm? * removing ?/people/biostat2/therneau/consult/alzheim...
2011 Oct 13
0
1) A memory leak in drivers/rhino.c 2) Wunused-but-set-variable.patch
.../* imin = RecPack[27]; */ + /* isec = RecPack[28]; */ /* Flag1 */ /* SobreTemp = ( ( 0x01 & RecPack[33]) = 0x01 ); */ @@ -546,18 +530,8 @@ static void getbaseinfo(void) unsigned char temp[256]; unsigned char Pacote[37]; int tam, i, j=0; - time_t *tmt; - struct tm *now; const char *Model; - tmt = ( time_t * ) malloc( sizeof( time_t ) ); - time( tmt ); - now = localtime( tmt ); - dian = now->tm_mday; - mesn = now->tm_mon+1; - anon = now->tm_year+1900; - weekn = now->tm_wday; -...
2017 Feb 09
2
R CMD check error
Martin, I am aware of --vanilla; I use it myself for some testing. In this case R_LIBS_USER was set externally (part of my login) and does not involve any of the R scripts. That means it is inherited by any subprocess. For example: tmt1495% R --vanilla --no-environ R version 3.3.1 (2016-06-21) -- "Bug in Your Hair" Copyright (C) 2016 The R Foundation for Statistical Computing Platform: x86_64-pc-linux-gnu (64-bit) > system("printenv | grep R_LIBS") R_LIBS_SITE= R_LIBS_USER=/people/biostat2/therneau/Rlib...
2009 Oct 21
3
Missing data and LME models and diagnostic plots
Hello Running R2.9.2 on Windows XP I am puzzled by the performance of LME in situations where there are missing data. As I understand it, one of the strengths of this sort of model is how well it deals with missing data, yet lme requires nonmissing data. Thus, m1.mod1 <- lme(fixed = math_1 ~ I(year-2007.5)*TFC_, data = long, random =
2015 May 15
2
Installation error with R-devel
I have a local library with functions that interrogates an institution-specific web API, so is not of interest to anyone outside of Mayo. For some reason the R CMD INSTALL command fails. See below: Build the library, then install it. tmt-local2127% R CMD build dart * checking for file ?dart/DESCRIPTION? ... OK * preparing ?dart?: * checking DESCRIPTION meta-information ... OK * installing the package to build vignettes * creating vignettes ... OK * checking for LF line-endings in source and make files * checking for empty or unneed...
2017 Feb 09
0
R CMD check error
...space and I have the environment variable R_LIBS_USER set appropriately.??The? > command "library(expm)" works just fine from the command line, and in fact the package? > works if I do the source() and dyn.load() commands by hand. > > The following sequence works: > > tmt% R CMD build --no-build-vignettes hmm > tmt% R CMD INSTALL hmm*gz > tmt% R > ?> library(hmm) > ?>??run some commands from the hmm library > > But "R CMD check hmm.gz" fails with > ???ERROR: dependency ?expm? is not available for package ?hmm? > * removing &g...
2017 Feb 09
0
R CMD check error
...rneau, Terry M., Ph.D. wrote: > Martin, > ? I am aware of --vanilla; I use it myself for some testing.??In this case R_LIBS_USER was? > set externally (part of my login) and does not involve any of the R scripts.??That means? > it is inherited by any subprocess.??For example: > > tmt1495% R --vanilla --no-environ > > R version 3.3.1 (2016-06-21) -- "Bug in Your Hair" > Copyright (C) 2016 The R Foundation for Statistical Computing > Platform: x86_64-pc-linux-gnu (64-bit) > > > > > system("printenv | grep R_LIBS") > R_LIBS_SITE...
2018 Apr 16
3
strange warning: data() error?
A user asked me about this and I can't figure it out. tmt% R R Under development (unstable) (2018-04-09 r74565) -- "Unsuffered Consequences" Copyright (C) 2018 The R Foundation for Statistical Computing Platform: x86_64-pc-linux-gnu (64-bit) > library(survival) > data(cgd0) Warning message: In data(cgd0) : data set ?cgd0? not found ---...
2011 Oct 03
0
patch: Fix [-Wunused-but-set-variable]
..., */ ret, kount; /*, j, uc; */ unsigned char ch, psend[19]; - sizes = 19; checksum = 0; /* mounting buffer to send */ @@ -645,16 +644,13 @@ static void getupdateinfo(void) unsigned char temp[256]; int tam; - int hours, mins; - /* time update */ time_t *tmt; struct tm *now; tmt = ( time_t * ) malloc( sizeof( time_t ) ); time( tmt ); now = localtime( tmt ); - hours = now->tm_hour; - mins = now->tm_min; + /* int hours, mins; hours = now->tm_hour; mins = now->tm_min; */ temp[0] =...
2014 Nov 12
4
Problem with build and check
...dap", rtype = c("xml", "json"), dateformat= "%Y-%m-%d") { server <- match.arg(server) server } I created a package "dummy" with only this function, and get the following on my Linux box. tmt-local2021% R CMD build dummy * checking for file ?dummy/DESCRIPTION? ... OK * preparing ?dummy?: * checking DESCRIPTION meta-information ... OK Warning: newline within quoted string at dart.control.Rd:11 Warning: /tmp/RtmpjPjz9V/Rbuild398d6e382572/dummy/man/dart.control.Rd:46: unexpected section h...
2014 Apr 30
2
Quantile issue
This is likely yet another instance of round off error, but it caught me by surprise. tmt% R --vanilla (headers skipped, version 3.0.2 on Linux) > load('qtest.rda') > length(temp) [1] 3622 > max(temp) >= quantile(temp, .98) 98% FALSE I can send the file to anyone who would like to understand this more deeply. The top 3% of the vector is a single repeated value...
2017 Sep 01
1
Missing y label
I did read that fine file. I added the following line to my /etc/apt/sources.list file: tmt-local2023% tail -2 /etc/apt/sources.list # R sources deb https://mirror.las.iastate.edu/bin/linux/ubuntu xenial/ Here is what apt says on my machine tmt-local2024% apt-cache policy r-base-core r-base-core: Installed: 3.2.3-4 Candidate: 3.2.3-4 Version table: *** 3.2.3-4 500 500 http://us.archive...
2017 Feb 09
2
R CMD check error
...wrote: >> Martin, >> I am aware of --vanilla; I use it myself for some testing. In this case R_LIBS_USER was >> set externally (part of my login) and does not involve any of the R scripts. That means >> it is inherited by any subprocess. For example: >> >> tmt1495% R --vanilla --no-environ >> >> R version 3.3.1 (2016-06-21) -- "Bug in Your Hair" >> Copyright (C) 2016 The R Foundation for Statistical Computing >> Platform: x86_64-pc-linux-gnu (64-bit) >> >>> >>> system("printenv | grep R_LIBS&...
2015 May 15
0
Installation error with R-devel
...rneau at mayo.edu> wrote: > I have a local library with functions that interrogates an > institution-specific web API, so is not of interest to anyone outside of > Mayo. For some reason the R CMD INSTALL command fails. See below: > > Build the library, then install it. > > tmt-local2127% R CMD build dart > * checking for file ?dart/DESCRIPTION? ... OK > * preparing ?dart?: > * checking DESCRIPTION meta-information ... OK > * installing the package to build vignettes > * creating vignettes ... OK > * checking for LF line-endings in source and make files...
2011 Jul 15
1
Confusing inheritance problem
...the kmat.pedigreeList function gives an error 'x' must be an array of at least two dimensions Adding a print statement above the rowSums call shows that the argument is a 14 by 14 dsCMatrix. I'm happy to send the library to anyone else to try and duplicate. Terry Therneau tmt% R --vanilla > sessionInfo() R version 2.13.0 (2011-04-13) Platform: x86_64-unknown-linux-gnu (64-bit) locale: [1] LC_CTYPE=en_US.UTF-8 LC_NUMERIC=C [3] LC_TIME=en_US.UTF-8 LC_COLLATE=C [5] LC_MONETARY=C LC_MESSAGES=en_US.UTF-8 [7] L...
2012 Nov 30
1
Baffled with as.matrix
I'm puzzled by as.matrix. It appears to work differently for Surv objects. Here is a session from my computer: tmt% R --vanilla > library(survival) Loading required package: splines > ytest <- Surv(1:3, c(1,0,1)) > is.matrix(ytest) >[1] TRUE > attr(ytest, 'type') [1] "right" > attr(as.matrix(ytest), 'type') [1] "right" > > y2 <- ytest &...