Displaying 4 results from an estimated 4 matches for "melissarosenkranz".
2012 Apr 21
2
using "factor" to eliminate unused levels without dropping other variables
Hello,
I have been banging my head against the wall trying to figure out this
seemingly simple problem with no success. I'm hoping that one or some
of you can help.
Here is the code I am trying to use:
#importing data
data.file <-read.csv("/file/location", header=TRUE, sep = ",")
#selecting a subset of data based on variable "Sample"
data.subset1 <-
2012 May 16
2
trouble with ifelse statement
Hello,
I apologize in advance for not providing sample data, I'm a very new to R
and can't easily generate appropriate sample data quickly. I'm hoping
someone can offer advice without it.
This code below works and does what I want it to do, which is for a given
row in my dataframe, where the variable "peak.cort" = max, it makes the
value of another variable
2012 Apr 23
2
plot function creating bars instead of lines
Hello,
I am having a problem where code that plots lines using a different data
frame plots bars with the current data frame (I am intended to plot lines).
The code specifies lines (see below), so I can't figure out why the results
are bars. I suspect that it may have something to do with the fact that in
the data frame where the code worked as intended, the both variables
specifying
2012 May 15
2
max value
Here is an R problem I am struggling with:
My dataset is organized like this...
subject session variable_x variable_y
01 1 1 <interger values>
01 1 2
01 1 3
01 2 1
01 2 2
01