blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 2 327 | content_id stringlengths 40 40 | detected_licenses listlengths 0 91 | license_type stringclasses 2
values | repo_name stringlengths 5 134 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 46
values | visit_date timestamp[us]date 2016-08-02 22:44:29 2023-09-06 08:39:28 | revision_date timestamp[us]date 1977-08-08 00:00:00 2023-09-05 12:13:49 | committer_date timestamp[us]date 1977-08-08 00:00:00 2023-09-05 12:13:49 | github_id int64 19.4k 671M ⌀ | star_events_count int64 0 40k | fork_events_count int64 0 32.4k | gha_license_id stringclasses 14
values | gha_event_created_at timestamp[us]date 2012-06-21 16:39:19 2023-09-14 21:52:42 ⌀ | gha_created_at timestamp[us]date 2008-05-25 01:21:32 2023-06-28 13:19:12 ⌀ | gha_language stringclasses 60
values | src_encoding stringclasses 24
values | language stringclasses 1
value | is_vendor bool 2
classes | is_generated bool 2
classes | length_bytes int64 7 9.18M | extension stringclasses 20
values | filename stringlengths 1 141 | content stringlengths 7 9.18M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
6d66244078f75bfbe43826f75718a1789addfe7e | fabeb2607ecda04a55e39c9467514a6b8c36dbf6 | /man/filterMarker.Rd | 4a31514ce5a795125b9f62112d873a303e368227 | [
"Apache-2.0"
] | permissive | athrom/mineCitrus | 7b38147527245aea2e5ca63af93979617845e776 | 817ac217497a4415fc711f80808301db7b85ca38 | refs/heads/master | 2020-03-22T11:35:06.863207 | 2018-07-06T12:20:34 | 2018-07-06T12:20:34 | 139,981,093 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,072 | rd | filterMarker.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/filterMarker.R
\name{filterMarker}
\alias{filterMarker}
\title{Filters list of data matrices with columns corresponding to the measured parameters of interest}
\usage{
filterMarker(clustdat, markers)
}
\arguments{
\item{clustdat}{a list of da... |
e967569912ab259a4e7844bb984b37f26a9d82f2 | 354ff8282b7a169a6735fe1233e50111480cae20 | /cachematrix.R | df98211bea3047e20144b607c584373ad632aad3 | [] | no_license | kbelsvik/ProgrammingAssignment2 | 5fb9e7162575c70dc3d800e595dec9fe9fd10ec6 | eaa846cb23af38acec17978c7dfc99739813c6cb | refs/heads/master | 2021-01-22T17:09:07.796747 | 2014-05-21T05:11:21 | 2014-05-21T05:11:21 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,272 | r | cachematrix.R | ## These two functions create a special matrix that can cache its inverse
## in order to avoid doing the costly calcuation of the finding inverse of
## a matrix, after it has already been calculated once.
## This function creates a special "matrix" object that can cache its inverse.
## Arguments:
## x - the matrix to ... |
84912cf29bc1aedaf37093c47aed3174998186e2 | 6aa994aa92152e5e85eedc545dc823427526216f | /R/core-options.R | bb81b98ee70db6569c5d895e15c7a2bfae533d17 | [] | no_license | dipterix/ravecore | 44647cdf83603ed8aa4a480d7f20202d54736dd5 | 399835d321784aa8235f67422067f3cd7f04621d | refs/heads/master | 2022-11-25T01:40:21.277681 | 2020-08-02T04:36:30 | 2020-08-02T04:36:30 | 276,688,836 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,879 | r | core-options.R | # RAVE Options
# A RAVE option must be stored at ~/.rave.yaml
# this is a rewrite of rave_option to make the package portable
RAVE_YAML_FILE <- '~/.rave.yaml'
rave_options_object <- dipsaus::fastmap2()
rave_options_initialize <- function(){
.subset2(rave_options_object, 'mset')(
# Flags
debug = FALSE,
... |
fc764186ac240d343f59768ad15524e0839ee3ff | 3a18b3c0d502ee05adb181576580b13e8d0ffda6 | /man/getTimes.Rd | b22b40905017e518ec6b6eb60ceb3c18449fe575 | [] | no_license | cran/DOBAD | ccef2dfc96f279c5fd63fb98af8873c66b5bdc1c | 449bbcf65fd2f0474f3d2c792e64c9e557a489ef | refs/heads/master | 2021-01-22T03:39:30.753749 | 2017-12-07T17:32:19 | 2017-12-07T17:32:19 | 17,678,676 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 425 | rd | getTimes.Rd | \name{getTimes}
\alias{getTimes}
\alias{getTimes,CTMC-method}
\alias{getTimes,BDMC-method}
\alias{getTimes,CTMC_PO_1-method}
\title{
Get list of jump times.
}
\description{
Object accessor. First jump time is 0.
}
\usage{
getTimes(object)
}
\arguments{
\item{object}{ A CTMC. has a list of jump times.
}
}
\detai... |
e3da6976b0ead6252c38715e36f493771e3b3d59 | ac28fd28cebf815711e025382e77d53bb760cfba | /scripts/feature_utils/merge_features_tile_only.R | 5984a374fda8011dd5dc8079cf8005ee9d70a366 | [] | no_license | ansariom/pipeline_exe | 340cba9d9e64fe7ee03b78fc8a2d5b5de4014111 | 8691fa5170ccdb6fa5b391563541baa6bfd82a35 | refs/heads/master | 2023-05-02T03:53:44.085454 | 2021-05-24T20:30:39 | 2021-05-24T20:30:39 | 370,475,530 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,130 | r | merge_features_tile_only.R | #!/usr/bin/env Rscript
library(tidyr)
library(dplyr)
library(data.table)
args <- commandArgs(trailingOnly = TRUE)
if(length(args) < 7) {
print("This script is meant to join 4 very specifically-formatted 'feature' files into a single file for modeling and analysis.")
print("It uses maybe like... 25G of RAM.")
print(... |
91875e85d8b596c3426be0190f300d713b170354 | 1d89ce36482787747298ce7b9312e5af15ad4b00 | /grade_performance.R | dfb2e0af5c6e0cd8f39f44eb004de097b924a1c7 | [] | no_license | sinanz/LASI_2019_equity | 8db98ecf3b2bcc6f5f3f1cb8bf8e8dc7526ac60d | d753fc5988148e32d79de7ba081018eeb71aaa38 | refs/heads/master | 2020-06-28T02:23:09.488236 | 2019-06-19T19:22:43 | 2019-06-19T19:22:43 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,590 | r | grade_performance.R | grade_performance <- function(sr,sc,SBJCT='PHYSICS',CATNUM=140,SBJCT2='NONE',CATNUM2='NONE',
EQUITY=FALSE,DIVERSITY=FALSE,INCL=FALSE,ISREAL=FALSE)
{
#install.packages(c('tidyverse','optmatch','lars'))
#library(tidyverse)
#library(optmatch)
#library(lars)
#source('~/Google ... |
085c5a35e704c52784d4e5e208baa0b92622cbb4 | 14d13a252b48c9ffbae35e76943e4ea4f431ef80 | /content/en/assignments/Homework/HW07/HW07.R | 75ce8d65c2111663af9e84f6ebe10f24a0e0d7de | [
"Apache-2.0"
] | permissive | jdhayes/GEN242-1 | a66fd9d6bea6bf5500100d4f8f9391651234a31f | 72731897124905fc75de00ef31fbdb04cb72d0db | refs/heads/main | 2023-06-07T04:48:00.269512 | 2021-06-12T23:11:15 | 2021-06-12T23:11:15 | 381,532,596 | 0 | 0 | Apache-2.0 | 2021-06-30T00:38:51 | 2021-06-30T00:38:50 | null | UTF-8 | R | false | false | 2,452 | r | HW07.R | ## A. Unstranded and strand-specific read counting for features of interest
## Task 1: Rerun the RNA-Seq workflow
## with the toy data sets up to the read quantification step. In the read
## quantification step with `summarizeOverlaps` generate count tables for exons by
## genes (`eByg`) of the following three strand... |
e37f25f9804f805154b092786a1d1aaaab63cfce | 5a4f0cb1aeb4a0488b365eedc49c96459ded7c7a | /tests/testthat/test-makefile.R | d1a1ea730f745068b2f91083c3f898ebe884c74d | [] | no_license | beerda/rmake | 8fb80f535d81fc4944e5f7a8fa7afd25a8cc60ad | 61b615a9dd993501cb54a0f39f4bcaf598b14ff1 | refs/heads/master | 2022-07-09T13:14:15.041544 | 2022-06-30T09:06:27 | 2022-06-30T09:06:27 | 118,428,899 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 10,164 | r | test-makefile.R | source('sanitizeCovr.R')
test_that('1 rule makefile', {
job <- list(rule(target='target.Rdata', depends=c('dep1', 'dep2'), build='buildCmd', clean='cleanCmd'))
res <- makefile(job, fileName=NULL)
res <- sanitizeCovr(res)
res <- res[-seq_len(which(res == ''))]
expect_equal(res, c('.PHONY: all',
... |
021212f15863605585bc108bcae671888da1b274 | 596b6fa0a1c1f30885c5028527c194a571dab16d | /R/plot_cummean.R | bf58c8c19e585a402ba3be6a099550639ccc385e | [] | no_license | realsmak88/ss3sim | 88dd30b688574cce04c591b41eb8b87eb5f4e972 | 50606b75f9486fab62d12c1b7896b78b4191a29a | refs/heads/main | 2023-06-17T13:12:02.912688 | 2021-07-07T16:03:52 | 2021-07-07T16:03:52 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,965 | r | plot_cummean.R | #' Plot the cumulative mean for a parameter
#'
#' @param data A valid data frame containing scalar or timeseries values
#' from a \pkg{ss3sim} simulation. That data are generated from
#' \code{\link{get_results_all}}.
#' @param var The column name of the parameter in data of which to plot
#' cumulative mean. A strin... |
d979d8be43fd2ff832c9ca1efba512243653c3c9 | 897f0581bfc3403318f56072f7af1163b8189733 | /combineprobes.R | fc6d34cdd279f629890f0636c6397918dd886779 | [] | no_license | jashworth-UTS/ja-scripts | 2985891e628bae59b1f4b8696739cbf63b5a2dc2 | ac837ac0fee63c27b3b8ac4d9a5022810fb31976 | refs/heads/master | 2021-05-28T18:39:20.272694 | 2015-02-04T02:35:17 | 2015-02-04T02:35:17 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 560 | r | combineprobes.R | # work in progress?
combineprobes=function(mapping,lvls,data){
out=data.frame()
cols=colnames(data)
cols=cols[2:length(cols)]
print(cols)
print(lvls)
for (l in 1:length(lvls)) {
lvl=lvls[l]
print(lvl)
out[l,1]=lvl
probes=mapping$probe[which(mapping$transcriptId==lvl)]
for (p in 1:length(probes)) {
pr... |
871e23db977484e903314f353dbc73f65be393f1 | ab46204c224baab49f6b7db70664cc36315b315b | /recursive_fib.R | 13c394bd0fe559fc879a921f178805498b4e1df9 | [] | no_license | AbdouSeck/RCpp_Integration | 85193e31967c805c4ef3e8b9535c830558be8d5d | c444c086d1f38821b82fedb8bc817974b28136aa | refs/heads/master | 2021-07-26T00:27:19.300317 | 2017-11-08T22:22:26 | 2017-11-08T22:22:26 | 110,036,646 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 103 | r | recursive_fib.R | fibR <- function(n) {
if (n == 0) return(0)
if (n == 1) return(1)
return(fibR(n-1) + fibR(n-2))
} |
ee9f10416c903503d38c0eaaceba8688add40493 | 85844b48d375a8e142ef00d06c73bf68b9d0d88f | /R/trainRegYdots.R | dd00ace56f15db0c682de79089fe92fed0129bda | [] | no_license | matloff/rectools | 57b885b324fe16754b35f5f3970ab39d647e99b8 | 88dd1b5eca083ce544a089c127e4659da9d790fe | refs/heads/master | 2022-05-30T06:00:55.505105 | 2022-03-08T23:01:18 | 2022-03-08T23:01:18 | 104,937,424 | 16 | 4 | null | null | null | null | UTF-8 | R | false | false | 3,661 | r | trainRegYdots.R |
# Motivation:
# In the MM and MLE latent-factor models in this package, we have
# Y_ij = mu + alpha_i + beta_j + eps
# But the above equation looks like a regression equation, so we might
# treat estimates of alpha_i and beta_j in the form of per-user and
# per-item sample means Yi. and Y.j, as predictor varia... |
3b467f565d8ef855bcbeaaa47619aca28d7d61df | b1bb60295cc338fa966666e50d7f5ec9acdbb539 | /man/parseVariables.Rd | 0f169251f91db7665a12ac2576dd110b3bee0c3d | [] | no_license | dougmet/makeparse | fb264e56ed5b8809c56dce491668d4a8763726a4 | 6098e7f31c6b7852d155e0e7baf53cbf9c3e7179 | refs/heads/master | 2020-06-21T11:38:52.079739 | 2017-01-16T15:31:40 | 2017-01-16T15:31:40 | 74,788,603 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 471 | rd | parseVariables.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/variables.R
\name{parseVariables}
\alias{parseVariables}
\title{Parse the variables section of the database}
\usage{
parseVariables(vardf)
}
\arguments{
\item{vardf}{The data frame corresponding to the variables section}
}
\value{
A list of l... |
ab5a554b0f254b61017db8d6100cab846f187909 | 24a70dd5aafb39a143fddc06bfcff539000241a6 | /Rna-Seq.R | 45b206eabb4833667a144ed94b7c69891a058210 | [] | no_license | Czh3/ATAC-seq | 1d3b7ce7ad08b2fff90d38c6ba6aa25a6813db92 | 9ff53fcec6bc5173a5a927c382df02da52521ac2 | refs/heads/main | 2023-03-11T01:22:35.425358 | 2021-03-04T04:13:37 | 2021-03-04T04:13:37 | 309,579,280 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 8,817 | r | Rna-Seq.R | # RNA-seq for HEVUC senescence project
library(DESeq)
library(edgeR)
library(gplots)
library(reshape)
rep1 = read.table("/lustre/user/liclab/zhangc/Taolab/xiaohuangli/RNA/pipe_out/cufflinks/cuffnorm/genes.count_table", header = T, row.names = 1)
rep2 = read.table("/lustre/user/liclab/zhangc/Taolab/xiaohuangli/RNA_rep2... |
e12159296783e567d7c535f81e878dd6a91d6773 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/DAAG/examples/carprice.Rd.R | f06eeef4e9af469097795413b59dd20f054b4fca | [] | no_license | surayaaramli/typeRrh | d257ac8905c49123f4ccd4e377ee3dfc84d1636c | 66e6996f31961bc8b9aafe1a6a6098327b66bf71 | refs/heads/master | 2023-05-05T04:05:31.617869 | 2019-04-25T22:10:06 | 2019-04-25T22:10:06 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,043 | r | carprice.Rd.R | library(DAAG)
### Name: carprice
### Title: US Car Price Data
### Aliases: carprice
### Keywords: datasets
### ** Examples
print("Multicollinearity - Example 6.8")
pairs(carprice[,-c(1,8,9)])
carprice1.lm <- lm(gpm100 ~ Type+Min.Price+Price+Max.Price+Range.Price,
data=carprice)
round(summary(carprice1.lm)$coe... |
5c9d22a7a2f315a4f979b2a92a9bceb39417eab2 | 77090c3eaf15342505edc228ea19769ab219e0f7 | /Tools/DECoN-master/Windows/packrat/lib-R/foreign/tests/arff.R | 304b31f236b4c455d52910f6bbd5d5b2e34dd8ca | [
"MIT"
] | permissive | robinwijngaard/TFM_code | 046c983a8eee7630de50753cff1b15ca3f7b1bd5 | d18b3e0b100cfb5bdd9c47c91b01718cc9e96232 | refs/heads/main | 2023-06-20T02:55:52.071899 | 2021-07-13T13:18:09 | 2021-07-13T13:18:09 | 345,280,544 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 87 | r | arff.R | library("foreign")
df <- read.arff("contact-lenses.arff")
summary(df)
str(df)
q()
|
e3c00cb7f0563d1d10b809e3cbf8a523036b9ea0 | 8c41de13ede2b3349c7865afd13cba72b4a497ba | /R/qq_gam.R | c7f55edeb285735494957f1c18046f287909960d | [] | no_license | dill/mgcViz | 296a46358444034d47fa69a4b13824622bc1de76 | 4e53cea59f41f5cd54ca3e2ae46e3e061c83213e | refs/heads/master | 2021-01-01T15:43:38.103562 | 2017-07-18T15:48:51 | 2017-07-18T15:48:51 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,163 | r | qq_gam.R | #'
#' QQ plots for gam model residuals
#'
#' @description Takes a fitted gam object produced by [mgcv::gam()] and produces QQ plots of its residuals
#' (conditional on the fitted model coefficients and scale parameter). If the model
#' distributional assumptions are met then usually these plots should be close to a s... |
1ddc7c5afc1d8fedaa32780365d1f35c88dd6223 | f3614eac4633cb3e9663b8ccf1392cfe7f14d655 | /R/sim.r | 0256374245a12891b0b529e7a5bb4bebf071bd8f | [] | no_license | lixixibj/notARMA | 14c8f9cc3f19d1fecebb068688a93e0638f0eb3e | b90c19b0afbbe2e68db9954b2c289bf398319d5e | refs/heads/master | 2023-02-15T03:26:38.333146 | 2020-12-28T21:51:25 | 2020-12-28T21:51:25 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,109 | r | sim.r | #' simulate piecewise constant mean with ARMA noise
#' @export get.s1.sim
#' @importFrom stats arima.sim rnorm
#' @importFrom utils tail
#' @param n length of time series
#' @param cp change points
#' @param intercept starting mean
#' @param jump.size change(s) in mean
#' @param sigma (optional) if ARMA noise is not us... |
4c10b157f362a6fc97c763022ccee23e7b792449 | 4f5b575decbdb88757b722773f01fbc5ff3210e5 | /man/Ramky.Rd | 08691bb05e9b1fb142d63506df26b56e7b5c71cc | [] | no_license | Ramkyeri/Ramky | ec8c0c10ce11e64bdb59961221272479f276667c | a7f5d18b2f4377e8e628ccf96895c3393413f221 | refs/heads/main | 2023-08-17T09:05:08.526777 | 2021-09-26T10:16:44 | 2021-09-26T10:16:44 | 410,513,200 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 313 | rd | Ramky.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/Ramky.R
\name{Ramky}
\alias{Ramky}
\title{This creates histogram,boxplot and numeric summary}
\usage{
Ramky(x)
}
\arguments{
\item{x}{numeric variable}
}
\description{
This creates histogram,boxplot and numeric summary
}
|
bd9103aa5bb6777ed64b2f08182b0d792609d83f | ebd31b2685063268125d679f5eb528b598b90e08 | /R/checkMgrastMetagenome.R | f8abc617943b7c368ea0a6c5c6ff496a2826150d | [] | no_license | yiluheihei/mmnet | 003ff642186a8b48edaf688f60349022df8ff7f5 | defcd77ad2c4d59f65458e981021bb97616ddacc | refs/heads/master | 2021-01-21T06:59:06.832605 | 2019-08-19T10:08:13 | 2019-08-19T10:08:13 | 31,886,398 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,059 | r | checkMgrastMetagenome.R | checkMgrastMetagenome <- function(login.info, metagenome.id, public = TRUE){
if (public)
url <- paste0("http://api.metagenomics.anl.gov/1/metagenome/", paste0("mgm",
metagenome.id), "?verbosity=metadata")
else{
if (missing(login.info)){
warning("Private project checking need user... |
dd4a33597525f6c69b124795d393020a145717f1 | fbc8f30530109b5c7245c5cdbfc1973f94b032c6 | /2020-11-09_quake.R | bbbb7a506ccd8f71d75f38b36d7c329bec81a855 | [] | no_license | hakgyu2298/R_test | 573c8a3579b778d6efd6a031572aab3183299ef8 | deb21e175affdb1095de63b1fb20a89c241b15ab | refs/heads/main | 2023-01-29T15:38:21.498999 | 2020-12-10T14:16:00 | 2020-12-10T14:16:00 | 311,969,008 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 854 | r | 2020-11-09_quake.R | library(ggmap)
library(ggplot2)
df <- head(quake,100)
cen <- c(mean(df$long),mean(lat=df$lat))
gc <- data.frame(lon=df$long,lat=df$lat)
gc$lon <- ifelse(gc$lon>180, -(360-gc$lon), gc$lon)
gc
map <- get_googlemap(center=cen,
maytpe="roadmap",
zoom=4,
... |
ac19013f0e4657c975538b1be2d2666265c41d73 | 1a48e79f5daec6ae5a2bed6b68a53d99fd1b97f5 | /man/pillar.Rd | 4e20d0e9e88c016dabd2f014fdbe45ec22f22baa | [] | no_license | const-ae/pillar | e6cffcbd85b7c2392e88a624a4919554ff539af2 | 0a33177dc683efb2b506441c18c9f568905c882f | refs/heads/master | 2020-04-03T06:28:45.726600 | 2018-10-28T14:07:52 | 2018-10-28T14:07:52 | 155,075,953 | 0 | 0 | null | 2018-10-28T13:47:50 | 2018-10-28T13:47:50 | null | UTF-8 | R | false | true | 1,232 | rd | pillar.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/pillar.R
\name{pillar}
\alias{pillar}
\title{Format a vector suitable for tabular display}
\usage{
pillar(x, title = NULL, width = NULL, ...)
}
\arguments{
\item{x}{A vector to format}
\item{title}{An optional title for the column. The title... |
0f140c6d3988d376aadef4c6e435112fe640a726 | ed5e1d07845e0174a2c26fa5911d976d74db0f5a | /project: Gamma Distribution from GE distr/algo3.R | 2579f55548b53c35d497ff8de6c3183bfca0ba63 | [] | no_license | yashvanjani/MA226-Monte-Carlo-Simulation | 21a4e815be50e231dc3af1a8ed5195b0cdf73ba2 | 6429c720c9dacac75b3d84762fea163934b80c53 | refs/heads/master | 2021-01-21T04:26:05.566837 | 2016-08-13T13:39:49 | 2016-08-13T13:39:49 | 54,113,800 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,048 | r | algo3.R | noofrand <- 10000
alpha <- 0.4
d <- 1.0344 - 0.0766*exp(2.2942*alpha)
a <- (2^alpha)*((1-exp(-0.5*d))^alpha)
b <- alpha*(d^(alpha-1))*exp(-1*d)
c <- a+b
u1 <- runif(noofrand, min=0, max=1)
X <- vector('numeric')
for(i in 1:noofrand) {
if(u1[i] <= a/(a+b)) {
val <- -2*log( 1 - 0.5*(c*(u1[i]^(1/alpha))) )
X <- c... |
3ed07140f1b4efba3db6de1d776ddeadfb33b84a | b6a5bb1cc2e7949fd219c8a8816304c663e7152c | /code/R_Workspace/20161230-检查239车-不同车号-5号线路-各天温度数据.R | 654cf484182a5450b05a11458d82a45c18176a34 | [] | no_license | riz1903/TimeSeries-Prediction-Work | a8148b160e056db6c1bae1741b05434d515f67d8 | 20354a42126e5af9f3f9c9c094ed514b49d955bf | refs/heads/master | 2020-03-27T05:57:38.210862 | 2017-08-15T14:24:40 | 2017-08-15T14:24:40 | null | 0 | 0 | null | null | null | null | GB18030 | R | false | false | 1,136 | r | 20161230-检查239车-不同车号-5号线路-各天温度数据.R |
#----------------------------------------------------------------------------------------------
#根据数据1轴1位的数据图,将多缺省、少缺省的数据挑出来
function(){
#获得文件夹下的文件列表
source("common_function.R")
dirname = "E:\\Data_Lab\\20161229-239型-不同车号-5线路-itf_6a-当日数据\\out"
res = func.getFileListFromDir(dirname);
filelist = res$filelis... |
ae64e86ec62822ac35364ad5422735c966deb0d0 | 0bf4edb5d8184e131612df849336a4e3b68249c5 | /zipWRUext2/data-raw/all_zip_census2.R | c189e78a8b75caec41218ffe6f80c96e1baacdb0 | [] | no_license | ckann10/zipWRUext | ea7751a1d6e6739b2ecd177ba18e84a3cac81762 | 2337dff1b4693755672d218bf7bc59e87a36a24b | refs/heads/master | 2023-07-13T06:51:49.014621 | 2021-08-16T18:11:32 | 2021-08-16T18:11:32 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 175 | r | all_zip_census2.R | ## code to prepare `all_zip_census2` dataset goes here
zip_all_census2 <- readRDS("data-raw/master_zcta_bisg_data.rds")
usethis::use_data(zip_all_census2, overwrite = TRUE)
|
93404495292bb140296abe63fd9b793eb20fd45c | e8a399d61c60f6c3c0d0829006b3eff4e8128383 | /run_test.R | 2f335ffc933c8073d615e08a8552690d22b81e81 | [] | no_license | abelikoff/StInf_Project | 649f0d97872b8d10dbcddeedae639f0f7afb8355 | 1e8a67efab011862461f91614e9d1211f56284fc | refs/heads/master | 2021-01-22T21:28:29.566304 | 2015-02-14T06:19:40 | 2015-02-14T06:19:40 | 30,779,191 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 438 | r | run_test.R | #!/usr/bin/env Rscript
rm(list = ls())
## split sample into orange juice and vitamin C ones
vc = ToothGrowth[ToothGrowth$supp == "VC",]
oj = ToothGrowth[ToothGrowth$supp != "VC",]
png("teeth.png", width = 480, height = 480)
par(mfcol=c(2, 1))
hist(vc$len, col="red", main="Vitamin C", xlab="Tooth length")
hist(oj$len... |
f2b8e43d7117c8ec121d56ecd702bde8b89159a1 | c656e7df2f7612d28f06a7d6b2c40e10c8cbfca8 | /man/RemoveAPICredentials.Rd | b834d8979e30c68ec9bd4d93f460276988f2da3b | [] | no_license | fusionet24/RApplicationInsights | 2fdc7d50198a2cd0deeaa1622de75e1f551ed4e5 | 6e2df48cf73bdfcab503761bb51a5d18ac34316c | refs/heads/master | 2021-01-21T14:40:16.441590 | 2017-09-21T22:31:03 | 2017-09-21T22:31:03 | 95,324,766 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 497 | rd | RemoveAPICredentials.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/ManageAPICredentials.R
\name{RemoveAPICredentials}
\alias{RemoveAPICredentials}
\title{Remove API Credientals
Used to remove API values from Environment. For Security Reasons or expired Credentials etc}
\usage{
RemoveAPICredentials()
... |
a75be7ee6da5420cacd9d35df0e2b822b870ef50 | d85963a0d09c06fac0fe33d02d1db356ff7f6f35 | /cachematrix.R | ac057a33904f72e94c60abdbca7fc6de4941538b | [] | no_license | PraveenKrSingh/week3_r | 4c00ade96dd6f9764b87c2f2f2ea0871d61facfc | 559b2804df73a16751c7692a9a0e89e85d4ad2e7 | refs/heads/master | 2016-09-09T20:07:26.375769 | 2015-01-23T21:02:32 | 2015-01-23T21:02:32 | 29,753,232 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,515 | r | cachematrix.R | ##Basically, The two function work in unison to achieve the purpose
##of caching.
##First you call makeCacheMatrix, which sets up an environment where
##inverse of the matrix and the vector is cached and it also defines
##and provides a list of functions which can manipulate these cached
##values.
##now the cacheSo... |
2f06e01e56f34b972ed81ff7ab29ba2bbfc68793 | d030572ecb8ac2dac0ebd622fe3292e089009bb0 | /plot4.R | c1ceb4e98b8fc8c5d98f2d36f97856fb48e3b942 | [] | no_license | michaelryanweaver/ExData_Plotting1 | c4bf8ada2d121c37a7b8cfbd161a6440829e3941 | 9bef3fc4fa2336151acf76e512e85e89fdf10d65 | refs/heads/master | 2021-01-01T20:44:43.490077 | 2017-08-01T05:01:33 | 2017-08-01T05:01:33 | 98,923,126 | 0 | 0 | null | 2017-07-31T19:36:25 | 2017-07-31T19:36:25 | null | UTF-8 | R | false | false | 1,410 | r | plot4.R | #plot4.R
#download and unzip file
download.file("https://d396qusza40orc.cloudfront.net/exdata%2Fdata%2Fhousehold_power_consumption.zip", destfile="sourcedata.zip", method="curl")
unzip ("sourcedata.zip", exdir = "./")
#read data from file
data_all <- read.table("household_power_consumption.txt", header=TRUE, na.strin... |
c1668c7efffddfc1cedd640eb750bfc4d58bd72a | d20affa353d3b2faa18405d24d2339793e1fd1e0 | /findCompanyNames/solution.old.r | e9f8ddcb4b552fc82e93e6454bcf4fb06f9ab151 | [] | no_license | abishek-ahluwalia/archive-assignments | 0c33fb7af10bafb45477371ac0fe389c6380feb3 | e789fb89456210ee98c453e440e3f13d4a6268cd | refs/heads/master | 2021-05-29T13:28:04.518517 | 2015-07-24T08:45:45 | 2015-07-24T08:45:45 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 142 | r | solution.old.r |
# Read in the data
#names0 = readLines("names.txt")
#data Preprocessing
source("dataPreprocessing.R")
#clustering
source("clustering.R")
|
b53449bb2da6137a4660094869adaa533c893389 | 0c86556c5aee9676369cf577eeb94005dbc5ee5b | /R/functions/lh_update.R | 8522f447113b5902278c180b8cf8079faa3acf12 | [] | no_license | c57bl/LH_behavior | 58fd73210be1240abc443b73fb4696e0013c533d | 1024d55d48d3c9c7a8095184fcbff86041c4a4aa | refs/heads/main | 2023-03-18T07:32:51.448886 | 2021-03-07T11:52:02 | 2021-03-07T11:52:02 | 341,798,501 | 0 | 0 | null | 2021-02-24T06:26:25 | 2021-02-24T06:12:25 | null | UTF-8 | R | false | false | 3,875 | r | lh_update.R | # convert med output files into table, and write tables to db
# med out put should be arranged into a folder with name(batch_testnumber)
# including file(two mice,mice id in left, mice id in right)
# or (1 mice, mice id)
lh_update<-function(complete=T,plot.by.test=T){
# build in functions----
extract_tabl... |
3c2d79fb1949351a9a65e411a0fb478a0b99a4d3 | c56bee57f1c146727945448dea0a4517a2f414ff | /chapter3.R | 89aa40f59a88e254143f33cd79153d231edb2219 | [] | no_license | jakekraska/phd | 634953eb7b77231369af61cf6a1499ae7d12d2b5 | 2acd1b053f872c96dda05b10757cb1962ff5d73c | refs/heads/master | 2023-01-01T20:08:52.845285 | 2020-10-01T13:19:57 | 2020-10-01T13:19:57 | 298,986,950 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 53,931 | r | chapter3.R | # Data Analysis of the Item Tryout Study (ITOS) CHC Test
# Original code developed by Mr Jake Kraksa (Monash University)
# Built on R 3.6.0 with R Studio 1.1.456
# set the working directory to source file directory manually
#### Load required libraries ####
require(ggplot2)
require(car)
require(knitr)
requi... |
be4e8c08f0f4f035d400641e44c62a44829ddb07 | 184180d341d2928ab7c5a626d94f2a9863726c65 | /valgrind_test_dir/expandEdges_-test.R | 80029eb380a9ff0a02efe9f01bb8d2681ceb0945 | [] | no_license | akhikolla/RcppDeepStateTest | f102ddf03a22b0fc05e02239d53405c8977cbc2b | 97e73fe4f8cb0f8e5415f52a2474c8bc322bbbe5 | refs/heads/master | 2023-03-03T12:19:31.725234 | 2021-02-12T21:50:12 | 2021-02-12T21:50:12 | 254,214,504 | 2 | 1 | null | null | null | null | UTF-8 | R | false | false | 240 | r | expandEdges_-test.R | function (eExp, center, res)
{
e <- get("data.env", .GlobalEnv)
e[["expandEdges_"]][[length(e[["expandEdges_"]]) + 1]] <- list(eExp = eExp,
center = center, res = res)
.Call("_icosa_expandEdges_", eExp, center, res)
}
|
066fead1a76ecebef31057eb8c592b304f4ddaab | e948abc55d3973e14fd3d2201796069213860272 | /code/Cleaning/ReadPersonStataHVS.R | 4a683301eeef40a0f0e47793b6498a41d9ed55ea | [] | no_license | madisonvolpe/evictions_nyc | 426eba0911cd64a89fa3eea5b4eab385168a7bb0 | 7309888b3d9786879e644d242b854af75a2408c7 | refs/heads/master | 2020-06-05T10:29:02.971180 | 2019-06-17T19:51:09 | 2019-06-17T19:51:09 | 192,409,157 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 89 | r | ReadPersonStataHVS.R | library(haven)
persondata <- read_dta(file = "data/NYC_HVS/personlevel/persondata.dta")
|
31d9f7c11e637c063438f1087a49e9ce08f87b03 | 59a996d13273ef5c2a7d1a707fb053b1903a3506 | /rachel_proj/rachel_proj/RP_shiny-proj/server.R | 39f5774449c5e2009725ae7bb261687889c521fc | [] | no_license | RachelPeled/rachel_proj | 5ade01a57c97df2ed46d0d0258fea4d9e02fb6f5 | d4a889c8850f9db03426aae1eae9a91c9cf6200c | refs/heads/master | 2020-03-22T07:56:48.561090 | 2018-07-24T23:08:32 | 2018-07-24T23:08:32 | 139,734,637 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,239 | r | server.R | library(shiny)
library(shinydashboard)
library(plotly)
shinyServer(function(input, output){
output$plot<-renderPlotly({
plot_ly(data=num_of_kill, x=~iyear,y=~num_kill,
type="bar",marker=list(color='Set1'),color=~region_txt) %>%
layout(yaxis = list(title = 'Number Of Dead'),
xaxis = ... |
22ee2df8f545b74bd13977c886476a6a3249b41c | 6d59e69f890be7124ae0ee55c390ad1f9bb408a8 | /ui.R | bf28b4c696ef719b015719325468c00b569e8246 | [] | no_license | alkanjon/9-1-1-Incidence-Response-Data | a36ada28a58c7c0770ad1409ca577bd96781bc4b | c429fef8af40cec6219831c746f09fca1711fb5b | refs/heads/master | 2021-03-13T03:01:59.729738 | 2017-06-01T20:28:50 | 2017-06-01T20:28:50 | 91,487,617 | 0 | 0 | null | 2017-05-31T21:34:38 | 2017-05-16T17:48:10 | R | UTF-8 | R | false | false | 5,420 | r | ui.R | # import libraries
library(shiny)
library(plotly)
library(leaflet)
# shinyUI
shinyUI(
navbarPage("SPD 911 Incidents",
# tab for interactive map
tabPanel("Interactive Map",
# div to fill screen height
div(class = "outer",
# use custom style.css file
... |
f86fee3942fceafe4fe99dfc6f0fceba3d22c7eb | b854a59999f551d849d5b0a781f0cdc1db1e4ca0 | /paprica-run_gRodon.r | c745b54b096300c4a9ae6c894ac717b02758fbd0 | [] | no_license | bowmanjeffs/paprica | 160a54b08ac334d5d8c5cd5f2630fe8bd35345da | 18ff89fda938ac0dba9e444574a579c8837c71bd | refs/heads/master | 2023-05-26T04:25:37.856229 | 2023-05-12T03:54:13 | 2023-05-12T03:54:13 | 30,158,561 | 29 | 12 | null | 2021-06-10T21:52:16 | 2015-02-01T20:23:27 | Python | UTF-8 | R | false | false | 1,099 | r | paprica-run_gRodon.r | #!/usr/bin/env Rscript
## This script implements the gRodon program as described in Weissman et al, 2021, PNAS.
library(gRodon)
library(Biostrings)
args <- commandArgs(trailingOnly=TRUE)
domain <- args[2]
ref_dir <- args[1]
path <- paste(ref_dir, domain, 'cds', sep = '/')
genomes <- sort(list.files(path, pattern = ... |
6fd8086a9ed60beb3ef747b8cfe541a88a962451 | feb9056895b7611d102bbac7a2bd4a620fcba18d | /Model/hubs1_make_model_ALLHUBS.r | 4353e085a2de42d62963c28e0c7d7759cbd5f5c0 | [] | no_license | himmAllRight/Thesis | ea3bbce89701d2cae56e501af54f3c1f9179ac53 | 81f301c5d10c7970683c78a7cbae30282516f9e5 | refs/heads/master | 2020-04-10T03:11:50.189978 | 2015-08-15T18:10:42 | 2015-08-15T18:10:42 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 11,704 | r | hubs1_make_model_ALLHUBS.r | ## Ryan Himmelwright
## Honors Thesis
## Make Model Script
library(base)
library(igraph)
library(Matrix)
library(methods)
library(lattice)
# Generate Random Seed Value
seedValue <- sample(1:50000,1)
#seedValue <- 8869
set.seed(seedValue)
################################################################################... |
d3c9abc0338caf06d01ddf408ff0494a954752f2 | 020f5a54a70d4790de6643cd6feaf809afcf1621 | /man/estimateDataTemporalMap-methods.Rd | 5cb2f7f7d35a2511e3e5e22ca3cde2583ce6f979 | [
"Apache-2.0"
] | permissive | hms-dbmi/EHRtemporalVariability | 2377d8d5ae78777ad3edb64f2cfa39d679fbbd18 | a1e2aa12b391b268d7000d93ce67da1bfc43c199 | refs/heads/master | 2021-06-08T01:44:27.951209 | 2021-05-31T11:51:28 | 2021-05-31T11:51:28 | 140,324,604 | 14 | 7 | null | null | null | null | UTF-8 | R | false | true | 4,263 | rd | estimateDataTemporalMap-methods.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/estimateDataTemporalMap.R
\name{estimateDataTemporalMap}
\alias{estimateDataTemporalMap}
\title{Estimates \code{DataTemporalMap} objects from raw data}
\usage{
estimateDataTemporalMap(
data = NULL,
dateColumnName = NULL,
period = "month... |
b0f1de689beee7ae1716ad86d8ef54a9a28cd292 | 8ee95484d9e8ccd26eae67b81a233f8b5ae35c89 | /man/merge_lidar_rasters.Rd | b1a9c95e734109eb4b65e813a1e4c57eecc08ee7 | [
"MIT"
] | permissive | hrvg/lidarMiner | f4a49c9fa29b2236ef018a8d06ccee6c17196a50 | 8f1d7e6723e712ca4e6c8446153c612ce51fb12f | refs/heads/master | 2022-12-04T16:21:16.682114 | 2020-08-27T17:04:12 | 2020-08-27T17:04:12 | 283,039,515 | 1 | 0 | null | null | null | null | UTF-8 | R | false | true | 385 | rd | merge_lidar_rasters.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/merge_lidar_rasters.R
\name{merge_lidar_rasters}
\alias{merge_lidar_rasters}
\title{merge all lidar raster}
\usage{
merge_lidar_rasters(lidar_dir = file.path("G:/USGS_lidar"))
}
\arguments{
\item{lidar_dir}{a file.path to a directory containi... |
173b570194dfa639b038be6a632a1c66adfe09fa | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/Rnightlights/examples/searchAdmLevel.Rd.R | 3c55931922bf88bddc629f28ea114c55607c7cf9 | [] | no_license | surayaaramli/typeRrh | d257ac8905c49123f4ccd4e377ee3dfc84d1636c | 66e6996f31961bc8b9aafe1a6a6098327b66bf71 | refs/heads/master | 2023-05-05T04:05:31.617869 | 2019-04-25T22:10:06 | 2019-04-25T22:10:06 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 240 | r | searchAdmLevel.Rd.R | library(Rnightlights)
### Name: searchAdmLevel
### Title: Search for the admLevel by official name
### Aliases: searchAdmLevel
### ** Examples
## Not run:
##D searchAdmLevel("KEN", "county")
##D #returns "KEN_adm1"
## End(Not run)
|
8b26c84e2ad3e13686d4f85ebed074cefe5cb892 | 7805feaeb24482f317988631421e9ea8815af562 | /GSEA.R | 1802fbe3417e70cc378f55447b3a8a906c45d864 | [
"MIT"
] | permissive | PinaColadast/scRNAseq-AML | 510a53cf8c22e29255cb2af6550d5fca372a400b | 6f166b07ec38d44390cb0984e17471b474b2de04 | refs/heads/main | 2023-07-11T00:03:24.336248 | 2021-08-18T14:06:09 | 2021-08-18T14:06:09 | 348,289,712 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,551 | r | GSEA.R | # if (!requireNamespace("BiocManager", quietly = TRUE))
# install.packages("BiocManager")
#
# BiocManager::install("GSEABase")
# BiocManager::install("GSVAdata")
# BiocManager::install("GSVA")
library(ggplot2)
library(data.table)
library(reshape)
library(corrplot)
library(Matrix)
library(singlecell)
libr... |
6fa462e7290a0ad1c4f930fbaffc0c44c4d8695e | 40962c524801fb9738e3b450dbb8129bb54924e1 | /DAY - 5/Class/WritingExcel.R | 51a020192af6c394d921f7c1e92a70b49587f76e | [] | no_license | klmsathish/R_Programming | 628febe334d5d388c3dc51560d53f223585a0843 | 93450028134d4a9834740922ff55737276f62961 | refs/heads/master | 2023-01-14T12:08:59.068741 | 2020-11-15T13:23:31 | 2020-11-15T13:23:31 | 309,288,498 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 523 | r | WritingExcel.R | #Importing Required Packages
library(readxl)
# reading the excel file
#sheeet attribute can also be added to give the sheet1
data=read_xlsx('E:/R Programs For Practice/DAY - 5/Class/Data/file.xlsx')
#data=read_xlsx('file path',sheet="sheet1")
print(data$word)
#gettting the number of sheets in excel file
excel_sheets('E... |
950f142ab303f627afcb7e28a54716eae6aaf249 | 25859bdd1d5be68ddaacd5892c3df405cee5a4d4 | /man/metadata.Rd | 2e948ae0cc6b23de9b7b5853efa96d1c63300924 | [] | no_license | mgperry/heatmaps | 1018f04c98f094f3bca70018aad10e9461de6baf | dd5900a8bb8871bd1137895ba993d843aa98803d | refs/heads/master | 2021-01-09T06:58:23.005804 | 2017-07-04T23:17:20 | 2017-07-04T23:17:20 | 49,453,049 | 3 | 1 | null | null | null | null | UTF-8 | R | false | true | 696 | rd | metadata.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/Heatmap-class.R
\docType{methods}
\name{metadata}
\alias{metadata}
\alias{metadata}
\alias{metadata,Heatmap-method}
\alias{metadata<-}
\alias{metadata<-,Heatmap-method}
\title{Return or set the metadata in a Heatmap}
\usage{
metadata(x)
\S4m... |
3309500dde670a597dd6a60a374063c5cf85bb5c | acd815ed6150a02eaaea922b80a14cc2e240a1c9 | /finance/pygensa/benchmark/scripts/PyGenSA.R | 1104ff87eee316f8cf9f34f5c42e3c2acdae57de | [] | no_license | klues/Python-Mathematik-Beispiele | 31f7501426a9ac741cfc102ce334fb0083b01558 | c27ac07744cec2516d3ccb26a63dfd71b627501b | refs/heads/master | 2020-12-07T01:55:39.366326 | 2020-01-08T17:52:21 | 2020-01-08T17:52:21 | 232,606,209 | 0 | 1 | null | 2020-01-08T16:25:06 | 2020-01-08T16:25:05 | null | UTF-8 | R | false | false | 4,701 | r | PyGenSA.R | #=======================================================================
# * Section * # Build figure 1 and table S1 of performance.
#=======================================================================
results.path <- file.path(getwd(), 'DATA', 'results.csv')
output.path <- file.path(getwd(), 'OUTPUT')
# Load p... |
073af10cd3aea078c39bea940ffc0fe35a1d869b | 44c1a553e9af578e8d20c060c5f1f51bb5fd0fc2 | /myRscript.R | ac7851b55f99b9617580a8b5d421d150605617b2 | [] | no_license | GonzBio/Education-by-Political-Affiliation-of-State- | 175ee7d7165d332d7700d2f0e9df717f621e4871 | dd877d4759b579ebf0dd2f88b375142e45843d6c | refs/heads/master | 2016-09-06T01:43:41.815547 | 2015-01-14T02:37:37 | 2015-01-14T02:37:37 | 28,699,772 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,299 | r | myRscript.R | library(dplyr)
library(ggplot2)
#dataset downloaded from KIDS COUNT data center
data <- read.csv("./HighSchoolGrads.csv")
#the rows showing percent were extracted
dataStates <- data[data$DataFormat %in% "Percent", ]
#calculated the mean percentage of high school students earning a bachelor or higher degree from 2000 to... |
c0330c426c94fd3b309d0e134276503ea12c210f | 29585dff702209dd446c0ab52ceea046c58e384e | /Rz/R/RzPlotElementText.R | 83dfc9a8d4bcc05b645bdde4e365a2825e22c1e1 | [] | no_license | ingted/R-Examples | 825440ce468ce608c4d73e2af4c0a0213b81c0fe | d0917dbaf698cb8bc0789db0c3ab07453016eab9 | refs/heads/master | 2020-04-14T12:29:22.336088 | 2016-07-21T14:01:14 | 2016-07-21T14:01:14 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 17,848 | r | RzPlotElementText.R | rzplot.element.text <-
setRefClass("RzPlotElementText",
fields = c("main", "name", "family", "face", "colour", "size", "size.rel",
"hjust", "vjust", "angle", "lineheight", "parent", "script", "blank",
"family.button", "face.combo", "color.widget" ,"size.button", "size.rel.button",
... |
bb6df280a18aec8ff93e085574db068a8d028d03 | a176626eb55b6525d5a41e2079537f2ef51d4dc7 | /Uni/Projects/code/P031.MAIAC.France/archive/workingweights.r | d2b7fb73912addfaf5a30938768c19639e5b7cec | [] | no_license | zeltak/org | 82d696b30c7013e95262ad55f839998d0280b72b | d279a80198a1dbf7758c9dd56339e8a5b5555ff2 | refs/heads/master | 2021-01-21T04:27:34.752197 | 2016-04-16T04:27:57 | 2016-04-16T04:27:57 | 18,008,592 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 7,831 | r | workingweights.r |
#########Aqua.2003
#reload mod3
aqm2.2003<- readRDS("/media/NAS/Uni/Projects/P031_MAIAC_France/2.work/WORKDIR/mod3.AQ.2003.rds")
head(aqm2.2003)
aqm2.2003$meanPM25<- NULL
aqm2.2003$meanPM10<- NULL
#make sure
aqm2.2003$meanPM10<- NULL
aqm2.2003$long_aod<- NULL
aqm2.2003$lat_aod<- NULL
gc()
#Fix LAT/LONG
setkey(aqm2.... |
e747596602b1701ffef643897c5049b299710bab | 4868f118f56c714249e116ec1dcff1f98a4fdcc0 | /mRNA/code/R/makeSampleTable.R | 68fa8a004bb9db50378a52009882bff0797b17bf | [] | no_license | kdaily/PCBCPipeline | d37fa989d9e1f2b9c5d99fab52f5d037b400ee29 | 85bb0ed98768131b842739cb1d260d95406bcdde | refs/heads/master | 2020-05-17T19:20:07.447639 | 2015-02-06T21:39:38 | 2015-02-06T21:39:38 | 30,434,190 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,120 | r | makeSampleTable.R | library(synapseClient)
library(plyr)
library(dplyr)
library(reshape2)
synapseLogin()
# Get public mapped bams
qMapped <- "select UID,id,bamType,benefactorId from file where parentId=='syn1773111' and fileType=='bam'"
resMapped <- tbl_df(synQuery(qMapped))
colnames(resMapped) <- gsub(".*\\.", "", colnames(resMapped))
... |
a8431a6ec5b9ce6effc52c66158bb2c23c0195c1 | a4d874fc9ca037fd837b14e60d1955a6d64245ab | /Exercise 1/exercise1.R | 2b04bedf73229d733dcd7de5d6c7e278c3ffeb51 | [] | no_license | bhanukaManesha/R-Programming | fc6bcfb072db197a6971295a914e78e97cc671fc | ab3a0c03d41d653dd52806a83efcbc71972a8647 | refs/heads/master | 2020-03-28T06:09:36.095135 | 2018-11-09T05:09:19 | 2018-11-09T05:09:19 | 147,817,426 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 607 | r | exercise1.R |
# Define a function to calculate the law of large numbers
lawOfLargeNumbers <- function(N) {
counter <- 0
for (i in rnorm(N)){
if (i < 1 && i > -1 ){
counter <- counter + 1
}
}
answer <- counter/N
return(answer)
}
#Looping through the function to the the plot for the law of lar... |
51803042ab3b5c1b3d2901c1e7b57c2f261c8282 | d47833e60e3b9760619cf9c348d97b188f342db3 | /MobileNetworkDataSimulationTemplate/code/src/inference/man/buildCluster.Rd | 3b25b7b55680b5f85203af3be66382ccd4bb0f15 | [] | no_license | Lorencrack3/TFG-Lorenzo | 1a8ef9dedee45edda19ec93146e9f7701d261fbc | e781b139e59a338d78bdaf4d5b73605de222cd1c | refs/heads/main | 2023-06-04T00:23:16.141485 | 2021-06-29T21:31:25 | 2021-06-29T21:31:25 | 364,060,022 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 965 | rd | buildCluster.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/buildCluster.R
\name{buildCluster}
\alias{buildCluster}
\title{Builds a cluster of working nodes.}
\usage{
buildCluster(varlist, env)
}
\arguments{
\item{varlist}{A list of variables to be exported to every working node.}
\item{env}{An envir... |
53841135e473512efa564421ab2a10249a47172d | 7287a902971ac82aa7a5e90f0347a0caa785398a | /code/results/final/Ranalysis_50_20_400.R | 42a13d9c9146f77c69d8d39d535751de3ce9ed31 | [] | no_license | vinkels/protein | 9a48c15a48308853f65067315fadf539af7ab2e4 | b7765946c13b08816fc616385bd93a0879e04c36 | refs/heads/master | 2021-06-18T09:56:53.161816 | 2017-06-27T13:55:38 | 2017-06-27T13:55:38 | 93,627,293 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,277 | r | Ranalysis_50_20_400.R | iteration = X50buckets$total_iteration
shapiro.test(iteration)
out = X50buckets$outside
plot(out, iteration)
middle = X50buckets$middle
plot(middle, iteration)
left = X50buckets$left
plot(left, iteration)
right = X50buckets$right
plot(right, iteration)
bucket1 = X50buckets$side_1
plot(bucket1, iteration)
bucket2 = X50... |
c9e1747b46162cbd6e363a6cde23263fe97e5253 | 3b62ffa02efef29b8bbaa9041d74a1ee72b4807a | /R/rhrHlscv.R | ce6998c86ee7e3aaf0315d96abd9da85ccd007a6 | [] | no_license | jmsigner/rhr | 52bdb94af6a02c7b10408a1dce549aff4d100709 | 7b8d1b2dbf984082aa543fe54b1fef31a7853995 | refs/heads/master | 2021-01-17T09:42:32.243262 | 2020-06-22T14:24:00 | 2020-06-22T14:24:00 | 24,332,931 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,514 | r | rhrHlscv.R | ##' Calculate a Bandwidth for Kernel Density Estimation
##'
##' Use two dimensional least square cross validation to select the bandwidth of a kernel density estimate.
##'
##' @param xy A two column numeric data.frame with two columns: the x and y coordinates.
##' @param range numeric vector with different candidate h... |
808acf8639d408db60d4c1dba2af748516f192d3 | e573bc7fd968068a52a5144a3854d184bbe4cda8 | /Recommended/boot/man/melanoma.Rd | 7586b709f9bc8994495fbe020d4aae29c656ccf7 | [] | no_license | lukaszdaniel/ivory | ef2a0f5fe2bc87952bf4471aa79f1bca193d56f9 | 0a50f94ce645c17cb1caa6aa1ecdd493e9195ca0 | refs/heads/master | 2021-11-18T17:15:11.773836 | 2021-10-13T21:07:24 | 2021-10-13T21:07:24 | 32,650,353 | 5 | 1 | null | 2018-03-26T14:59:37 | 2015-03-21T21:18:11 | R | UTF-8 | R | false | false | 2,049 | rd | melanoma.Rd | \name{melanoma}
\alias{melanoma}
\title{
Survival from Malignant Melanoma
}
\description{
The \code{melanoma} data frame has 205 rows and 7 columns.
The data consist of measurements made on patients with malignant melanoma.
Each patient had their tumour removed by surgery at the Department of Plastic
Surgery, Univers... |
2a1eabdfa61fdfb6444933edae22fb5acaaf7bea | e189d2945876e7b372d3081f4c3b4195cf443982 | /tests/testthat/test-nn_module.R | 10365032178852fa1a721091e78c20176ff5cf36 | [
"Apache-2.0"
] | permissive | Cdk29/fastai | 1f7a50662ed6204846975395927fce750ff65198 | 974677ad9d63fd4fa642a62583a5ae8b1610947b | refs/heads/master | 2023-04-14T09:00:08.682659 | 2021-04-30T12:18:58 | 2021-04-30T12:18:58 | 324,944,638 | 0 | 1 | Apache-2.0 | 2021-04-21T08:59:47 | 2020-12-28T07:38:23 | null | UTF-8 | R | false | false | 1,470 | r | test-nn_module.R |
context("nn_module")
source("utils.R")
test_succeeds('download MNIST pickler', {
download.file('https://github.com/henry090/fastai/raw/master/files/mnist.pkl.gz','mnist.pkl.gz')
R.utils::gunzip("mnist.pkl.gz", remove=FALSE)
})
test_succeeds('fit nn_module MNIST', {
object = reticulate::py_load_object('mnist... |
cd235ab432cd0e7f5f609f35814c480f149387de | b72a579eddbd2e20a0d154a4704fa28dc89adf5f | /code/stratch/look_lengend.R | 481773c450838b1813c110fe60002b7cf27be4eb | [] | no_license | andrewhaoyu/multi_ethnic | cf94c2b02c719e5e0cbd212b1e09fdd7c0b54b1f | d1fd7d41ac6b91ba1da8bb8cd1b2b0768f28b984 | refs/heads/master | 2023-06-24T20:47:18.268972 | 2023-06-13T15:30:14 | 2023-06-13T15:30:14 | 214,069,397 | 4 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,446 | r | look_lengend.R | library(data.table)
leg <- as.data.frame(fread("/spin1/users/zhangh24/KG.impute2/1000GP_Phase3/1000GP_Phase3_chr22.legend",header=T))
library(dplyr)
leg_temp = leg %>%
filter(AMR>=0.01&
EAS>=0.01&
EUR>=0.01&
SAS>=0.01&
AFR>=0.01&TYPE=="Biallelic_SNP") %>%
select(positi... |
3ea40e8919419167e88281bd18350ec7b906fed6 | 6d45aac469157d89260207fad22d93f1ea085be2 | /plot1.R | 60d56a64a694ec3915f023ed2eea96fb0ab1e88d | [] | no_license | jimidylan/ExData_Plotting1 | a7216952788d6879ff0a4acc8474388c5e4619f4 | 54f4adc0abdf4abcf920a61c0b3dc4d89a9d397b | refs/heads/master | 2021-01-14T09:18:34.441150 | 2014-11-08T06:38:20 | 2014-11-08T06:38:20 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 723 | r | plot1.R | #download and read data into R
dataset.url <- "http://d396qusza40orc.cloudfront.net/exdata%2Fdata%2Fhousehold_power_consumption.zip"
download.file(dataset.url, "project 1.zip")
unzip("project 1.zip", exdir = getwd())
file<-read.table("household_power_consumption.txt", header=TRUE, sep=";",
stringsAsFac... |
06a2585794b5df7f59eb8d1025c956c89a9b49e1 | 72d9009d19e92b721d5cc0e8f8045e1145921130 | /acc/R/simAcc.R | 30d1e7ef1245acc1627dc5e90e95f05bb47e053d | [] | no_license | akhikolla/TestedPackages-NoIssues | be46c49c0836b3f0cf60e247087089868adf7a62 | eb8d498cc132def615c090941bc172e17fdce267 | refs/heads/master | 2023-03-01T09:10:17.227119 | 2021-01-25T19:44:44 | 2021-01-25T19:44:44 | 332,027,727 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,242 | r | simAcc.R |
#' @export
#' @importFrom utils head tail
#' @importFrom graphics par axis title plot rect legend
#' @importFrom mhsmm simulate.hmmspec hmmspec dnorm.hsmm rnorm.hsmm
#' @importFrom PhysicalActivity dataCollapser
#' @importFrom Rcpp evalCpp
#' @useDynLib acc
simAcc <- function(timelength,paLevel='moderat... |
9b2b5f9938572bcf0b38c70b4192ef2f9f3d2f1d | 7a95abd73d1ab9826e7f2bd7762f31c98bd0274f | /multivariance/inst/testfiles/match_rows/AFL_match_rows/match_rows_valgrind_files/1613103626-test.R | 9f8209bbee6f3e3a390fbe44d8c282e9460586c0 | [] | no_license | akhikolla/updatedatatype-list3 | 536d4e126d14ffb84bb655b8551ed5bc9b16d2c5 | d1505cabc5bea8badb599bf1ed44efad5306636c | refs/heads/master | 2023-03-25T09:44:15.112369 | 2021-03-20T15:57:10 | 2021-03-20T15:57:10 | 349,770,001 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 316 | r | 1613103626-test.R | testlist <- list(A = structure(c(4.776108029967e-152, 8.55406381088489e-280, 1.23045890178683e-299, 2.17365491015615e-265, 2.8023404309539e-154, 4.62400912645872e-273, 3.80565784087796e-116), .Dim = c(7L, 1L )), B = structure(0, .Dim = c(1L, 1L)))
result <- do.call(multivariance:::match_rows,testlist)
str(result) |
d99fb05d7d576c76cf3943b140e21e21f4e4b8d5 | 9c2c079f5a4ebceaa20434085fa4ef686ebbf2af | /R/R_intro.R | 6bb88fb564cca44b727d7589ce87424df4013ce5 | [] | no_license | brdeemer/swc-wsu | 4dc9a19b0e631ad81eebf3e9caa71600362d01f7 | b1645e6f1d5757da781d49310a1c03c5353003f7 | refs/heads/master | 2016-09-05T19:22:42.715165 | 2015-04-28T23:06:19 | 2015-04-28T23:06:19 | 34,747,488 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,132 | r | R_intro.R | 2+2
5*6
ls() #lists objects in environment
# a vector of weights
weights <- c(50,60,65,82)
weights
animals <- c("mouse","rat","dog")
animals
length(weights) #tells you the number of arguments in the vector
class(weights) #tells you numeric vs character etc
str(weights) #gives length, class, and heading
weights<-c(weigh... |
c87aa7ca79fc8fba531a4888c9ccb474f3157a89 | 1158f854bd76f4b32302f96ae3f76964a5f607c2 | /R/threshold.R | 52268e2cdc65b02136ccb938445317ddaeecd63c | [] | no_license | cran/dismo | 17e0fe560f1a3ed6db6b7b3fa26b997b42fa1a8f | 3d6e871876080c822553a73d6afea608d183e044 | refs/heads/master | 2023-05-24T17:59:52.457998 | 2023-05-21T22:50:06 | 2023-05-21T22:50:06 | 17,695,530 | 10 | 15 | null | 2020-05-20T06:24:11 | 2014-03-13T04:26:40 | R | UTF-8 | R | false | false | 1,182 | r | threshold.R | # Author: Robert J. Hijmans
# Date : October 2012
# Version 1.0
# Licence GPL v3
if (!isGeneric("threshold")) {
setGeneric("threshold", function(x, ...)
standardGeneric("threshold"))
}
setMethod('threshold', signature(x='ModelEvaluation'),
function(x, stat='', sensitivity=0.9, ...) {
r <- li... |
82959080b6755b056648902b5551d47e8d4a94b0 | 1ea35aa8adc3131f178d873800c1c818343b9dec | /src/R/ROMOPOmics/man/interpret_class.Rd | 2d13c8066c90d14a18cbc6a783e1da86002b0a61 | [
"MIT"
] | permissive | NCBI-Codeathons/OMOPOmics | 9afa7abd4f59baa48248b73a823d5e50d0197663 | c6f0293f99189cc682d04aef9f40e43a8878ca8b | refs/heads/master | 2020-12-06T04:54:42.723704 | 2020-06-04T16:45:14 | 2020-06-04T16:45:14 | 232,348,286 | 7 | 1 | null | null | null | null | UTF-8 | R | false | true | 425 | rd | interpret_class.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/interpret_class.R
\name{interpret_class}
\alias{interpret_class}
\title{interpret_class}
\usage{
interpret_class(omop_def = "VARCHAR(50)")
}
\description{
Given a character string from the default OMOP "type" column, convert that
to the tidyv... |
55968631d0eeecaade3bb574587c59f17228b5b0 | 3377c392d6e880326aff3868ff31f14cc2a2e4d4 | /scripts/Q27.R | 3f81c5e7f135b477f989ed64ca4133bd450f1421 | [] | no_license | ryanpeek/TAB_teaching_survey | fae379e9ed767c0d964297f28001b60774550810 | f40b49a4cde2faa22025c723c49f04f69e9fd47f | refs/heads/master | 2020-12-30T10:37:20.962347 | 2017-08-01T18:37:42 | 2017-08-01T18:37:42 | 98,850,261 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,695 | r | Q27.R | # Make plots for Survey: Q27
library(tidyverse)
library(viridis)
# GET DATA ----------------------------------------------------------------
df <- read_csv("data/Q27.csv")
# WRANGLE -----------------------------------------------------------------
# select just the cols of interest:
df <- select(df, Class, Categ... |
11f51b84605037963dd74ca0a236232bf2b55e40 | 24f3dc2147a6b159b7cc85baef02ed382f86a40f | /Code/Variance.txt | 1f8c620223bc0406e94cbdce50b3d51deca12db2 | [] | no_license | jsuhas89/Diagnosis-of-breast-cancer-data | e805295766f9c3f61e00711c244e8ec0bfdd68de | dc8ced64b2bf7ea2a15a9a1fae4a96f0313f3f92 | refs/heads/master | 2020-09-28T07:42:29.962515 | 2016-08-26T20:38:47 | 2016-08-26T20:38:47 | 66,677,946 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 298 | txt | Variance.txt | data_file<-na.omit(read.csv("meddata_na.csv"))
data_c<-data_file[!duplicated(data_file),]
data<-data.frame(data_c)[2:10]
data_1<-data[,1]
variance = function(list){
sum<-0
for(i in 1:length(list)){
sum<-sum+sum((list[i]-mean(list))^2)/(length(list)-1)
}
return(sum)
}
variance(data_1) |
4f8068323fed4c36cf92c6a4847f3f2946f139c6 | 332d74cd9e9af2a9d5defe47873ebdcbd129f192 | /Part4/Chapter9/ETL_World.R | 6ae2573d3ec0c521adb32d40f6b0cb2894c835fe | [] | no_license | CovidLP/Book | e4941ea65ac2b843f2e2d8fb716eb39775084523 | 6975e307437ca60279157d8294782d4a73f59039 | refs/heads/main | 2023-08-03T14:03:53.774631 | 2021-10-08T18:51:07 | 2021-10-08T18:51:07 | 322,619,037 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 3,314 | r | ETL_World.R | #########################################################
## Preparing World data
#########################################################
library(dplyr)
library(tidyr)
country_name <- "US"
#########################################################
#### Listing 9.1 ####
################################################... |
8420c17bf716e47d8bc0cb5151ff3dece7b2aa7d | 4bf5cace5489484f984b9c2abf7218cdf55b4caa | /server.R | c6fa3e71378e42b53ac3fc09e0d701734a377a05 | [] | no_license | 22chm3/CovidDashboard | bfd190ab3d66d49207bcae3a7291897ff7d42548 | c87ecca04bfc6e95d6a15c96584c16e2ed272970 | refs/heads/main | 2023-01-15T19:40:04.640325 | 2020-11-30T16:06:02 | 2020-11-30T16:06:02 | 317,274,841 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,253 | r | server.R | library(shiny)
library(shinydashboard)
library(DT)
library(readr)
# Test comment for commit
shinyServer(function(input, output, session) {
df <- reactiveFileReader(
intervalMillis = 36000000, # Update every 10 hours
session = session,
filePath = "https://covidtracking.com/data/downloa... |
77d7581993c384b3f7d6c75d375bdf0b10395ce8 | 269c1c787a4c1796acb0820eefa0de6bdfad3072 | /R/polynomial_gcd.R | 97eb25e5abee385bd0bc164b86d2024511b1e97d | [] | no_license | kelvinyangli/crypto | dc766d7f0dba3611148d5e63f5753eef617f6c57 | 51fc103f301904eca7885beb215f8d58b392a2a4 | refs/heads/master | 2023-01-02T05:20:36.836360 | 2020-10-16T10:12:40 | 2020-10-16T10:12:40 | 296,191,738 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,480 | r | polynomial_gcd.R | #
#' Greatest common divisor between polynomials
#'
#' This function uses the Euclidean algorithm to find the gcd of two polynomials.
#' Since we are always interested in integer coefficient polynomials,
#' we require coefficients to be taken from Z/pZ. Ideally, p is prime.
#' @param a A vector of polynomial coefficien... |
1a90ff5a6b3b922914a897280ce2ea3d769993c3 | b513e438cf48c3b2d1e603df9967aa06eba72263 | /man/insert_constraints.Rd | bb98dd62980bf96a643af95b3acc3279e8cc43ec | [] | no_license | cran/PortfolioAnalytics | da65651aacaff23b8b8e9e4d588ce9ed6fdcebf3 | 0a32da92a5caae29e26b2ecbc8107c66ad64dcf7 | refs/heads/master | 2023-05-25T06:40:44.201460 | 2018-05-17T21:48:29 | 2018-05-17T21:48:29 | 34,196,423 | 5 | 19 | null | 2023-05-25T18:30:23 | 2015-04-19T06:43:58 | R | UTF-8 | R | false | true | 579 | rd | insert_constraints.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/constraints.R
\name{insert_constraints}
\alias{insert_constraints}
\title{Insert a list of constraints into the constraints slot of a portfolio object}
\usage{
insert_constraints(portfolio, constraints)
}
\arguments{
\item{portfolio}{object o... |
fbb8a785cbf49ab9625f44da56de13765e537952 | cbb9e94ce4d0b6ff444be6129560b5b4d0133d0a | /man/read_table.Rd | 84d31f4250aa9b359190b5393e61a461f80943a2 | [] | no_license | pedmiston/totems-data | de39b8a38d9aefcee8ef34868323d5cf054814eb | 5ed46fe78cefafcead59297508a2631e9ea0d27b | refs/heads/master | 2021-07-16T03:17:06.326910 | 2019-02-05T19:53:05 | 2019-02-05T19:53:05 | 104,396,767 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 256 | rd | read_table.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/db-tables.R
\name{read_table}
\alias{read_table}
\title{Read a local copy of a database table.}
\usage{
read_table(name)
}
\description{
Read a local copy of a database table.
}
|
b5a9a8f1ff481bdd25329d8f5a6073c4ff5a5160 | 6228ae26948ddbecebb203685df956299c02c2d7 | /data-raw/default_sim_seed_42_new.R | ac3b30fd4fbe379309f9d316547ed92dcb7ea8e9 | [] | no_license | andrew-edwards/EDMsimulate | 84926032224a758ef20c6ca20f303f26f6d74826 | 12f687efbe6ffc8fec199fff7b0bf1d0d0175c00 | refs/heads/main | 2023-09-01T07:56:57.848614 | 2023-08-18T23:57:10 | 2023-08-18T23:57:10 | 197,284,003 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,408 | r | default_sim_seed_42_new.R | # Old default inputs (as used for earlier default_sim_seed_42), with new betas
# proportionately scaled, and R_t_init and extirp scaled also.
# Also fitting it manually here to then test sim_and_fit() and sim_and_fit_realisations()
# These ended up not working due to different defaults, but now we've updated
# defau... |
cd418c973f8b6d0d4f3fcbe6b2252983496728c2 | 6a48e67720f48380c37a7c8cae41a6e2bcc56636 | /grade.R | 12a496a5a5805f85bbd4275f95c49755327278e5 | [] | no_license | SHIVAMBASIA/R-Lab-Tasks | 299778de7c90263cd8095bb8629d363ad87b7b29 | 3129da1d257b15c83b3e7634c24362b1a8cabdbf | refs/heads/master | 2020-08-05T06:16:24.228635 | 2019-10-02T19:46:28 | 2019-10-02T19:46:28 | 212,426,957 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 518 | r | grade.R | x=readline("enter marks in 1st subject")
x=as.integer(x)
y=readline("enter marks in 2nd subject")
y=as.integer(y)
z=readline("enter marks in 3rd subject")
z=as.integer(z)
total=x+y+z
p=total/3
if(p>=90)
{
print("O grade")
}else if(p<90 && p>=80)
{
print("E grade")
}else if(p<80 && p>=70)
{
p... |
73086709068d60e84c03f2f5e0d12a7b754f4b78 | fa1218bd0d9de845695f85c260140545a335a3dc | /man/exasol-package.Rd | d6b6a53a0dba55bfcb3a77873be7185cae5f2820 | [] | no_license | fxcebx/r-exasol | 421df98fae236b4ade1c3659e785931bc86a1256 | c25b40d413349e6e737912288f63ccb5996f00e7 | refs/heads/master | 2021-01-18T03:26:24.842337 | 2015-12-21T14:41:11 | 2015-12-21T14:41:11 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,321 | rd | exasol-package.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/exasol.R
\docType{package}
\name{exasol-package}
\alias{exasol}
\alias{exasol-package}
\title{EXASolution R Package}
\description{
The EXASolution R Package offers functionality to interact with
the EXASolution database out of R programs. I... |
f376f6e25dcc7618ee0159c9ca1fb052f64bc30f | 035d9d5d24bc0dde604b403410a4995250bac67e | /man/num_symm_settings.Rd | 43e2f10b172c67c155c83642279808adb231df6b | [] | no_license | jfoadi/cry | cd756b3e1a37a2da55ac34559943b28938e9f3dd | ed4947d49ee0e00fb6a8b84384c733990fc716f5 | refs/heads/master | 2022-11-11T20:51:49.458624 | 2022-10-11T15:29:57 | 2022-10-11T15:29:57 | 67,232,201 | 0 | 1 | null | null | null | null | UTF-8 | R | false | true | 1,093 | rd | num_symm_settings.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/symmetry.R
\name{num_symm_settings}
\alias{num_symm_settings}
\title{Number of space group settings}
\usage{
num_symm_settings(SG = NULL)
}
\arguments{
\item{SG}{A character string or a number indicating the space group.}
}
\value{
nsett The ... |
aa2af5ee765c5929e28ac35737c44cf21000e3d4 | 6e9eb1a6eee8b578b6d8a530eadef32ccdb4ef4a | /content/script/VPop/zzz.R | 8dd0b0d2eab02323292c7967ba866135d189fba6 | [] | no_license | metrumresearchgroup/ub-cdse-2019 | 72fcbd1544b79b7ed78de5bc00244b8728a9c331 | 018859a3aebbb1d114a39f2684ef501080e68b99 | refs/heads/master | 2020-05-07T09:55:00.952992 | 2019-04-18T22:06:00 | 2019-04-18T22:06:00 | 180,396,320 | 6 | 2 | null | null | null | null | UTF-8 | R | false | false | 185 | r | zzz.R | .onLoad <- function(libname=find.package("VPop"),pkgname="VPop"){
utils::globalVariables(c("time","job","ID","iterator_unique","Time","Name","Lower","Upper","mdl_output","pp_Params"))
} |
04483cdb631d35604e4910acd2f5d66dab08bce9 | 7d5d8492c2d88b88bdc57e3c32db038a7e7e7924 | /monthly-interpolation-tps/00_IDEAM_read_agg_qc.R | 7e2f8e83929960327d4bcb0d4167c2bc3b19e488 | [] | no_license | CIAT-DAPA/dapa-climate-change | 80ab6318d660a010efcd4ad942664c57431c8cce | 2480332e9d61a862fe5aeacf6f82ef0a1febe8d4 | refs/heads/master | 2023-08-17T04:14:49.626909 | 2023-08-15T00:39:58 | 2023-08-15T00:39:58 | 39,960,256 | 15 | 17 | null | null | null | null | UTF-8 | R | false | false | 12,583 | r | 00_IDEAM_read_agg_qc.R | ##########################################################################################
## Purpose: Merge daily IDEAM weather stations in a single csv file and convert to Monthly
## Author: Lizeth Llanos l.llanos@cgiar.org
## Modified by : Carlos Navarro c.e.navarro@cgiar.org
########################################... |
b6ac67281eba1bd532326fe9569fb13a0a560e93 | dc300fb0c2bf7ca9b9f2633c5b3ccd3ddf46b0bb | /man/subsetInteractionsByRegion.Rd | c5fd072655f4c8186a69e025ebc8408222b6dad0 | [] | no_license | luslab/blutwuRst | b04f62b15620b33a905f430d8d8a7ed94c056cfe | f7193d47c22b617a3836c351a391a1606cf335ee | refs/heads/master | 2020-04-04T20:26:52.354470 | 2018-11-05T16:46:07 | 2018-11-05T16:46:07 | 156,246,979 | 1 | 0 | null | null | null | null | UTF-8 | R | false | true | 440 | rd | subsetInteractionsByRegion.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/interactions.R
\name{subsetInteractionsByRegion}
\alias{subsetInteractionsByRegion}
\title{Subsets interactions by a given regions
(--> get interactions within region)}
\usage{
subsetInteractionsByRegion(interactions, region)
}
\arguments{
\i... |
f43bd43904d24b25d2129409c6941fd476cad76f | e637c05e5d02b87c851d84208e1a05abc46aea1a | /R/tools_jamovi_plots.R | ed6de8454e60de542e80b878f5b529ab9a529978 | [] | no_license | rcalinjageman/esci | b8264d17949288bfeaf350db3ad89c4e22418ad3 | 8a524f6686b5657607e83f517af707f40059403c | refs/heads/master | 2023-08-31T11:09:15.138230 | 2023-08-15T14:01:19 | 2023-08-15T14:01:19 | 189,093,735 | 15 | 8 | null | 2023-08-28T16:48:32 | 2019-05-28T19:52:48 | R | UTF-8 | R | false | false | 30,256 | r | tools_jamovi_plots.R | jamovi_plot_mdiff <- function(
self,
estimate,
image,
ggtheme,
theme
) {
effect_size <- "mean"
from_raw <- (self$options$switch == "from_raw")
plot_median <- FALSE
if (from_raw) {
try(plot_median <- (self$options$effect_size == "median_difference"), silent = TRUE)
}
if (from_raw & plot_median... |
a10cb5d78a554f1aa7f50ce3f987b120362f615b | 473f89531bd50303c720cd99463c65b5f08e58af | /Documents/r-scripts/cleaning.R | 9a403bedce1fb710ebe9aeff7d34ac7eec166221 | [] | no_license | AleksandarDjordjevic/big-data-classifier | a687586efa0204b1b0a9f11bfb761a6e2f4fd195 | 69190434fec6a4588c629b9a9ac11856cd20a9a5 | refs/heads/master | 2020-03-30T22:54:04.305767 | 2018-10-07T23:17:42 | 2018-10-07T23:17:42 | 151,682,365 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,650 | r | cleaning.R | library(anchors)
library(zoo)
library(dplyr)
library(Hmisc)
library(plyr)
library(BBmisc)
library(e1071)
library(SparseM)
loadData <- function(fileName)
{
data <- read.table(fileName, header = FALSE, sep = " ")
data_filtered <- data[!(data$V2=="0"),]
# colnames(data_filtered) <- c("timeStamp","activityID","he... |
aea87146bf037308ee4c8ca0ef784bb123ffd51f | 92f89b4c32907ec471216e73c8424912bbba6b65 | /run_analysis.R | 0e8c9bcf1a8edb52efcccd2a3272ae3b61d770a5 | [] | no_license | brlang77/GettingandCleaningData | b9629fbbb767a8a751a0b772cef32093ff9b1977 | c30f793e46d1dc5461fed0429d5c08024136a1aa | refs/heads/master | 2021-01-19T05:13:36.476690 | 2017-04-14T11:32:25 | 2017-04-14T11:32:25 | 87,420,306 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,802 | r | run_analysis.R | ## Coursera Getting and Cleaning Data Week 4 Assignment
## April 14, 2017
## Author: github brlang77
##Download Fitness Tracker Data
url<-"https://d396qusza40orc.cloudfront.net/getdata%2Fprojectfiles%2FUCI%20HAR%20Dataset.zip"
setwd("~/Coursera/Getting and Reading Data")
download.file(url,"week4.zip")
dat... |
06efbee69e2b8d56666c7531036351c5c4baf989 | 1d19af7e2088f3570693981cb19001dd2e4f33f5 | /tests/testthat/api.twitter.com/2/users/873197744566960128/liked_tweets-bb46f0.R | ccec3916d3c569553524c705e92a631cb2a88b95 | [
"MIT"
] | permissive | cjbarrie/academictwitteR | 1fa1852458795f175e65ced8d119e8c8198c2e3e | 9b573fe799c56353362dddc94de442852da67266 | refs/heads/master | 2023-07-07T03:57:55.082369 | 2023-06-30T07:51:40 | 2023-06-30T07:51:40 | 340,095,903 | 228 | 57 | NOASSERTION | 2023-02-14T12:23:45 | 2021-02-18T15:38:58 | R | UTF-8 | R | false | false | 3,267 | r | liked_tweets-bb46f0.R | structure(list(url = "https://api.twitter.com/2/users/873197744566960128/liked_tweets?max_results=100&tweet.fields=attachments%2Cauthor_id%2Ccontext_annotations%2Cconversation_id%2Ccreated_at%2Centities%2Cgeo%2Cid%2Cin_reply_to_user_id%2Clang%2Cpublic_metrics%2Cpossibly_sensitive%2Creferenced_tweets%2Csource%2Ctext%2Cw... |
5ef01cac96f76be11b8334110a54cf0173e7a8c6 | 100c4f374e3c27a9ad811a63dd73f0ef197112de | /plot1.R | 0e11df0f082790ef4372498634e8dd488c555963 | [] | no_license | gmadding/ExData_Plotting1 | f13b892fb2b13bbfca2bb807514a999f78481c89 | 9adedb52c9e8a2c03b3ad0e07dfc70dcb47585f6 | refs/heads/master | 2021-01-17T12:29:45.559493 | 2017-06-26T03:52:53 | 2017-06-26T03:52:53 | 95,399,620 | 0 | 0 | null | 2017-06-26T02:15:31 | 2017-06-26T02:15:31 | null | UTF-8 | R | false | false | 531 | r | plot1.R | # plot1.R
# Execute in directory that contains household_power_consumption.txt
library(data.table)
epc_all <- fread('household_power_consumption.txt')
epc<-subset(epc_all,Date=='1/2/2007' | Date=='2/2/2007')
epc[epc=="?"] <- NA
gap <- as.numeric(epc$Global_active_power)
gap <- gap[!is.na(gap)]
png(file='p... |
0efb9bd03b0aa340dc4204fd0540f2b364e58613 | 2e661bab58e5d83fb7a54fd97a6d180e1a30a3f1 | /man/summary.inspect.Rd | 3f9ad8b5cfa5beb667e60e572b847586c7809f97 | [] | no_license | cran/InspectChangepoint | cb63f7dc5168cd2fbf2e86ca8c55162e50c4489c | 789b6a84eb1fc9e06dc97ee7e5ed0085e173229d | refs/heads/master | 2022-05-19T19:31:46.071576 | 2022-05-03T06:00:31 | 2022-05-03T06:00:31 | 61,978,349 | 1 | 1 | null | null | null | null | UTF-8 | R | false | true | 453 | rd | summary.inspect.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/inspect.R
\name{summary.inspect}
\alias{summary.inspect}
\title{Summary function for 'inspect' class objects}
\usage{
\method{summary}{inspect}(object, ...)
}
\arguments{
\item{object}{an 'inspect' class object}
\item{...}{other arguments to... |
734279fd0fc2cd483d39cc4495d950142d385280 | 8dbef148bca9b9a5e16e0c2f284a2d0e5065c0d3 | /man/get_modification_index.Rd | 620e38c74300a1d58b9fc01727111b1a9e4dedfc | [] | no_license | mstong91/PhosMap | 33c2b65b98631df3eb77cc46c7b759cb9cf2e4d8 | 9aca554a622b40e2880576ac0cb113ba7022b5e8 | refs/heads/master | 2020-05-20T05:44:00.731045 | 2019-05-10T08:03:24 | 2019-05-10T08:03:24 | 185,413,797 | 0 | 0 | null | 2019-05-07T14:01:45 | 2019-05-07T14:01:45 | null | UTF-8 | R | false | true | 609 | rd | get_modification_index.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/get_modification_index.R
\name{get_modification_index}
\alias{get_modification_index}
\title{Get index of modifications in protein sequence.}
\usage{
get_modification_index(id_data_only_peptide2gi, fasta_data)
}
\arguments{
\item{id_data_only... |
3b02a58e99b9b09cdb02a6d15ad135f873159334 | 23701c254ab8aa3b408f91b52ac003a0657c05af | /vignettes/sample_size_calc.R | 49e51af227dc90fecaad41ae26e5c6adbf1f0073 | [] | no_license | lejon/SampleSizeCalc | 671aca5e783fbf0a6adbec0d9d4dea93fb381410 | b447af28fa8c0e9e577d636a19165ad289e4a22e | refs/heads/master | 2020-07-02T23:58:13.495551 | 2016-11-19T18:02:00 | 2016-11-19T18:02:00 | 74,212,002 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 411 | r | sample_size_calc.R | ## ------------------------------------------------------------------------
library(SampleSizeCalc)
sample_size_logistic_regression(20,0.2)
## ------------------------------------------------------------------------
sample_size_multiple_regression(20,r2=0.1304348,power=.8,alpha=0.05)
## ------------------------------... |
2b6676f84ce038292a35e373155e1109cfecb1c0 | 4201e9b754760dc35fc0aeef9df5a8b9d801c47f | /bin/R-3.5.1/src/library/base/man/Constants.Rd | a4e2954cb191beb12f8e067a36260149aa86db1c | [
"MIT",
"LicenseRef-scancode-unknown-license-reference",
"GPL-2.0-only",
"GPL-1.0-or-later",
"GPL-2.0-or-later",
"LGPL-2.1-only",
"LGPL-3.0-only",
"GPL-3.0-only"
] | permissive | lifebit-ai/exomedepth | cbe59cb7fcf2f9183d187f8d466c6620fb1a0c2e | 5a775ae5e2a247aeadc5208a34e8717c7855d080 | refs/heads/master | 2020-03-27T12:55:56.400581 | 2018-10-11T10:00:07 | 2018-10-11T10:00:07 | 146,578,924 | 0 | 0 | MIT | 2018-08-29T09:43:52 | 2018-08-29T09:43:51 | null | UTF-8 | R | false | false | 1,716 | rd | Constants.Rd | % File src/library/base/man/Constants.Rd
% Part of the R package, https://www.R-project.org
% Copyright 1995-2011 R Core Team
% Distributed under GPL 2 or later
\name{Constants}
\alias{Constants}
\alias{LETTERS}
\alias{letters}
\alias{month.abb}
\alias{month.name}
\alias{pi}
\title{Built-in Constants}
\description{
... |
bc27f383f2d013aba6d763928e6d97c201c5c822 | 7329b83ce54552f6ce47cdfde9ee23902b93f21f | /work.R | b6ee4c4cd241ba6dbd6ff172c48da2ff30749d20 | [] | no_license | tanveeransari/RepData_PeerAssessment2 | 06acab22ac32c42f39b4ee3c49d9541ba169bb73 | 156bb7d2c12b190a93c0bef3893a365baa121708 | refs/heads/master | 2020-05-17T12:39:25.996930 | 2015-04-28T00:27:13 | 2015-04-28T00:27:13 | 34,416,593 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,881 | r | work.R | # NOTE : Events in database start in 1950 end in November 2011.
# In earlier years generally fewer events recorded, due to a lack of good records.
# More recent years should be considered more complete.
require(knitr);
#require(data.table); require(plyr);require(tidyr);
require(dplyr);require(ggplot2);require(reshape... |
687dc35231295399b267b036b6d2a2a594692dbc | 1af7c5ac10271caca700e1c08bedbf7d0a654ecb | /cs.boilingline.R | 49118abd94ea2a5012e38da0e96f4ceb7838c959 | [] | no_license | seihan/vlecalc | 2548e84e1c959fb7c316fa4acecefc9353119997 | 53f1b6251733f77b16a5fe0ef4ca2a263e3f68ab | refs/heads/master | 2021-06-08T07:10:56.052893 | 2019-04-25T08:47:28 | 2019-04-25T08:47:28 | 57,040,317 | 3 | 1 | null | null | null | null | UTF-8 | R | false | false | 11,360 | r | cs.boilingline.R | cs.boilingline = function(substances=NULL,
fractions=NULL,
pressure=NULL,
verbose=F){
source('Substance.R');
source('Antoine.P.R');
source('Antoine.T.R');
source('UNIFAC.R');
source('UNIFAC.gen.R');
source('SRK.R');
Percent = fu... |
01c2255f58588db11313a0e8811345b14bdc81a3 | d42a9e99e81224448be6b9456629682e2f6c373a | /man/runTestCase.Rd | 070d62c25f3034905a8b46f6da2ec8b9708c3c80 | [] | no_license | cran/wyz.code.offensiveProgramming | dd2bc1d93d1d5103b13b24cd0712160a324310e2 | 9246d096ee772c473f29e6681e2a6a6161363706 | refs/heads/master | 2021-10-10T13:17:49.362311 | 2021-10-05T20:40:02 | 2021-10-05T20:40:02 | 197,588,248 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,409 | rd | runTestCase.Rd | \name{runTestCase}
\alias{runTestCase}
\title{ Run test cases }
\description{ Run specified test cases under the given evaluation mode }
\usage{
runTestCase(object_o_1, testCaseIndexes_i, evaluationMode_o_1 = EvaluationMode())
}
\arguments{
\item{object_o_1}{The \R \emph{\code{object}} to consider}
\item{testCaseIn... |
10d0a76267cfda1022bcbbef78a560afb8e3f0b3 | 08bdc85a5d503dcf705a83f005f9e1e288a902bb | /cachematrix.R | 135a719672659163cafe5faf874a57e7c74ed5ee | [] | no_license | lanthano-es/ProgrammingAssignment2 | 68a1910189160bb7a37601b9c577f08e6f0b1d13 | 898ebb7408f3086e2d2245cda0140daac1c21b4b | refs/heads/master | 2020-11-30T16:19:50.767657 | 2015-02-26T22:10:53 | 2015-02-26T22:10:53 | 31,022,835 | 0 | 0 | null | 2015-02-19T15:54:51 | 2015-02-19T15:54:50 | null | UTF-8 | R | false | false | 2,853 | r | cachematrix.R | ## R Programming COURSE. Programming Assignment 2:
## By fgonzalezalonso@outlook.es - lanthano
## COURSE NUMBER: rprog-011
## IMPORTANT NOTE: I'm not a native English speaker, so excuse me for the mistakes I will commit.
## Please be polite.
## FUNCTION makeCacheMatrix DESCRIPTION:
## It create the cache matrix object ... |
7e1e717015c209547fd76eb2987aa9c818fc03c2 | 29d34e3302b71d41d77af715727e963aea119392 | /R/mplot3.xy.R | d141f20220908746951e55149d255d385e9cbdda | [] | no_license | bakaibaiazbekov/rtemis | 1f5721990d31ec5000b38354cb7768bd625e185f | a0c47e5f7fed297af5ad20ae821274b328696e5e | refs/heads/master | 2020-05-14T20:21:40.137680 | 2019-04-17T15:42:33 | 2019-04-17T15:42:33 | 181,943,092 | 1 | 0 | null | 2019-04-17T18:00:09 | 2019-04-17T18:00:09 | null | UTF-8 | R | false | false | 43,717 | r | mplot3.xy.R | # mplot3.xy.R
# ::rtemis::
# 2016-2018 Efstathios D. Gennatas egenn.github.io
# inv mplot3.xy(c(NULL, NULL, 3:10), 1:10)
#' \code{mplot3}: XY Scatter and line plots
#'
#' Plot points and lines with optional fits and standard error bands
#'
#' This is relatively old code and may need a little cleaning up
#'
#' @param ... |
595ed3ecdfbbe30c0f338a69fa5ace050d7b7dfe | 6d05c440087ee499708b5c2a76d97384c24a7204 | /ProteinComplexes/complexanalysis.R | b4e7a707714cd8c63e8daaf2a87a9611c488f989 | [] | no_license | r-scott-m/Barseq_tools | 774b0e4d4f08a0b7e792bcb2355b91566af497b3 | 71c4c1decfea5e77e417b202ad37bd4d9757eebf | refs/heads/master | 2020-04-10T02:44:23.272251 | 2019-01-04T01:30:35 | 2019-01-04T01:30:35 | 160,751,355 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,442 | r | complexanalysis.R |
setwd("/Volumes/GoogleDrive/My Drive/Projects/BARSeq/ProteinComplexAnalysis/")
#libraries
library('org.Sc.sgd.db')
xx= as.list(org.Sc.sgdCOMMON2ORF)
yy = sapply(xx, function(x){x[1]})
common=names(xx)
orf = as.vector(yy)
names(common)=orf
library(devtools)
library(Biobase)
library(preprocessCore)
datagrab <- funct... |
3d0752692e37b53a93af7e9191faef9539677c25 | 7a51f61ed40943c0552d610aa1760794ddb9ce93 | /man/xbrlus-package.Rd | 1520b8b62ad58e3c3df34914211999bb2e7c1924 | [] | no_license | deszie/xbrlus | f3b2c5ff1131ab22809c39937e5e77167021b674 | 1124175c4891d8675d5081d4e367234f0307ef20 | refs/heads/master | 2020-04-05T07:31:01.164512 | 2018-02-22T09:33:07 | 2018-02-22T09:33:07 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 931 | rd | xbrlus-package.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/xbrlus.R
\docType{package}
\name{xbrlus-package}
\alias{xbrlus}
\alias{xbrlus-package}
\title{xbrlus: Interface to XBRL US API}
\description{
This package provides an interface to XBRL US API.
}
\details{
All APIs (except for the CIKLookup) r... |
dbf7ee0ca9d2016f90ee0b751b9d3d7d3eceb812 | 2f871dea9d7dadd44e81da730110f0e4bcfada3a | /POMEXE/app.R | ddc8449c826ab51e3011cc90ea3c5548cee7ea84 | [] | no_license | offmarketeu/POM17 | 13ce0a657ed0c36f9aea850a4263bbde83de25fd | f6c0e46db9186e27f4f67c694028cd8dea73ff3d | refs/heads/master | 2020-05-19T13:31:49.167225 | 2019-05-05T16:13:45 | 2019-05-05T16:13:45 | 185,042,454 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,561 | r | app.R | ######################################################################
# Profit Test OffMarket
#
######################################################################
library(shiny)
# Define UI for application that draws a histogram
ui <- fluidPage(
# Application title
titlePanel("PROFIT TESTI... |
aec90d01cf29f6720bf14d76996b61750ab2e2ac | 2d34708b03cdf802018f17d0ba150df6772b6897 | /googlecloudresourcemanagerv1.auto/man/cloudresourcemanager_googleAuthR.Rd | bf475fbfa2b2ccc2eefde58cfeb507cf92417cbe | [
"MIT"
] | permissive | GVersteeg/autoGoogleAPI | 8b3dda19fae2f012e11b3a18a330a4d0da474921 | f4850822230ef2f5552c9a5f42e397d9ae027a18 | refs/heads/master | 2020-09-28T20:20:58.023495 | 2017-03-05T19:50:39 | 2017-03-05T19:50:39 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 814 | rd | cloudresourcemanager_googleAuthR.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/cloudresourcemanager_functions.R
\docType{package}
\name{cloudresourcemanager_googleAuthR}
\alias{cloudresourcemanager_googleAuthR}
\alias{cloudresourcemanager_googleAuthR-package}
\title{Google Cloud Resource Manager API
The Google Cloud Res... |
d962901b238a400e3aed2b6152a36d1bcb340c4c | ba305522e37ec78aafff091156ff9552f392cd34 | /Projects/Coursera/Exploratory_Data_Analysis/project1/plot1.R | 1267916f5843f14d87e1f9abdbb7ad90c9209b7d | [] | no_license | 808sAndBR/808sandbr.github.io | 564e62650c9e361fbe3934909f595a3ee0bbf305 | 7663f53fb846a1d69273df76cac65c6deb959114 | refs/heads/master | 2020-04-06T06:58:34.218822 | 2016-08-06T18:40:00 | 2016-08-06T18:40:00 | 28,772,440 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 583 | r | plot1.R | # Read in all data
alldata <- read.table("household_power_consumption.txt", header=TRUE,sep=";")
# Subset the days we need and combine their data
subdata1 <- subset(alldata, Date == "1/2/2007")
subdata2 <- subset(alldata, Date == "2/2/2007")
subdata <-rbind( subdata1,subdata2)
# Launch png as graphics device
png(file... |
3ca819e8cd3b735e1d39f7f0c114c2a9a6c926ae | 1cf0c2283b41d4fdd18d6f2973b4867138b4d9ad | /sample_app_2/app_runner.R | bfa9b61f40ea6d7f52487a25907e17c310d310cd | [] | no_license | minhsphuc12/mastering_shiny_code | 94e86d8551f2db512075478a5ca3f550fc687590 | f6185e6454ce62ba23cbaa92bd7afff2083dded8 | refs/heads/master | 2020-12-27T23:14:02.569202 | 2020-02-10T17:16:55 | 2020-02-10T17:16:55 | 238,100,539 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 116 | r | app_runner.R | setwd('C:/Users/phucn/Documents/git/mastering_shiny/sample_app_2')
options(shiny.autoreload = TRUE)
shiny::runApp()
|
4e7270eea806626ecc931ba8596d2ccd8f536628 | e32fd900bc49b3d035ff01a825d82aeb8ad711d9 | /gwloggeR/man/dft.Rd | 4110dba5497fa888b22789eefec5bc9f932ec1bd | [
"MIT"
] | permissive | DOV-Vlaanderen/groundwater-logger-validation | 4ddf4d5d7d6648821e9e3b2f57a558efd7427d6f | 1cda4c20fd3364ec2de238dd0e632afe1c5d427c | refs/heads/master | 2023-08-28T07:40:11.217852 | 2022-04-10T11:01:12 | 2022-04-10T11:06:40 | 186,999,338 | 2 | 2 | MIT | 2020-11-12T20:47:34 | 2019-05-16T09:46:01 | HTML | UTF-8 | R | false | true | 514 | rd | dft.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/fourier.R
\name{dft}
\alias{dft}
\title{Deiscrete Fourier Transform}
\usage{
dft(h, x)
}
\arguments{
\item{h}{integer from 0 to N-1.}
\item{x}{a vector of values.}
}
\description{
This is similar to DTFT, but here the frequency is an integer... |
92916e8ffcccbfd97a62c82070f19c9f0aa5daf3 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/CDM/examples/skillspace.hierarchy.Rd.R | 168fc8d8a84aab171084e92fb16b45044a8c1699 | [] | no_license | surayaaramli/typeRrh | d257ac8905c49123f4ccd4e377ee3dfc84d1636c | 66e6996f31961bc8b9aafe1a6a6098327b66bf71 | refs/heads/master | 2023-05-05T04:05:31.617869 | 2019-04-25T22:10:06 | 2019-04-25T22:10:06 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,402 | r | skillspace.hierarchy.Rd.R | library(CDM)
### Name: skillspace.hierarchy
### Title: Creation of a Hierarchical Skill Space
### Aliases: skillspace.hierarchy skillspace.full
### Keywords: Skill hierarchy
### ** Examples
#############################################################################
# EXAMPLE 1: Toy example with 3 skills
#########... |
f69906640faf17c3d35c648c8da355583ae5e8ce | 09216ebf882c9d194cc0e7d95e6f28d333a640f9 | /WIZD/FIFA19_Project.R | cc2feebaf77124d0f72324904c5afe9a04deafac | [] | no_license | tyszdom/SGH | d1737005b60c8c6eb6d42098c54150f5d9eca857 | 7627cd3addee981b812c0303389d2f9083000a47 | refs/heads/main | 2023-08-12T10:30:36.014669 | 2021-10-05T06:39:42 | 2021-10-05T06:39:42 | 331,783,197 | 0 | 0 | null | null | null | null | WINDOWS-1252 | R | false | false | 11,632 | r | FIFA19_Project.R | ########## ASSUMPTIONS ##########
### PREPARE RAW DATA
path <- "D:/SGH/Studia Magisterskie/2019zima/Prezentacja i wizualizacja danych/Projekt/FIFA19.csv"
library(scales)
library(ggthemes)
library(plotly)
library(ggplot2)
library(stringr)
library(dplyr)
library(gridExtra)
library(maps)
fifa_data <- re... |
8ff990bf253ed4244505b3074e0878991d38f553 | 19134d574f0deaf46f911a692856eed5429a7b90 | /sgr.R | b17d55fb466066571a20be163cee9c6d5369abd8 | [] | no_license | dsidavis/ScopusUCRecruit | 3efd852a3bdf693e8e1189f2f6464f2295159142 | 345423f47dd260c1117c2a07bc231b8f3b8cd9f6 | refs/heads/master | 2021-01-23T10:36:03.699541 | 2017-06-22T20:02:39 | 2017-06-22T20:02:39 | 93,078,574 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 435 | r | sgr.R | if(FALSE)
d = data.frame(id = c("1234", "5678;10000", "no;yes", "123;456;789"),
idType = c("SGR", "SGR;DOI", "DOI;SGR", "DOI;FOO;BAR"),
stringsAsFactors = FALSE)
getSGR =
function(df)
{
type = strsplit(df$idType, ";")
id = strsplit(df$id, ";")
ans = mapply(function(x, types) {
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.