Displaying 7 results from an estimated 7 matches for "matrx".
Did you mean:
matrix
2012 Mar 17
3
rtriang using ifelse statement
...to draw from.
>From the output, I can see that the ifelse statement is choosing the correct
distribution, however, my n=4 simulations aren't occurring. Is there a way
to adjust the ifelse statement to fix this, or must I take an entirely
different approach? Many thanks for your help.
> matrx <- matrix(c(2, 1, 1, 2, 2,1), nc=nx)
> matrx
[,1] [,2] [,3]
[1,] 2 1 2
[2,] 1 2 1
> # rtriang from mc2d package: function (n, min = -1, mode = 0, max = 1)
>* dmatrx<- ifelse(matrx==1, rtriang(4, min=0.001, mode=matrx, max=2.001),
rtriang(4, min=2, mode=matrx,...
2004 Sep 09
2
Rd syntax error detected in CRAN daily checks
...errors:
/var/mnt/hda3/R.check/r-devel/PKGS/Design/man/Design.trans.Rd:
unterminated section 'alias'
The .Rd file is attached. It begins with
\name{Design.trans}
\alias{Design.trans}
\alias{asis}
\alias{pol}
\alias{lsp}
\alias{rcs}
\alias{catg}
\alias{scored}
\alias{strat}
\alias{matrx}
\alias{\%ia\%}
\title{
Design Special Transformation Functions
}
\description{
This is a series of functions (\code{asis}, \code{pol}, \code{lsp},
....
No error is detected when I run CMD CHECK using the latest R-devel
locally, using the 5 Sep 04 version. I would appreciate assistance.
Please...
2008 Jul 27
4
product of successive rows
Hi everyone,
I want to perform an operation on a matrx that outputs the product of
successive pairs of rows. For example: calculating the product between rows
1 & 2; 3 & 4; 5 & 6...etc.
Does anyone know of any readily available functions that can do this?
Thanks,
rcoder
--
View this message in context: http://www.nabble.com/product-of...
2009 Aug 10
2
matrix power
Hi, All,
If I have a symmetric matrix, how can I get the negative square root of the
matrx, ie. X^(-1/2) ?
Thanks,
Cindy
[[alternative HTML version deleted]]
2013 Apr 19
2
NAMESPACE and imports
...bplot,calibrate,cph,catg,combineRelatedPredictors,confplot,contrast,coxphFit,cph,cr.setup,datadist,effective.df,fastbw,formatNP,gendata,gIndex,GiniMd,Glm,Gls,groupkm,Hazard,hazard.ratio.plot,histdensity,"%ia%",ie.setup,interactions.containing,legend.nomabbrev,lm.pfit,lrm,lrtest,lsp,matinv,matrx,Newlabels,Newlevels,nomogram,num.intercepts,ols,ols.influence,oos.loglik,pantext,Penalty.matrix,Penalty.setup,pentrace,perimeter,perlcode,plot.xmean.ordinaly,pol,pphsm,predab.resample,Predict,psm,rcs,related.predictors,reVector,robcov,Rq,sascode,scored,sensuc,setPb,show.influence,specs,strat,Surv,&...
2010 Oct 04
1
I have aproblem about nomogram--thank you for your help
...to:model.frame.default(formula = y ~ as.numeric(T.Grade) + as.numeric(Sex) + :
???????? the length of the variable is different ('as.numeric(T.Grade)')
I encounter aproblem in the last program,and I try to settle this problem though several ways ,just like:
asis(x, parms, label, name)
matrx(x, label, name)
pol(x, parms, label, name)
lsp(x, parms, label, name)
rcs(x, parms, label, name)
catg(x, parms, label, name)
scored(x, parms, label, name)
strat(x, label, name)
x1 %ia% x2
and i can not settle this problem
can you tell me how to settle this problem,thank you...
2011 Apr 19
2
Markov transition matrices , missing transitions for certain years
...e a function
(shown below), though I'm not sure if it is needed, I am a bit new the
programming world. If I could get some help either with the function or a
way around it that would be most appreciated! Thank you!
--------------
Function requires the commands already listed above:
FMAT <- matrx(0, nrow=4, ncol=4, byrow=TRUE)
#This is the matrix that will store the frequency of each possible
transition occurring over the 4 years
nboxes <- 4
nyears <- 4
for(row in 1:nboxes)
{
for(col in 1:(nyears-1))
{
FMAT[boxes[row,col+1], boxes[row,col]] <- boxes[boxes[row, col+1],
boxes[row,c...