Displaying 5 results from an estimated 5 matches similar to: "heatmap plot"
2008 Sep 05
5
Lowest k values of list
Hi @ all,
how do I get the largest or lowest k values of list? It must similar to the min() / max() function, but I just don't get it.
Best wishes,
Markus
2008 Jul 26
1
Remove non-numerical columns from data frame
Hello,
My question sounds simple, but as I am desperatly searchin for a solution I am
asking you all. :)
I try to filter out all non-numeric columns of a data frame using a for loop
to go through all columns. My if clause looks like this:
for(j in 1:length(data)) {
...
if(!is.numeric(data[j])) skip <- "not numeric")
...
2010 Jan 18
2
unique: factor to string
Hi community,
I want to count the occurrence of values within a dataframe.
data$names is a list of many names. With namelist <- unique(data$names) I get all the existing names. But the result is a factor, not a list of strings.
I would then like to go trough all the names in a for-loop and count their occurrence.
How do I make this?
Best regards,
Markus
2008 Feb 26
2
Multiple linear regression with for loop
Hi everyone!
I have an array containing the following fields for over hundred compounds:
cpd, activity, fixterm, energy1, energy2, energy3, ...
I want to run a multiple linear regression on all entries of an array. Therefore I tried to do this with a for loop. (Maybe there is a direct way of calculating it using apply, but I don't know that either.)
Actually i tried the following code:
2009 Jan 20
5
Error message from CV.GLM
Dear list members.
I have problems with the usage of cv.glm from the boot package. Here are some parts of the script I wanted to use:
data <- read.table("selected_2D.csv", header=TRUE, sep=",")
?
glm.fitted <- glm("ydata$ y ~ 1 + density + vsurf_ID6 + vsurf_S ", data=data)
error <- cv.glm(data=data, glm.fitted, K=6)
ydata$y is a separate data set, where