Hello, thanks for your input..
This is barely what I have... don't know what I'm supposed to put for x= where it says (x=number) and (x=text). Or maybe I'm going about it completely wrong?
x<-"zzzz"
funcOne <-function(x) {
if(x=text){
result <-"text"
} else {
result <-"number" }
print(result)
}
funcOne(x)