Displaying 15 results from an estimated 15 matches similar to: "R check passes code and docs that don't match"
2012 Jan 19
0
state multi-state modeling using hidden markov routine in the msm package
Hello Chris,
I am trying to fit a 4 state multi-state model using hidden markov routine in the msm package.
1. initial parameters:
twoway4.q <- rbind(c(0, 0.25, 0, 0.25), c(0.166,
0, 0.166, 0.166), c(0, 0.25, 0, 0.25), c(0,
0, 0, 0))
ematrix <- rbind(
c(0, 0.01, 0, 0),
c(0.01, 0, 0.01,0),
c(0, 0.1, 0, 0),
c(0, 0, 0, 0))
2. the model:
msm_covariates_sexandage <- msm(state ~
2009 Aug 03
1
MSM package and qmatrix
Hi R-helpers,
I am having a problem understanding how to construct the qmatrix, i have
read the help menu for msm but I am still a bit lost. Below is an example of
one of my transition matrices:
statetable.msm(BEH, ID, data = A1)
to
from 1 2 3 4 5 23 200 201 203 999
1 86 11 2 20 1 9 3 11 1 22
2 18 4 4 4 0 1 1 1 0 1
3 5 2 0 5 0 0 2 0 0 3
2007 Apr 18
1
undefined symbol: Rf_rownamesgets
I get the error
undefined symbol: Rf_rownamesgets
when I try to load my package, which include C++ code that calls that
function. This is particularly strange since the code also calls
Rf_classgets, and it loaded OK with just that.
Can anyone tell me what's going on?
For the record, I worked around this with the general purpose
attribute setting commands and R_RowNamesSymbol. I
2005 Mar 09
0
msm version 0.5 released
A major update of the "msm" package for continuous-time Markov and
hidden Markov multi-state models is now available from CRAN.
Hidden Markov models with general, continuous response distributions are
now supported. These models are used for Markov processes which can
only be observed through the value of some noisy marker.
Censored states are now supported at any observation time.
2005 Mar 09
0
msm version 0.5 released
A major update of the "msm" package for continuous-time Markov and
hidden Markov multi-state models is now available from CRAN.
Hidden Markov models with general, continuous response distributions are
now supported. These models are used for Markov processes which can
only be observed through the value of some noisy marker.
Censored states are now supported at any observation time.
2009 Sep 18
0
msm package - interpreting categorical results
Hi,
I have a simple question on interpreting output results from your msm
package in R when using a categorical model with hcovariates i.e.
covariates on the parameters of the emission model. The interpretation
is straightforward for normal distributions, etc. but when using
categorical distributions I get results like these:
prob
P(1)
2010 Jan 21
0
mspath analyzes transitions between multiple state with history dependence
Now available on CRAN.
Package: mspath
Title: Multi-state Path-Dependent Models in Discrete Time
Description: Functions for fitting path-dependent (non-Markov)
multi-state models to categorical processes observed at arbitrary
times, optionally with misclassified responses, and covariates on
transition or misclassification rates. Uses discrete-time
approximation. Based on the Jackson's
2010 Jan 21
0
mspath analyzes transitions between multiple state with history dependence
Now available on CRAN.
Package: mspath
Title: Multi-state Path-Dependent Models in Discrete Time
Description: Functions for fitting path-dependent (non-Markov)
multi-state models to categorical processes observed at arbitrary
times, optionally with misclassified responses, and covariates on
transition or misclassification rates. Uses discrete-time
approximation. Based on the Jackson's
2007 Nov 13
1
FW: Reference category for explanatory factors
(Oops first mistake was posting to the wrong area)
I am not sure what is needed to be posted in terms of what I have done
but will explain nonetheless.
I am using the msm.package and trying to specify my reference category
for an outcome covariate. The following command line works:
## age of respondent - using year5a: categorical
preg_fyear5a.msm<-msm(outcome~ipi, subject=id, data,
2010 Jan 26
1
stable, testing, and backports
The cran2deb archives target testing.
I just pulled a package from them onto a stable system; the library
loaded but said
> library(akima)
Warning message:
package 'akima' was built under R version 2.10.0
Are this and other packages likely to work correctly with different R's
(2.7 in the case of stable)?
How well are they likely to work with a backported R? The R version
would
2004 Aug 20
1
R CMD check testing environment
I can't tell from the docs ("Writing R Extensions" 1.9.1) exactly what
environment the tests, examples, and vignettes that R CMD check tries to
run are in.
In particular:
1) how do I get the package loaded?
2) how do I access data in the data/ directory?
3) where is the material in the other directories? (e.g., has inst/
material been installed? where?)
Apparently (section 1.3)
2010 Jan 13
1
Rd output garbled in some circumstances
I'm having trouble getting correct help output in some circumstances for
a package I've created. Though this is not an issue with the current R,
I would like my package to work with previous ones as well.
I'm looking for suggestions about how I could rework my .Rd file so that
it will work with prior R's. In particular, R 2.7 is in the latest
stable release of Debian, so I'd
2006 Nov 13
0
question on MSM warning message
Hello
After (simple random cluster) resampling with replacement I ran MSM
function and I'm getting the following warning message ,which I'm not
sure why. I don't have any absorbing stage set up in my MSM model. I
have a 4 stage uni-directional MSM model. The only thing I see might be
a problem is that when the last stage (stage 4 in my data) gets repeated
it seems to give me a warning
2010 Jan 21
1
Rgeneric.py assists in rearranging generic function definitions
I've attached a script I wrote that pulls all the setGeneric definitions
out of a set of R files and puts them in a separate file, default
allGenerics.R. I thought it might help others who find themselves in a
similar situation.
The "situation" was that I had to change the order in which files in my
package were parsed; the scheme in which the generic definition is in
the
2010 Aug 25
1
Documenting S4 Methods
I'm in the process of converting some S3 methods to S4 methods.
I have this function :
setGeneric("enrichmentCalc", function(rs, organism, seqLen, ...){standardGeneric("enrichmentCalc")})
setMethod("enrichmentCalc", c("GenomeDataList", "BSgenome"), function(rs, organism, seqLen, ...) {
... ... ...
})