Hi,
I'm doing by best to submit my questions or challenges in reproducible examples but I have constant problems with reprex…
I even started retyping my excel tables or csv files in the r as assignment codes (very time consuming!) but it helped me to prepare one reproducible example (multiResponse in ufs or other easy ways of creating multiresponse sets - #2 by Slavek).
Nevertheless, I have constant errors with the second one
Examples:
Rendering reprex...
Rendered reprex is on the clipboard.
Warning message:
In utils::writeClipboard(rendered_content, format = 1) :
unable to open the clipboard
>
or
No user-supplied code found … so we’ve made some up. You’re welcome!
Another one, after simply copying and "reprexing" this data:
URN=c("aaa","ccc","aaa1","bbb1","ccc1","bbb11","aaa3","bbb3","bbb311","ccc311","bbb33","aaa331","ccc331","bbb3311","ccc3311","aaaf","bbbf","cccf","aaaf11","bbbf11","aaaf2","bbbf2")
D1 = c(10,10,10,-1,-1,99,-1,10,9,9,10,10,10,10,10,10,-1,-1,9,-1,10,-1)
ModelLong=c("cc","aa","aa(2014~)","ccN","bb(2014~)","","","cc","cc","bb(2014~)","cc","aa","bb(2014~)","","cc","ccN","cc","aa","bb(2014~)","bb(2014~)","ccN","aa(2014~)")
VIN=c("TMAH3811ALJ058","NLHA851CABZ405","NLHA751AALZ555","TMAHC51AALJ015","NLHB351BALZ577","TMAH2814AKJ049","NLHA851CALZ557","TMAH3813GLJ057","TMAH2514ALJ113","NLHB351AAKZ539","TMAHC51AAKJ018","NLHA851CBLZ558","NLHB351AGLZ580","NLHB351BALZ573","TMAD151AALJ016","TMAHC51AALJ017","TMAH3513GLJ101","NLHA851CB8Z552","NLHB351AGKZ507","NLHB351BALZ573","TMAHCH1AALJ005","NLHA851CALZ557")
Sales.data <- data.frame(URN, D1, ModelLong, VIN)
Sales.data
is:
Removing leading prompts from reprex source.
Rendering reprex...
Error in parse(text = x, keep.source = TRUE) :
<text>:18:11: unexpected symbol
17: #+ reprex-body
18: Rendering reprex...
^
>
What can I do? I was told that using datapasta instead makes your help difficult