Displaying 7 results from an estimated 7 matches similar to: "help on "stacking" matrices up"
2013 Apr 15
2
regression with paired left-censored data
HI
I am trying to analyse data which is left-censored (i.e. has values below the detection limit). I have been using the NADA package of R to derive summary statistics and do some regression. I am now trying to carry out regression on paired data where both my X and Y have left-censored data within them.
I have tried various commands in R:
rega = cenreg(Cen(conc, cens_ind) ~ Gp_ident))?
with
2013 Jan 25
5
Loop question?
Dear All
I have the following data (somewhat simplyfied):
TINF <-1
a <-c(500,750,1000,1250,1500,1750,2000)
b <-c(8,12,18,24,36,48,60,72,96)
following function:
infcprodessa <-function (D, tin, tau, ts)
(D * (1 - exp(-0.048 * tin))/(tin * (0.048*79) * (1 - exp(-0.048 * tau)))) * exp(-0.048 * (ts - tin))
z <-sapply(1:1, function(n) infcprodessa(1000,TINF,12,12-TINF))
is
2012 Nov 26
1
Help on function please
Dear All,
I could use a bit of help here, this function is hard to figure out (for me at least) I have the following so far:
PKindex<-data.frame(Subject=c(1),time=c(1,2,3,4,6,10,12),conc=c(32,28,25,22,18,14,11))
Dose<-200
Tinf <-0.5
defun<- function(time, y, parms) {
dCpdt <- -parms["kel"] * y[1]
list(dCpdt)
}
modfun <- function(time,kel, Vd) {
out <-
2007 Jun 04
0
nls problems
Hi, All:
The following identifies apparent inconsistencies and proposed
fixes between the documentation and the behavior of 'nls'.
Specifically, the help file says 'data' 'Can also be a list'.
However, I got an error when I tried it with a list that could not be
coerced to a data.frame. This is documented in the first example below.
Also, the
2011 May 01
1
Mean/SD of Each Position in Table
I have 100+ .csv files which have the basic format:
> test
X Substance1 Substance2 Substance3 Substance4 Substance5
1 Time1 10 0 0 0 0
2 Time2 9 5 0 0 0
3 Time3 8 10 1 0 0
4 Time4 7 20 2 1 0
5 Time5
2011 Jan 11
0
modified FAST Script from package SensoMineR for the R community - Reg
###Dear R users
###I have been using SensoMineR package from CRAN for most of my work in
sensory data analysis and from my usage experience, I encountered some
areas for improvement and considered ###modifying the function in
SensoMineR package for my personal use. I felt that it could be useful to
share this to the community for enabling adoption by other users where
they might require a
1999 Mar 09
2
summary() of lm() problem (PR#135)
Debuggers,
I wrote to r-help about this and was appropriately told off by Peter
Dalgaard. I append that mail in case you have not seen it.
Following Peter's advice I have attempted to simplify the problem.
First note that the following does *not* fail (by which I mean crash, as
in generate a memory access violation):
> tmp<-matrix(c(1,0,0,1,1,1),2,3)
>