I am developing an interactive scatterplot so that when the user rolls over
a data point, a label is displayed. However, I would also like to add edges
between certain data points.
I am successful at developing the interactive scatterplot using several
libraries, including grid, gridSVG, lattice,
Something like this might help you get started.
Simulation <-
c(10403, NA, NA, NA, NA, 11178, NA, NA, NA, NA, 11521, NA, NA,
NA, NA, 11385, NA, NA, NA, NA, 10102, NA, NA, NA, NA, 10544.013,
10339.925, 9912.695, 9928.198, 9932.112, 9008.05, 9437.174, 10406.784,
10832.123, 11095.868, 10955.0
The randomForest function generates an error whenever
I supply it with a formula using the function, I() to inhibit interpretation.
When I do so, I always get an error like this one:
Error in unique(c("AsIs", oldClass(x))) : object 'Age' not found
Is this because of:
1. a restriction for t
If I'm reading this correctly, you want to add a column to your
dataframe with a name corresponding to the value in the Hunger column.
myframe <- data.frame (ID=c("Ernie", "Ernie", "Ernie", "Bert",
"Bert","Bert", "Duck"), Hunger=c(1,1,1,2,2,1,3) )
myframe$Hungertype <- c("none", "bighunger", "ver
Hello,
It must be very easy.
I have data like this:
myframe <- data.frame (ID=c("Ernie", "Ernie", "Ernie", "Bert",
"Bert","Bert", "Duck"), Hunger=c(1,1,1,2,2,1,3) )
myframe
bighunger <- subset (myframe, myframe$Hunger>=2 &myframe$Hunger <3 )
bighunger
verybighunger <- subset(myframe,myframe$Hun
Your code does not produce the matrix in your image.
The first three rows contain all-zeros and the last row is missing.
The following line fixes that:
m <- rbind(m[-(1:3), ], 1:5)
Given that matrix, the following code produces the output
you have illustrated. It's so trivial however that I suspe
Dear all,
I thought I would better send an image illustrating that the problem is
(hope the file gets through). In the picture, the matrix "m" is given by
## input
m <- structure(c(0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 2, 2,
2, 2, 2, 2, 2, 2, 2, 0, 0, 0, 3, 3, 3, 3, 3, 3, 3, 3, 3, 0, 0,
0
On 10/28/2015 06:00 AM, r-help-requ...@r-project.org wrote:
Hello all!
I?m fitting a mixed effects cox model with coxme function of coxme package.
I want to konw what is the best way to check the model adequacy, once that
function cox.zph that does not work for coxme objects.
Thanks in advanc
Dear all,
Here is an answer I found.
```
library(stringi)
src <- readBin("orglist-100.CSV", "raw", file.info("orglist-100.CSV")$size)
src2 <- stri_encode(src, "UTF-16LE", "UTF-8")
con <- textConnection(src2)
answer <- read.table(con, header = TRUE, sep = ",")
```
Hope it will help someone in the
No attachements. R-help is very picky about attachements.
I'd suggest supplying the data using dput() . See ?dput for more information
It is probably best to just copy and paste the code into your email. If this is
no practical try sending a plain text file with a .txt extension
John Kane
King
Hello all!
I´m fitting a mixed effects cox model with coxme function of coxme
package. I want to konw what is the best way to check the model
adequacy, once that function cox.zph does not work for coxme objects.
Thanks in advanced,
Raoni
--
Raoni Rosa Rodrigues
Research Associate of Fish Trans
11 matches
Mail list logo