Displaying 3 results from an estimated 3 matches for "conponent".
Did you mean:
component
2011 May 04
3
SAPPLY function XXXX
...n to count the number of non-missing
values of each column in a data frame using the sapply function. I have the
following code which is receiving the error message below.
> n.valid<-sapply(data1,sum(!is.na))
Error in !is.na : invalid argument type
Ultimately, I would like for this to be 1 conponent in a larger function
that will produce PROC CONTENTS style output. Something like...
data1.contents<-data.frame(Variable=names(data1),
Class=sapply(data1,class),
n.valid=sapply(data1,sum(!is.na)),
n.miss=sapply(data1,sum(is.na)))
data1.contents
Any suggestions/assistance are appreciated.
T...
2012 Feb 08
4
The program ChairGun2 can't be started up
Hello,
The application ChairGun2 can't be started up.
When starting it shows the mistake:
Code:
Run-time error ?429?
ActiveX conponent can?t create object
Wine version 1.2.3 for Cent OS 6.2. is used.
This application also didn't work on older versions.
What should I do? How to solve the problem?
Download ChairGun2:
http://turbobit.net/sj18namk8947.html
2012 Jun 27
1
Error: figure margins too large
...m(apply(mydataSNc,2,var))
for (i in 2:15)
wss[i] <- sum(kmeans(mydataSNc, centers=i)$withinss)
plot(1:15, wss, type="b", xlab="Number of Clusters",ylab="Within groups sum of squares")
#perform Kmeans with 2 clusters
kmSNc2 <- kmeans(mydataSNc,2)
#print conponents of kmSNc2
print(kmSNc2)
#plot 2 clusters
plot(mydataSNc, col = kmSNc2$cluster)
#plot 2 centers
points(kmSNc2$centers,col = 1:2, pch = 8)
After the above bolded code, I get this following error:
> #plot 2 clusters
> plot(mydataSNc, col = kmSNc2$cluster)
Error in plot.new() : figure...