Displaying 7 results from an estimated 7 matches for "smartguy3k".
2011 Aug 29
2
Problem in writing a R data frame to Excel format using RODBC package
Hi Experts,
I was trying to write a data frame which has a header row,
from R to Excel disk file using RODBC ( RODBC_1.3-1) package. I met with an
issue:- If in sqlSave(), I set a parameter "colnames=FALSE" then I get
first row as header in excel file. If 'colnames=TRUE' then it gives me first
2 rows as header in excel file.
Actually, according to my
2011 Nov 23
2
SPSS F-test on change in R square between hierarchical models
...tively, if someone knows how I can calculate the test
statistic (SPSS calls it F-change?) and dfs that would be helpful as well.
The output and the test I am looking for is available here ->
http://dl.dropbox.com/u/1501309/spss_rsquared.pdf
Chris
On Wed, Nov 23, 2011 at 6:20 AM, Smart Guy <smartguy3k@gmail.com> wrote:
> Hi All,
> I was adding a new row of data to my data frame using rbind(). I
> was surprised to see that after adding new row, I lost my data frame level
> attibute as well as col level attribute. Please help me to insert a new
> row at frist or middl...
2011 Oct 31
1
Get missinfg values with dataframe using read.spss
Hi All,
Here is my problem.
I need to get data frame (and not a list) while reading spss file using
read.spss. For which I can put one parameter of read.spss as
to.data.frame=TRUE.
Now in doing so, I dont get missing values.
Is there a way to get missings values along with data frame?
Thanks in advance.
--
SG
[[alternative HTML version deleted]]
2011 Nov 23
1
Losing custom attributes
Hi All,
I was adding a new row of data to my data frame using rbind(). I
was surprised to see that after adding new row, I lost my data frame level
attibute as well as col level attribute. Please help me to insert a new
row at frist or middle position so that my custom attribute is not lost.
Here is what I did.
age<-c(15,20,18)
weight<-c(40,42,30)
### creating my data frame
2011 Oct 04
3
The use of period in function names and variable names
Hi,
I am looking for some guidance on whether I can use the period(.) in
function names and variable names.
For example:
my.function.name <- function(my.data.variable, my.radius, my.another.var,
my.value = 10)
{
}
Will this pose any problems regarding older and current version of R.
--
SmartG
[[alternative HTML version deleted]]
2011 Oct 29
1
Add col in data.frame
Hello Gurus,
I am still new to R. Here is my issue.
I was trying to add column to data frame that was populated by read.spss().
When I used cbind to add a new variable(column).
library(foreign)
mydf<-read.spss(file="C:/myspss.sav",use.value.labels=FALSE,
to.data.frame=TRUE,use.missings=FALSE)
attr(mydf,"variable.labels")
## it gives you all the labels
2011 Oct 11
4
need help on read.spss
Hi,
I have one doubt about one of the parameter of 'read.spss()' from
'foreign' package.
Here is the syntax :-
read.spss ( file,
use.value.labels = TRUE,
to.data.frame = FALSE,
max.value.labels = Inf,
trim.factor.names = FALSE,
trim_values = TRUE,
reencode = NA,
use.missings = to.data.frame )
In above syntax when I pass *'to.data.frame=