how can i extract specific value and strings variable in R CODE for example what if i want to extract the study time of TDU STUDNETS students = c("TDU","CSD","FSD"," ASD") study time=c(13, 11.2, 5.4, 16.0)
how can i extract specific value and strings variable in R CODE for example what if...
I need to know how to use R to count certain values in a variable. Example design code to look in a table for the variable Cars and count in the rows if they are suburu or ford out of a sample of 15.
in python I have a list of strings, some contain purely numbers while others are dates, names, etc. I am trying to convert the strings containing only numbers into floats. this is the code I am using but it alwyas returns nothing. Python just says restart and nothing goes through. how can I get my code to do what I want? f = open('GOOG-HistoricalQuotest.txt','r+') ff=f.readlines() clean = [] lst = [] for i in range(2,len(ff)+1): try: [float(i) for i in...
R is a little difficult for me, please answer if you can interpret the R code, I want to learn better how to interpret the R code 4. each 2 pts] Below is the R output for a simple linear regression model Coefficients: Estimate Std. Error t value Pr(>t) (Intercept) 77.863 4.199 18.544 3.54e-13 3.485 3.386 0.00329* 11.801 Signif. codes: 0 0.0010.010.05 0.11 Residual standard error: 3.597 on 18 degrees of freedom Multiple R-squared: 0.3891, Adjusted R-squared: 0.3552 F-statistic: 11.47...
In general terms (or with a specific example) how can measurements of the stable isotope of carbon, 13-C, be used to determine that material has been acted upon by a particular biological/enzymatic process?
How can I simply set up a SMTP in my personal html code? Example code would be helpful with GET and POST methods.
How to start a variable to keep track of time that has passed in arduino I want a code on how to record how much time has passed and use it in an if statement Arduino uses a form of C
Im stuck. can someone please show me code on how i can make text appear on html canvas. i want to create a form where someone for example put their name and when submit button is clicked on the form it appear on the canvas. i am using html javascript. please show code for javascript, canvas, and html. please let me know if im not making sense. Thank you
What to do This assignment will give you some exposure to how strings are implemented in C. Please create one file main.c that contains a driver main() and a function str_len() as follows: int main(void); int str_len(char string[]); Here is what these functions are supposed to do: main() is the driver that calls str_len(). Specifically, main() will take a string from the command line and print out the length of the string, internally using str_len(). str_len() takes one arguments, i.e....
I need help. this question has to be coded in R and the full code of what to run is what I need. 2.24. Two machines are used for filling plastic bottles with a net volume of 16.0 ounces. The filling processes can be assumed to be normal, with standard deviations of o and o2 = 0.015 0.018. The quality engineering department suspects that both machines fill to the same net volume, whether or not this volume is 16.0 ounces....
can someone provide how i code this with matlab and provide explanations for each of them? The natural logarithm of 1+x can be expressed using the Mercator series, given on the right-hand side of the equation below: Problem 2. (a) Generate a real random number in the range from-1.0 to 1.0 and assign it to variable x. (b) Compute the sum of the first 100 terms of the Mercator series fodthe r value obtained in part (a). The natural logarithm...